What makes a bootable device bootable

5

2

Possible Duplicate:
What makes bootable media bootable?

As far as I believe, if you 'drag and drop' an ISO image onto a device such as a usb or cd it won't boot as It's just random files, the BIOS doesn't know It's bootable.

What makes a device bootable to the BIOS; how do you flag a device bootable? What files are essential to a bootable device, ie .img files?

Will03uk

Posted 2011-08-04T13:06:11.457

Reputation: 173

Question was closed 2011-08-06T10:36:42.977

1

As far as CD's go, look at the El Torito Standard. Basically, it all works out to a "magic number" that the BIOS reads off of a device which is specifically reserved for bootable devices.

– new123456 – 2011-08-04T13:11:11.403

Answers

6

Actually there are some details involved with the process. To boot-up a device, it must be formated with a partition that begins with a specific code on the first sectors, these partition area are called MBR.

A Master Boot Record (MBR) is the bootsector of a hard disk. That is, it is what the BIOS loads and runs, when it boots a hard disk. The MBR is the very first sector of the hard disk; it contains an MBR Bootstrap program (described below), and a Partition Table. Devices that emulate a hard disk during system initialization must also contain an MBR, because they must also have Partition Tables -- even if they are not bootable. The BIOS will only boot an MBR from a device if that device is in the "boot sequence" stored in CMOS, and if the MBR on the device is formatted correctly. On the other hand, if a device is not in the boot sequence (but has a "drive number"), it is still possible for a Real Mode program (such as another MBR or bootloader) to load and boot that device's MBR directly.

Diogo

Posted 2011-08-04T13:06:11.457

Reputation: 28 202

1

That is a bit complex issue. You could start by reading something about master boot record: http://en.wikipedia.org/wiki/Master_boot_record

Let_Me_Be

Posted 2011-08-04T13:06:11.457

Reputation: 1 364

1

An ISO file is an Image, should not be interpreted or burned as Data, but burned as an Image, this lays out the data contained in the image on the disc properly with boot sector, if it is a bootable ISO image. Not all ISO images are bootable (no boot sector).

Moab

Posted 2011-08-04T13:06:11.457

Reputation: 54 203