[Bug 1574332] [NEW] grub does not load RAID partitions

Goran Schultz 1574332 at bugs.launchpad.net
Sun Apr 24 17:00:29 UTC 2016


Public bug reported:

Have used an UBUNTU 12.04 installation on /dev/md0 (sda2, sdb2). Installed 16.04 on non-RAID sda4. Filesystem on /dev/md0 shows when booted into 16.04, after clicking on it, without problems (/media/goran/0123something). All attempts to get grub to accept a menuentry fails (file not found) because the raid files don't show up after "set root=(hd0,2)"; manual attempt at booting:
grub> ls (hd0,2)
- gives the device information correctly
grub> ls (hd0,2)/
- file not found
- - likewise with (hd1,2)
I have Ubuntu 14.04 on sdb3 since two years back, when this problem did not occur with grub. Installation of 16.04 is the first non-CD installation, done with the following on the raided grub of 12.04,  isofile on sdb3:
menuentry “Ubuntu_16.04_ISO” {
set root=(hd1,3)
set isofile="/home/goran/Downloads/xenial-desktop-i386.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}
Would still like to boot into 12.04 since that is where I have four years worth of program installations.
lsb_release -rd: Description:	Ubuntu 16.04 LTS
Release:	16.04
apt-cache policy grub2: grub2:
  Installed: 2.02~beta2-36ubuntu3
  Candidate: 2.02~beta2-36ubuntu3
  Version table:
 *** 2.02~beta2-36ubuntu3 500
        500 http://fi.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

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

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

Title:
  grub does not load RAID partitions

Status in grub2 package in Ubuntu:
  New

Bug description:
  Have used an UBUNTU 12.04 installation on /dev/md0 (sda2, sdb2). Installed 16.04 on non-RAID sda4. Filesystem on /dev/md0 shows when booted into 16.04, after clicking on it, without problems (/media/goran/0123something). All attempts to get grub to accept a menuentry fails (file not found) because the raid files don't show up after "set root=(hd0,2)"; manual attempt at booting:
  grub> ls (hd0,2)
  - gives the device information correctly
  grub> ls (hd0,2)/
  - file not found
  - - likewise with (hd1,2)
  I have Ubuntu 14.04 on sdb3 since two years back, when this problem did not occur with grub. Installation of 16.04 is the first non-CD installation, done with the following on the raided grub of 12.04,  isofile on sdb3:
  menuentry “Ubuntu_16.04_ISO” {
  set root=(hd1,3)
  set isofile="/home/goran/Downloads/xenial-desktop-i386.iso"
  loopback loop $isofile
  linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
  initrd (loop)/casper/initrd.lz
  }
  Would still like to boot into 12.04 since that is where I have four years worth of program installations.
  lsb_release -rd: Description:	Ubuntu 16.04 LTS
  Release:	16.04
  apt-cache policy grub2: grub2:
    Installed: 2.02~beta2-36ubuntu3
    Candidate: 2.02~beta2-36ubuntu3
    Version table:
   *** 2.02~beta2-36ubuntu3 500
          500 http://fi.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
          100 /var/lib/dpkg/status

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



More information about the foundations-bugs mailing list