mailbox.t
2006-Oct-04 19:13 UTC
[syslinux] Boot image from hard drive from syslinux initiated by a floppy disk boot
I have been trying to find the information by searching through the archives and google, so I am sorry if this question has been asked before I just have not been able to find an answer. I have a syslinux boot floppy which loads to the boot prompt, I wish to load a .gz image which is on my hd0 0 by using memdisk as the kernel. I have tried to kernel memdisk append root=/dev/hd0 0 (also just using /hd0) initrd=mini.gz and kernel memdisk initrd=/dev/hd0 0/mini.gz and a multitude of other things to try to accomplish this. But each time it responds "mini.gz cannot be found. hd0 0 loads fine using chain.c32 from the floppy If anybody could give me any advice I would be most grateful Thank you
Bernd Blaauw
2006-Oct-04 19:32 UTC
[syslinux] Boot image from hard drive from syslinux initiated by a floppy disk boot
mailbox.t schreef:> I have a syslinux boot floppy which loads to the boot prompt, I wish to > load a .gz image which is on my hd0 0 by using memdisk as the kernel. I > have tried to kernel memdisk append root=/dev/hd0 0 (also just using > /hd0) initrd=mini.gz and kernel memdisk initrd=/dev/hd0 0/mini.gz and > a multitude of other things to try to accomplish this. But each time it > responds "mini.gz cannot be found. > hd0 0 loads fine using chain.c32 from the floppy >Syslinux flavours only seem to support a boot image coming from the same bootdevice. Booting from a burned CD with a testing disk-image located on diskette for example could be worthwile, saves you creating a new ISO (or even CD). Something like: kernel isolinux/memdisk append initrd=(fd0)/fdboot.img Bernd
H. Peter Anvin
2006-Oct-04 20:43 UTC
[syslinux] Boot image from hard drive from syslinux initiated by a floppy disk boot
mailbox.t wrote:> I have been trying to find the information by searching through the > archives and google, so I am sorry if this question has been asked > before I just have not been able to find an answer. > I have a syslinux boot floppy which loads to the boot prompt, I wish to > load a .gz image which is on my hd0 0 by using memdisk as the kernel. I > have tried to kernel memdisk append root=/dev/hd0 0 (also just using > /hd0) initrd=mini.gz and kernel memdisk initrd=/dev/hd0 0/mini.gz and > a multitude of other things to try to accomplish this. But each time it > responds "mini.gz cannot be found. > hd0 0 loads fine using chain.c32 from the floppy > If anybody could give me any advice I would be most grateful > Thank youThat is not supported. memdisk doesn't load anything; it just relies on syslinux to load whatever needs to be loaded. syslinux always loads from the medium it was run from. -hpa
H. Peter Anvin
2006-Oct-05 00:50 UTC
[syslinux] Boot image from hard drive from syslinux initiated by a floppy disk boot
Bernd Blaauw wrote:> mailbox.t schreef: >> I have a syslinux boot floppy which loads to the boot prompt, I wish to >> load a .gz image which is on my hd0 0 by using memdisk as the kernel. I >> have tried to kernel memdisk append root=/dev/hd0 0 (also just using >> /hd0) initrd=mini.gz and kernel memdisk initrd=/dev/hd0 0/mini.gz and >> a multitude of other things to try to accomplish this. But each time it >> responds "mini.gz cannot be found. >> hd0 0 loads fine using chain.c32 from the floppy >> > Syslinux flavours only seem to support a boot image coming from the same > bootdevice. > Booting from a burned CD with a testing disk-image located on diskette > for example could be worthwile, > saves you creating a new ISO (or even CD). > > Something like: > kernel isolinux/memdisk > append initrd=(fd0)/fdboot.img >This is for all practical purposes impossible to do within the framework of syslinux; it pretty much means turning syslinux into GRUB with all the problems that entails. This is not going to happen. -hpa