[Bug 608984] Re: Grub does not boot after addition of new raid device

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:41:37 UTC 2020


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

-- 
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/608984

Title:
  Grub does not boot after addition of new raid device

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: grub2

  Ubuntu 10.04 LTS (2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28
  UTC 2010 x86_64 GNU/Linux) install on a softraid RAID1 using the
  alternate installer and the method described here:
  https://help.ubuntu.com/community/Installation/SoftwareRAID .

  During install I only created the root RAID1 (/dev/md0) as I had to shuffle a lot of data post install to achieve the final setup.
  Everything worked fine until I created a new RAID1 (/dev/md1) in the spare space of the two hdds containing /. Then on reboot I got a grub recovery console, in which the only working command seemed to be ls. Luckily executing ls / showed that grub was looking at /dev/md1. 

  My ugly fix was to copy /boot from /dev/md0 to /dev/md1 using a
  livecd. This fixed it, although I assume a kernel upgrade will break
  it.

  Addition of /dev/md2 (a RAID0 using the same two hdds plus a third)
  caused the same problem. (Again solved by copying /boot from /dev/md0
  to /dev/md2 using a live cd).

  grub-pc:
    Installed: 1.98-1ubuntu6

  partition table (identical for /dev/sda and /dev/sdb), only partition
  1 was created during initial install:

  Model: ATA WDC WD1002FAEX-0 (scsi)
  Disk /dev/sda: 1000GB
  Sector size (logical/physical): 512B/512B
  Partition Table: msdos

  Number  Start   End     Size    Type      File system     Flags
   1      1049kB  25.0GB  25.0GB  primary   ext4            boot, raid
   2      25.0GB  1000GB  975GB   extended
   6      25.0GB  28.1GB  3142MB  logical   linux-swap(v1)
   7      28.1GB  476GB   448GB   logical                   raid
   5      476GB   1000GB  524GB   logical   ext4            raid

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



More information about the foundations-bugs mailing list