[Bug 1315344] Re: Grub install failed on disks with software RAID

Robert Hrovat robi at hipnos.net
Mon Sep 19 20:34:34 UTC 2016


After so long time this bug is still present. I gave up with Ubuntu server 14.04 and in 16.04 I encountered the same bug. You can't install Ubuntu server with RAID setup from installer. 
After spending hours and tried to find what was the difference I made with Gentoo setup that worked perfectly well and finaly managed to install Ubuntu Server on RAID1. The main thing was Ubuntu create RAID with 1.2 version metadata which should be fine, but it auto detects RAID setups wrong. So in installer I escaped to shell and manually built array with command:

mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2
--metadata=0.90 /dev/sda1 /dev/sdb1

to force creation of 0.90 metadata which works properly. After that I
escaped shell and countinued setup from point where I just had to select
filesystem and mount point for RAID1 partition.

Can you please fix this bug? It really does not look serious in server
edition which should be installed with high security and availability in
mind.

-- 
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:
  Confirmed

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