Re: Unexpected bios behavior??? due to connection of an external drive.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 17, 2015 at 6:45 PM, Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:

> It's pretty common for the BIOS to, by default, try to boot external
> media (CD ROM, USB, eSATA and such) BEFORE booting a local hard disk.

If it's common, it's a good reason to consider parted's behavior a bug
these days, because it guarantees the system face plants upon
existence of non-bootable external media.

> If you ABSOLUTELY must have the drive attached at boot time, get into
> the BIOS and change the boot order so the internal drive is tried BEFORE
> your USB stuff. Remember, however, that if you do this, then you won't
> be able to boot any external media unless you flip the BIOS back.

I have an ancient system, ~2004 firmware, that offers F12 for a one
time boot menu from which I can choose myriad boot drive options
including USB.

If parted is used to partition, firmware face plants on that drive. So
does VirtualBox (SeaBIOS). If any other tool is used to partition,
both firmwares bypass this drive, and try the next one in the list.

In this paradigm, it was parted that was expected to write jump code
to the first 440 bytes, while e.g. syslinux write some minimal code to
the VBR, which then pointed to a binary blob also found in the
filesystem, the actual bootloader.  syslinux's install command doesn't
touch the MBR at all, it only writes to the VBR (or BIOS Boot if it's
a GPT partition type).

Whereas GRUB's grub-install puts its own code in the MBR, which
doesn't at all depend on active bit (boot flag), it directly forwards
to an LBA. So as long as the firmware can address that LBA, the GRUB
stage2/core.img can be essentially anywhere hence fewer limitations.


-- 
Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux