I'm creating a custom RHEL 6.4 iso to save myself time while rebuilding standalone hosts.
Before I customize the menus and add the extra kickstart files in I have tried a simple unpack -> repack to make sure the iso image actually works.
All of my builds fail to load the grub menu and just leave me at the prompt instead of loading the grub menu.
boot:
I'm using the following script to dump and recreate the iso
ISOFILE="/home/matt/isobuild/rhel-server-6.4-x86_64-dvd.iso"
STAGEDIR="/home/matt/isobuild/rhel6.4/"
FINALISOFILE="/tmp/autoiso.iso"
TMPMOUNT="/mnt/dvd"
mkdir $TMPMOUNT
mount -o loop,ro $ISOFILE $TMPMOUNT
rsync -av --progress $TMPMOUNT $STAGEDIR
umount $TMPMOUNT
cd $STAGEDIR
chmod a+w isolinux/isolinux.bin
mkisofs -o /tmp/rhel6.4.iso \
-b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-r -T -J -V "RHEL 6.4 Custom Install DVD" .
It leaves me with the iso file /tmp/rhel6.4.iso
as expected, however grub just seems to fail.
Any ideas on why this is, or can you suggest how I can go about debugging it ?
Thanks!
Matt