[Bug 1315344] Re: Grub install failed on disks with software RAID
Helge Meinhard
1315344 at bugs.launchpad.net
Mon May 5 14:07:32 UTC 2014
Here is the output of the command (run under Ubuntu 13.10 booted from
/dev/md0):
$ sudo mdadm -D /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Wed Nov 6 16:18:54 2013
Raid Level : raid1
Array Size : 19514240 (18.61 GiB 19.98 GB)
Used Dev Size : 19514240 (18.61 GiB 19.98 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Mon May 5 07:37:31 2014
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : <hostname>:1 (local to host <hostname>)
UUID : 7d38852a:136668be:8d9f540b:7cfc4bcb
Events : 33
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
$ sudo grub-probe -v -d /dev/md1
grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to dri.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to md.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to dri.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to md.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: Looking for /dev/sda2.
grub-probe: info: /dev/sda is a parent of /dev/sda2.
grub-probe: info: /dev/sda2 starts from 39063552.
grub-probe: info: opening the device hostdisk//dev/sda.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Found array md/0.
grub-probe: info: Inserting hostdisk//dev/sda into md/0 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk md/0.
grub-probe: info: Scanning for mdraid1x devices on disk md/0.
grub-probe: info: Scanning for mdraid09 devices on disk md/0.
grub-probe: info: Scanning for mdraid09_be devices on disk md/0.
grub-probe: info: Scanning for dmraid_nv devices on disk md/0.
grub-probe: info: Scanning for ldm devices on disk md/0.
grub-probe: info: scanning md/0 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk md/0.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Found array md/1.
grub-probe: info: Inserting hostdisk//dev/sda into md/1 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk md/1.
grub-probe: info: Scanning for mdraid1x devices on disk md/1.
grub-probe: info: Scanning for mdraid09 devices on disk md/1.
grub-probe: info: Scanning for mdraid09_be devices on disk md/1.
grub-probe: info: Scanning for dmraid_nv devices on disk md/1.
grub-probe: info: Scanning for ldm devices on disk md/1.
grub-probe: info: scanning md/1 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk md/1.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Found array md/2.
grub-probe: info: Inserting hostdisk//dev/sda into md/2 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk md/2.
grub-probe: info: Scanning for mdraid1x devices on disk md/2.
grub-probe: info: Scanning for mdraid09 devices on disk md/2.
grub-probe: info: Scanning for mdraid09_be devices on disk md/2.
grub-probe: info: Scanning for dmraid_nv devices on disk md/2.
grub-probe: info: Scanning for ldm devices on disk md/2.
grub-probe: info: scanning md/2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk md/2.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Found array md/3.
grub-probe: info: Inserting hostdisk//dev/sda into md/3 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk md/3.
grub-probe: info: Scanning for mdraid1x devices on disk md/3.
grub-probe: info: Scanning for mdraid09 devices on disk md/3.
grub-probe: info: Scanning for mdraid09_be devices on disk md/3.
grub-probe: info: Scanning for dmraid_nv devices on disk md/3.
grub-probe: info: Scanning for ldm devices on disk md/3.
grub-probe: info: scanning md/3 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk md/3.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Found array md/4.
grub-probe: info: Inserting hostdisk//dev/sda into md/4 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk md/4.
grub-probe: info: Scanning for mdraid1x devices on disk md/4.
grub-probe: info: Scanning for mdraid09 devices on disk md/4.
grub-probe: info: Scanning for mdraid09_be devices on disk md/4.
grub-probe: info: Scanning for dmraid_nv devices on disk md/4.
grub-probe: info: Scanning for ldm devices on disk md/4.
grub-probe: info: scanning md/4 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk md/4.
grub-probe: info: no LVM signature found.
grub-probe: info: Partition 0 starts from 2048.
grub-probe: info: Partition 1 starts from 39063552.
grub-probe: info: Looking for /dev/sdb2.
grub-probe: info: /dev/sdb is a parent of /dev/sdb2.
grub-probe: info: /dev/sdb2 starts from 39063552.
grub-probe: info: opening the device hostdisk//dev/sdb.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Inserting hostdisk//dev/sdb into md/0 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Inserting hostdisk//dev/sdb into md/1 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Inserting hostdisk//dev/sdb into md/2 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Inserting hostdisk//dev/sdb into md/3 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Inserting hostdisk//dev/sdb into md/4 (mdraid1x)
.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Partition 0 starts from 2048.
grub-probe: info: Partition 1 starts from 39063552.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to dri.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to md.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to dri.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to md.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: Looking for /dev/sda2.
grub-probe: info: /dev/sda is a parent of /dev/sda2.
grub-probe: info: /dev/sda2 starts from 39063552.
grub-probe: info: opening the device hostdisk//dev/sda.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: the size of hostdisk//dev/sda is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Partition 0 starts from 2048.
grub-probe: info: Partition 1 starts from 39063552.
grub-probe: info: Looking for /dev/sdb2.
grub-probe: info: /dev/sdb is a parent of /dev/sdb2.
grub-probe: info: /dev/sdb2 starts from 39063552.
grub-probe: info: opening the device hostdisk//dev/sdb.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: the size of hostdisk//dev/sdb is 3907029168.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: Partition 0 starts from 2048.
grub-probe: info: Partition 1 starts from 39063552.
grub-probe: info: opening mduuid/7d38852a136668be8d9f540b7cfc4bcb.
ext2
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1315344
Title:
Grub install failed on disks with software RAID
Status in “grub-installer” package in Ubuntu:
New
Bug description:
I've got two 2TB drives set up with identical partitions, which are combined into RAID1 arrays (five mirrors across the two disks).
On a free RAID1 I've installed Trusty 64bit from the Desktop installer ("try Ubuntu" first, install mdadm, run mdadm --assemble --scan, then start installer). I then wanted grub to be installed onto /dev/sda and /dev/sdb, but both fail.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity 2.18.7
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.340
Date: Fri May 2 13:05:29 2014
InstallCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1315344/+subscriptions
More information about the foundations-bugs
mailing list