grub2: installing onto a PBR rather than an MBR can render some systems unbootable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
grub2 (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: grub2
Installing grub onto a partition rather than the MBR seems to render some systems totally unbootable.
Using daily ISO from cdimage.ubuntu.com, and installing on a clean HDD w/o an MBR:
1) dd if=/dev/zero of=/dev/sdb bs=512 count=2048
2) Install the system using manual partitioning
a) Create a single large partition, ext4, mountpoint /
b) Choose to install the bootloader to this new partition /dev/sdb1
This should install grub to the PBR, set the partition active and should the initial bootstrap code into the PBR. On some machines the system is rendered unbootable.
Mario Limonciello bisected this down to r2751 causing the fault:
Here's the bisection log:
<email address hidden> start
<email address hidden> yes
proski@
<email address hidden> no
<email address hidden> yes
<email address hidden> no
<email address hidden> no
<email address hidden> yes
<email address hidden> yes
<email address hidden> yes
<email address hidden> yes
<email address hidden> yes
<email address hidden> yes
<email address hidden> no
<email address hidden> no
<email address hidden> done
Related branches
tags: | added: patch |
tags: | added: hwe-blocker |
Changed in oem-priority: | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in oem-priority: | |
status: | New → Fix Released |
Mario states:
"So armed with above, the attached patch (reference to trunk) appears to fix it for me. I'm not positive it is the right way to implement the solution."