[Bug 1315344] Re: Grub install failed on disks with software RAID
Helge Meinhard
1315344 at bugs.launchpad.net
Fri May 9 16:57:27 UTC 2014
Yes, indeed - grub-probe -d /dev/md1 worked fine when running from my
previous 13.10 system as well as from the USB stick (Trusty 64bit desktop,
mdadm installed), but not after chroot to the /dev/md1 target.
I found that mdadm was not installed on /dev/md1, I installed it (and
Postfix) by hand, after which grub-install worked apparently fine.
There is one remaining oddity - even though the previous 13.10
installation on /dev/md0 is mounted (on /A), update-grub does not find
its kernel and hence does not add a boot entry for the 13.10 install.
Likewise, when the former was booted, and /dev/md1 was mounted as /B,
the 14.04 entry was not added. This behaviour is different from what I've
seen on other machines using physical partitions rather than md devices.
Is this expected? How can I fix this? Should I submit a dedicated bug
report?
Thanks for all your help!
Cheers,
Helge
----------------------------------------------------------------------------
Helge MEINHARD CERN, IT Department, CH-1211 Geneve 23, Switzerland
Phone: +41 22 76-76031, Fax: +41 22 76-69935
E-mail: Helge.Meinhard at cern.ch
On 07/05/14 17:39, Phillip Susi wrote:
> So sudo grub-probe -d /dev/md1 works ( prints "ext2 ) when run from the
> live cd. Does it work if you run it after the chroot?
>
--
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