[Bug 527401] Re: grub-installer fails to install on a raid1 array

Alex 527401 at bugs.launchpad.net
Wed Oct 19 15:57:17 UTC 2011


I see the same bug on lucid 10.04.3 LTS

Because I install system using FAI  system , I just changed the default settings in /etc/mdadm/mdadm.conf , so mdadm uses metadata version 1.0 
after that  grub installs correctly and I can boot from the raid1 device 

metadata 0.9 also works .

but with metadata 1.1 and 1.2 grub legacy fails .... Didn't check grub2

cat /etc/mdadm/mdadm.conf
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes metadata=1.0

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

Title:
  grub-installer fails to install on a raid1 array

Status in “grub2” package in Ubuntu:
  Fix Released
Status in “partman-base” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Lucid:
  Fix Released
Status in “partman-base” source package in Lucid:
  Fix Released

Bug description:
  Binary package hint: grub-installer

  While trying to install a raid5 with /boot on raid1 system using
  preseed, grub-install fails to install correctly:

  Feb 24 21:43:59 grub-installer: info: Installing grub on '/dev/vda /dev/vdb /dev/vdc'
  Feb 24 21:43:59 grub-installer: info: grub-install supports --no-floppy
  Feb 24 21:43:59 grub-installer: info: Running chroot /target grub-install  --no-floppy --force "/dev/vda"
  Feb 24 21:44:00 grub-installer: /usr/sbin/grub-probe: error:
  Feb 24 21:44:00 grub-installer:  
  Feb 24 21:44:00 grub-installer: no mapping exists for `md0'
  Feb 24 21:44:00 grub-installer: .
  Feb 24 21:44:00 grub-installer: Auto-detection of a filesystem module failed.
  Feb 24 21:44:00 grub-installer: Please specify the module with the option `--modules' explicitly.
  Feb 24 21:44:00 grub-installer: error: Running 'grub-install  --no-floppy --force "/dev/vda"' failed.

  I've attached the installation syslog run with DEBCONF_DEBUG set to
  developer.

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




More information about the foundations-bugs mailing list