[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#548156: grub-installer: No grub2 when using gpt partition schema

Hello Felix,

Thanks for the quick reply.


Why I think GRUB Legacy was chossen...

# dpkg -l | grep grub
ii grub 0.97-47lenny2 GRand Unified Bootloader (Legacy version) ii grub-common 1.96+20080724-16 GRand Unified Bootloader, version 2 (common files)

part from /var/log/apt/term.log

Log started: 2009-09-24  11:23:26
Selecting previously deselected package grub-common.
(Reading database ... 12091 files and directories currently installed.)
Unpacking grub-common (from .../grub-common_1.96+20080724-16_amd64.deb) ...
Selecting previously deselected package grub.
Unpacking grub (from .../grub_0.97-47lenny2_amd64.deb) ...
Processing triggers for man-db ...
Setting up grub-common (1.96+20080724-16) ...
Setting up grub (0.97-47lenny2) ...
Log ended: 2009-09-24  11:23:27


You are right about the disk size 2 TiB, we passed the 2 GiB a little while ago.


I'll try again creating the "Reserved BIOS boot area".

With kind regards,

Felix Zielcke wrote:
Am Donnerstag, den 24.09.2009, 10:05 +0200 schrieb Marcel D.A. Koopmans:
Package: grub-installer
Severity: important

I use 2 disks with GPT partition schemes
On those I create 2 RAID-1 partitions
RAID #1 ( mirror ) contains /boot
RAID #2 ( mirror ) contains LVM with other partitions

Using these settings no longer gives me the option of selecting GRUB2 <- this is the real bug

If your /boot is on GPT you got never asked that question, because GRUB
Legacy just doestn't support it.
So this isn't at all a bug.
By the way GRUB 2 is now the default for everyone, though that question
should still be asked in expert mode and if GRUB Legacy can
handle /boot.

And GRUB Legacy fails as it cannot handle /boot on mdadm with gpt partition schemes.

Why do you think GRUB Legacy was choosen by grub-installer? The syslog
would be useful, escpecially the grub-installer part.

I thing this is an important bug as we soon have 2 gibibyte disks and the default msdos partition scheme cannot address those!

You mean 2 TiB, not 2 GiB.

If you use GPT you must create on all disks where your /boot is, a
`Reserved BIOS boot area', then shown as biosgrub.
A few MiBs are enough. They don't need to be all exactly the same size
and they don't need to be at the same sectors on the disks.

And you must create the RAID over a partition not over the whole disk,
even with msdos partition scheme.

I just tried it myself with todays amd64 businesscard.
100 MiB for biosgrub, rest for RAID 1 for an ext4 /
It installed fine, though grub-installer still used `grub-install (hd0)'
instead of (md0)

fn:Marcel Koopmans
org:Elysium Open Systems
adr:;;Palmstraat 42;Heerlen;;6413 RC;the Netherlands
tel;work:+31 (0)45-5223213

Reply to: