grub2 does not wrtite boot record to extended partitions

Bug #777057 reported by Stefan Bader
6
This bug affects 1 person
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

Stefan Bader (smb)
description: updated
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

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.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.