GRUB recognizes defunct LDM headers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Critical
|
Phillip Susi | ||
Quantal |
Won't Fix
|
Critical
|
Phillip Susi |
Bug Description
[Impact]
Grub can no longer boot Windows
[Test Case]
Use Windows to format a dynamic disk. Use fdisk to repartition the disk as a regular MBR disk. os-prober still recognizes the defunct ldm partition table with the Windows partition in it.
[Regression Potential]
Previously grub had no support for ldm, so the worst case is that it goes back to not recognizing ldm, as opposed to the goal of this patch of only recognizing *valid* ldm.
.
GRUB recognizes stale LDM headers left on the disk after reformatting without LDM. This causes grub to complain either that embedding is not possible, and/or to incorrectly use the ldm partition module instead of msdos.
- This bug affect GRUB2.00 (default bootloader of Ubuntu12.10).
- This bug completely breaks access to any operating system, either when installing a fresh 12.10, or when upgrading from 12.04 to 12.10.
*******
WORKAROUND1 (when GRUB appears, but the Windows entry fails and shows a "A disk Error Occurred" error):
see Comment #44 below ( https:/
WORKAROUND2:
see Comment #26 below ( https:/
WORKAROUND3:
Use Boot-Repair ( https:/
*******
Related branches
- Ubuntu Development Team: Pending requested
-
Diff: 2237 lines (+2103/-3)10 files modified.pc/applied-patches (+1/-0)
.pc/ldm-require-sfs-partition.patch/Makefile.util.def (+783/-0)
.pc/ldm-require-sfs-partition.patch/grub-core/disk/ldm.c (+1010/-0)
.pc/ldm-require-sfs-partition.patch/include/grub/msdos_partition.h (+126/-0)
Makefile.util.def (+1/-1)
debian/changelog (+7/-0)
debian/patches/ldm-require-sfs-partition.patch (+136/-0)
debian/patches/series (+1/-0)
grub-core/disk/ldm.c (+37/-2)
include/grub/msdos_partition.h (+1/-0)
- Colin Watson: Pending requested
-
Diff: 2237 lines (+2103/-3)10 files modified.pc/applied-patches (+1/-0)
.pc/ldm-require-sfs-partition.patch/Makefile.util.def (+783/-0)
.pc/ldm-require-sfs-partition.patch/grub-core/disk/ldm.c (+1010/-0)
.pc/ldm-require-sfs-partition.patch/include/grub/msdos_partition.h (+126/-0)
Makefile.util.def (+1/-1)
debian/changelog (+7/-0)
debian/patches/ldm-require-sfs-partition.patch (+136/-0)
debian/patches/series (+1/-0)
grub-core/disk/ldm.c (+37/-2)
include/grub/msdos_partition.h (+1/-0)
description: | updated |
Changed in grub2 (Ubuntu): | |
importance: | Medium → Critical |
Changed in grub2 (Ubuntu): | |
milestone: | none → ubuntu-12.04.2 |
description: | updated |
Changed in grub2 (Ubuntu Quantal): | |
milestone: | none → quantal-updates |
Changed in grub2 (Ubuntu): | |
milestone: | quantal-updates → none |
description: | updated |
Changed in grub2 (Ubuntu Quantal): | |
status: | New → In Progress |
assignee: | nobody → Phillip Susi (psusi) |
importance: | Undecided → Critical |
Please include your grub.cfg and the output of parted print.