[syslinux] chain.c32 question
Dyks, Axel (XL)
xl at xlsigned.net
Wed Aug 29 01:39:39 PDT 2007
Quoting "H. Peter Anvin" <hpa at zytor.com>:
> Tomas M wrote:
> > I'd like to use chain.c32 to allow the computer boot from HARDDISK if
> > needed.
> >
> > If I use isolinux and boot from CD, the following works OK:
> > chain.c32 hd0
> >
> > But if I boot from USB Flash Key, it sometimes work and sometimes it
> > doesn't and I have to use
> > chain.c32 hd1
> > (it seems BIOS assigns hd0 to the flash key sometimes, so the real
> > harddisk is hd1 in that case).
> >
> > Is there any way to tell chain.c32 to SKIP the device chain.c32 is
> > running from? So it will skip hd0 here and proceed the next harddisk. Or
> > is there any other solution, except the one to create two menu entries
> > in syslinux.cfg with "boot from C: and boot from D:" ?
> >
>
> In the 3.52-preX series you can tell it to chainload by MBR signature
> (bytes 440-443 in the MBR.) However, you might have problems booting
> your other operating system from the second hard disk.
>
> -hpa
grub has a "map" command that allows to swap order of BIOS drives.
Would it be possible to have such a command in syslinux?
Like this ...
SWAPDRIVES
LOCALBOOT 0
Axel
More information about the Syslinux
mailing list