[Bug 881178] [NEW] GRUB2 fails with RAID1 with non-matching partition tables

Florian Besser 881178 at bugs.launchpad.net
Tue Oct 25 01:24:09 UTC 2011


Public bug reported:

How to reproduce:

Use 1 PC with 2 HDDs, run Ubuntu on first HD, Windows on second HD. ->
Ubuntu uses msdos Partition table, Windows uses (in my special case) GPT
Partition table. Everything works great so far.

Decide that you'd like to use RAID1 on that PC, with those 2
aforementioned HDDs, and install only Ubuntu on that Raid (so throw out
Windows).

Get your server installation (I used an USB Stick), try to install:
Partitioning the disks works great, creating the RAID works, formatting
RAID works, installation of system works. Installation of GRUB2 DOESN'T
work, and fails.

-> when restarting, only grub prompt is available, but system is bootable with:
linux /vmlinuz root=/dev/md0
initrd /initrd.img
boot

So obviously the HDDs work correctly. The system also works, as far as I
can tell. Manual installation via "sudo grub-install /dev/sdb" still
fails (since /dev/sdb uses GPT, remember?)

So, one is stuck ;)

Only solution is to create a new Partition table in /dev/sdb (I used a
11.04 Live-CD for that).

Hope you get that fixed or allow the installer to manually create/alter
partition tables.

Greetings
Flo

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: grub grub2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/881178

Title:
  GRUB2 fails with RAID1 with non-matching partition tables

Status in “grub2” package in Ubuntu:
  New

Bug description:
  How to reproduce:

  Use 1 PC with 2 HDDs, run Ubuntu on first HD, Windows on second HD. ->
  Ubuntu uses msdos Partition table, Windows uses (in my special case)
  GPT Partition table. Everything works great so far.

  Decide that you'd like to use RAID1 on that PC, with those 2
  aforementioned HDDs, and install only Ubuntu on that Raid (so throw
  out Windows).

  Get your server installation (I used an USB Stick), try to install:
  Partitioning the disks works great, creating the RAID works,
  formatting RAID works, installation of system works. Installation of
  GRUB2 DOESN'T work, and fails.

  -> when restarting, only grub prompt is available, but system is bootable with:
  linux /vmlinuz root=/dev/md0
  initrd /initrd.img
  boot

  So obviously the HDDs work correctly. The system also works, as far as
  I can tell. Manual installation via "sudo grub-install /dev/sdb" still
  fails (since /dev/sdb uses GPT, remember?)

  So, one is stuck ;)

  Only solution is to create a new Partition table in /dev/sdb (I used a
  11.04 Live-CD for that).

  Hope you get that fixed or allow the installer to manually
  create/alter partition tables.

  Greetings
  Flo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/881178/+subscriptions




More information about the foundations-bugs mailing list