[syslinux] Adding a "boot from local hard disk" option to syslinux menu, booted from USB

bobby digital junksmi at yahoo.com
Sat Oct 20 04:30:08 PDT 2007


Hi Axel, hpa, 

Thanks so much for your responses. 

> The "first" drive -- as seen be your BIOS -- when
booting from
> a USB disk or stick, isn't your laptop's HD but the
USB disk/stick.
> ... otherwise it would have booted from the laptop's
HD.

That is what I also thought - since "chain.c32 hd0 0"
seemed to boot from the USB disk, I asummed I'd find
the C drive at "hd1 0" but it failed, and so did "hd2
0" etc etc. Therefore I modified the chain.c32 code,
so it accepts max drive and partition number and loops
through them all, hoping to reveal an MBR - but I
couldn't see any (partly because the text dissapears
from screen very fast, and I couldn't get a report to
save on disk :) ) 

> It sounds like when your BIOS boots from the USB
disk, it hides the 
> primary hard disk.  This is pretty braindead
behaviour, but I could see
>  
> how it would "make sense" to someone as they
implemented it.  

Wow :) Never heard of this, but does make sense to me
too (the laptop's a Compaq) - thanks .. 

> The problem is, if it doesn't make the proper hard
disk available as
> another drive number, the only way out would be to
invoke the BIOS 
> Boot Specification interfaces, to boot a different
device.
> Right now I don't have code for that.

Thanks for the info.. Maybe you'd have a link where
something like that is discussed? 

Well, any suggestions on how to make this work would
be greatly appreciated.. 

Thanks again
b.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Syslinux mailing list