TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Geo
from: John Beckett
date: 2006-08-08 10:22:24
subject: Re: Gotcha

From: John Beckett 

"Geo"  wrote in message
news::
> I took your point, it's only slightly different from a removeable hd though.
> All removeable storage devices that have boot capabilities have this
> ability, the only difference here is that the USB device is using a named
> file instead of having to use a boot sector.

The autorun.inf file that I described is not related to booting from a USB
drive. I don't know what a mobo BIOS does when it boots from a USB, but
presumably it is exactly the same process as when it boots from a floppy -
the BIOS would load the first sector and execute code from it if certain
sanity checks are met. Or, maybe it's like a hard drive where first the
BIOS reads the MBR to find the active partition.

The autorun.inf file is handled by our old friend Explorer, not the BIOS.

> Have you ever noticed how an NT4 CD doesn't ask if you want to boot from CD
> but a W2K CD does? That code is in the boot code on the CD.

Yes. There is a "boot image" file on a bootable CD. For a Windows
CD, the file is called "Microsoft Corporation.img" but it's not
in the normal file system - it's 2KB and in a special location for booting.

The img file is loaded and executed by the BIOS if set to boot from CD. The
img file loads and runs files from CD: BOOTFIX.BIN
SETUPLDR.BIN

The BOOTFIX.BIN file contains the text: Press any key to boot from CD.

John

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.