Hu Jia Yi
2008-Aug-21 06:46 UTC
[syslinux] failed when boot the kernel image on the hard disk from syslinux on a floppy
After formatting a floppy to MSDOS format and using syslinux /dev/fd0, I successfully installed ldlinux.sys to the root directory of the floppy. Then I created a syslinux.cfg under the root directtory of this floppy to load the linux kernel in my first hard disk, 3rd partition, boot folder. The file system of this partition is ext3. The floppy has a FAT file system. This config file is listed below. When I restarted PC and booted from this floppy , it failed with a message "Could not find kernel image: /boot/vmlinuz-2.6.22-14-generic" Did I make a wrong configuration? I am sure the names of linux kernel and initrd are correct. PROMPT 0 TIMEOUT 30 DEFAULT linux LABEL linux SAY Now booting the kernel from SYSLINUX... KERNEL /boot/vmlinuz-2.6.22-14-generic APPEND root=/dev/sda3 initrd=/boot/initrd.img-2.6.22-14-generic Best regards, Hu Jia Yi Ext: 20430 Tel: 65-67510430
Sergii Kolisnyk
2008-Aug-21 10:03 UTC
[syslinux] failed when boot the kernel image on the hard disk from syslinux on a floppy
Hi, SYSLINUX isn't designed to work that way. It can boot kernel only from same filesystem from which it's loaded. You need GRUB or GRUB4DOS for your task. SYSLINUX can be used to chainload GRUB. Best regards, Sergii Kolisnyk 2008/8/21 Hu Jia Yi <jyhu at asmpt.com>:> After formatting a floppy to MSDOS format and using syslinux /dev/fd0, > I successfully installed ldlinux.sys to the root directory of the > floppy. > > Then I created a syslinux.cfg under the root directtory of this floppy > to load the linux kernel in my first hard disk, 3rd partition, boot > folder. The file system > > of this partition is ext3. The floppy has a FAT file system. This config > file is listed below. > > > > When I restarted PC and booted from this floppy , it failed with a > message > > "Could not find kernel image: /boot/vmlinuz-2.6.22-14-generic" > > > > Did I make a wrong configuration? I am sure the names of linux kernel > and initrd are correct. > > > > PROMPT 0 > > TIMEOUT 30 > > DEFAULT linux > > LABEL linux > > SAY Now booting the kernel from SYSLINUX... > > KERNEL /boot/vmlinuz-2.6.22-14-generic > > APPEND root=/dev/sda3 initrd=/boot/initrd.img-2.6.22-14-generic > > > > > > Best regards, > > Hu Jia Yi > > Ext: 20430 > > Tel: 65-67510430 > > > > _______________________________________________ > SYSLINUX mailing list > Submissions to SYSLINUX at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. > >
H. Peter Anvin
2008-Aug-21 16:29 UTC
[syslinux] failed when boot the kernel image on the hard disk from syslinux on a floppy
Hu Jia Yi wrote:> After formatting a floppy to MSDOS format and using syslinux /dev/fd0, > I successfully installed ldlinux.sys to the root directory of the > floppy. > > Then I created a syslinux.cfg under the root directtory of this floppy > to load the linux kernel in my first hard disk, 3rd partition, boot > folder. The file system > > of this partition is ext3. The floppy has a FAT file system. This config > file is listed below. >Oh yes, it might be that the easiest option for you is to use extlinux, and drop the FAT partition, too. -hpa
Maybe Matching Threads
- failed when boot the kernel image on the harddisk from syslinux on a floppy
- GP exception on vmxon
- RE: A question on vmx loader in xen - how and when rombiosis loaded into memory
- Problem: asms folder is needed when setup winxp HVM
- A question on vmx loader in xen - how and when rombios is loaded into memory