List Info

Thread: custom boot isolinux




custom boot isolinux
user name
2008-05-08 04:25:07
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! 

_______________________________________________
Kickstart-list mailing list
Kickstart-listredhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list


SV: custom boot isolinux
user name
2008-05-09 02:48:38
> -----Oprindelig meddelelse-----
> Fra: kickstart-list-bouncesredhat.com
> [mailto:kickstart-list-bouncesredhat.com] På vegne af
> Alexander Ståhlberg
> Sendt: 8. maj 2008 11:25
> Til: kickstart-listredhat.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! 
>

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.



_______________________________________________
Kickstart-list mailing list
Kickstart-listredhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )