Re: recent kernel upgrades damage mbr

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

 



Gene Heskett wrote:
On Tuesday 17 June 2008, M A Young wrote:
On Tue, 17 Jun 2008, Maurizio Marini wrote:
I would advice any list member that it is in the wild a issue regarding
grub and mbr.
I don't know if this is relevant, but F8 grub (unless the latest update
has been written to the boot sector) can't cope with filesystems created
on F9 because of the inode size change. So it is definitely a good idea to
upgrade grub if you are upgrading.

	Michael Young

Which may be a good idea, Michael, but does this require the silent re-writing of the mbr to accomplish this? For existing, already setup and working drives, I don't think so.

Yes, it does require re-writing the MBR. This is because Grub stage 1 is in the MBR, and it needs to know where on the disk Grub stage 1.5 is. When you upgrade Grub, the location changes. Stage 1.5 is the part of Grub that know how to read file systems, and can then load the rest of Grub. Remember, all stage 1 can do is load a chunk of code from a specific location on the disk, and the location is part of the code stored in the MBR when you install/upgrade Grub. Why would you think that upgrading the boot loader would not re-write the MBR?

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux