grub2 does not wrtite boot record to extended partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub-pc
Release: Natty, Maverick
Architecture: amd64, i386
Latest tests done with ubuntu-server installation CDs
Test environment:
Multiboot installation to 250G harddrive. Partition layout as follows:
/dev/sda (contains bootloader in mbr pointing to sda1)
/dev/sda1 (contains grub2 files for first stage boot loader, chainloading into OS partitions)
/dev/sda2 swap
/dev/sda5 (contains OS installation, boot loader supposed to be in first sector)
/dev/sda6 (another OS installation)
...
As installing grub into any partitions requires block lists it is "discouraged" (but it works). First problem, doing this at installation time will always fail as grub-install needs to be called with "-f".
Second problem: even when forcing this into /dev/sda5 (which completes with complaints but without error message) there will be no boot record written.
Workaround:
* Force installation of grub into /dev/sda1
* then dd if=/dev/sda1 of=/dev/sda5 bs=512 count=1
This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.