SV: custom boot isolinux

Jens Falsmar Oechsler joe at bording.dk
Fri May 9 07:48:38 UTC 2008


> -----Oprindelig meddelelse-----
> Fra: kickstart-list-bounces at redhat.com
> [mailto:kickstart-list-bounces at redhat.com] På vegne af
> Alexander Ståhlberg
> Sendt: 8. maj 2008 11:25
> Til: kickstart-list at redhat.com
> Emne: custom boot isolinux
>
> Created a custom boot which I try to mount in vmware, but I
> do get "could not find kernel linux" when I try to boot.
>
> Created iso like this:
> mkisofs -r -T -J -V "Custom RHEL4 Build" -b isolinux.bin -c
> boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o
> custom.iso isolinux/
>
> My syslinux.cfg look like this:
> default linux
> prompt 1
> timeout 600
> display boot.msg
> F1 boot.msg
> F2 options.msg
> F3 general.msg
> F4 param.msg
> F5 rescue.msg
> F7 snake.msg
> label linux
>   kernel vmlinuz
>   append initrd=initrd.img ramdisk_size=9216 label text
>   kernel vmlinuz
>   append initrd=initrd.img text ramdisk_size=9216 label expert
>   kernel vmlinuz
>   append expert initrd=initrd.img ramdisk_size=9216 label vmware
>   kernel vmlinuz
>   append initrd=initrd.img ramdisk_size=9216 linux
> ks=nfs:10.10.11.100:/RHEL4/vmware.cfg
> label lowres
>   kernel vmlinuz
>   append initrd=initrd.img lowres ramdisk_size=9216
>
>
> Contents on the iso file (mount -o loop custom.iso /mnt):
> -rwxr-xr-x   1 root root     292 Nov  8 04:57 boot.msg
> -rwxr-xr-x   1 root root     957 Nov  8 04:57 general.msg
> -rwxr-xr-x   1 root root 4779921 Nov  8 04:57 initrd.img
> -rwxr-xr-x   1 root root    9856 Nov  8 04:57 isolinux.bin
> -r-xr-xr-x   1 root root    8236 Nov  8 04:57 ldlinux.sys
> -rwxr-xr-x   1 root root     730 Nov  8 04:57 options.msg
> -rwxr-xr-x   1 root root     869 Nov  8 04:57 param.msg
> -rwxr-xr-x   1 root root     468 Nov  8 04:57 rescue.msg
> -rwxr-xr-x   1 root root     549 Nov  8 04:57 snake.msg
> -rwxr-xr-x   1 root root    6056 Nov  8 04:57 splash.lss
> -rwxr-xr-x   1 root root     524 Nov  8 04:57 syslinux.cfg
> -rwxr-xr-x   1 root root 1815772 Nov  8 04:57 vmlinuz
>
> Hilfe! :-o
>

Dont know if it helps, but I made a custom cd with this command:
mkisofs -o ../custom.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T ./

Almost same as yours just a level higher up the path.






More information about the Kickstart-list mailing list