Re: How does grub2 know what to boot?
On Mon, 10 Jun 2013 17:46:21 +0300 Cristian Sava wrote: > Sometime back I had a similar problem and I discovered that my old grub > install (other partition) was used. Do you mind to check? I don't have an actual problem. It is definitely using the new install to boot from because it offers the new f19 install as a boot option, I'm just curious how it works :-). -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: How does grub2 know what to boot?
Yes. The code in the MBR jumps to a specific LBA in the MBR gap where core.img is installed. Once that's loaded, grub understands the /boot filesystem, and can locate and load normal.mod, grub.cfg, and the modules the grub.cfg specifies for loading. The prefix for where core.img looks is baked into core.img. This works differently on UEFI. Chris Murphy -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: How does grub2 know what to boot?
On Mon, 2013-06-10 at 10:25 -0400, Tom Horsley wrote: > I just installed f19 beta, and it overwrote my MBR with > grub2ness (as expected). > > But now I'm wondering - the actual installation of > f19 is entirely on /dev/sda2 (including the /boot > directory which is just a subdirectory of /, not > a separate partition). > > My old f18 /dev/sda3 partition is the only one marked > as "boot". > > So how the heck is grub2 locating and booting the > /dev/sda2 /boot stuff? Is there a pointer stashed in > the MBR telling it where to look? > > Just curious :-). Sometime back I had a similar problem and I discovered that my old grub install (other partition) was used. Do you mind to check? Cristian Sava -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
How does grub2 know what to boot?
I just installed f19 beta, and it overwrote my MBR with grub2ness (as expected). But now I'm wondering - the actual installation of f19 is entirely on /dev/sda2 (including the /boot directory which is just a subdirectory of /, not a separate partition). My old f18 /dev/sda3 partition is the only one marked as "boot". So how the heck is grub2 locating and booting the /dev/sda2 /boot stuff? Is there a pointer stashed in the MBR telling it where to look? Just curious :-). -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test