[syslinux] Bug-report: Booting DOS images from USB

Josef Siemes jsiemes at web.de
Wed Jan 21 11:13:26 PST 2004


Hi,

James Courtier-Dutton <James at superbug.demon.co.uk> schrieb am 21.01.04 19:22:00:
> Dag Wieers wrote:
> > I'm doing a small hobby project writing some tools to put DOS boot images 
> > and Linux rescue images on a USB stick.
> > 
> > For this I have partitioned my USB stick in 2 partitions, one 192MB 
> > partition with a VFAT filesystem (for the normal use) and a second 
> > partition with an ext3 filesystem.
[..]
> When you boot from a USB device, the usb device will look like the first 
> HD on your system BIOS disc 0x80
> With your HD looking like the second disc, 0x81
> As DOS uses the BIOS calls to access the hard disk, it will try using 
> 0x80 as if it was the HD.
> If booting from the USB device, I would assume that you want DOS to 
> treat the USB device as the first HD, so in order to boot properly, you 
> would have to format the USB device as if it was a HD, and not as if it 
> was a floppy disc.

Hmm. Seems that Dag already formatted the USB device as a harddrive, otherwise
he wouldn't be able to see any partitions on it.

What he wants is use memdisk, a 1,44 MB disk image (on one of the partitions
as a file), and boot dos off this floppy image that memdisk provides from a ram
disk. So nothing really complicated, also this should have worked out of the box.

Regards,

Josef
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php




More information about the Syslinux mailing list