In comp.sys.ibm.pc.hardware.storage Yousuf Khan <> wrote:
> Whenever an external drive is plugged into my PC, the BIOS gets all
> confused and it rearranges the boot order of the drives. You then have
> to go into the BIOS setup and rearrange them back, which is a temporary
> solution until you don't connect external drive and you have to do it
> all over again. Or use the BIOS's boot device chooser which is even more
> temporary.
> What I'd like to know is if there is some kind of automatic boot sector
> manager that can be put onto non-boot disks and redirect the boot
> towards the right disk?
> Yousuf Khan
In theory, a bootable disk has a boot-signature in the
boot-sector, while a non-bootable disk does not have it and
should be skipped. As soon as the boot-secotr is loaded into
RAM and executed, it is actually too late as the BIOS has
relinquished control to it permenently at this time.
A PC bios expexts 0x55 0xAA in the last two bytes of the
first sector of a device in order to consider it bootable.
Maybe just overwriting these two bytes with 0x00 0x00 would
do the trick, but maybe it could confuse other software.
It should be easily reversible though in case of problems.
Arno
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email:
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans