[Bug 743136] Re: grub2 fails to install on md0

Youssef Eldakar 743136 at bugs.launchpad.net
Wed Aug 17 07:24:49 UTC 2011


The simplest workaround I could come up with for getting grub-installer
to succeed with RAID devices on Natty was:

d-i grub-installer/skip boolean true
d-i lilo-installer/skip boolean true

d-i preseed/late_command string ln -s ../md0 /dev/md/0; grub-installer
/target

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

Title:
  grub2 fails to install on md0

Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Natty:
  Fix Released

Bug description:
  Binary package hint: grub-pc

  During installation of Natty I get the error below, this error did not occur in Maverick.
  /dev/md0 is a raid0 device.
  I have tried the filesystems ext2 and ext4 for /boot but both result in the same error.

  Mar 26 14:14:26 debconf: --> PROGRESS INFO grub-installer/progress/step_install_loader
  Mar 26 14:14:26 debconf: <-- 0 OK
  Mar 26 14:14:26 grub-installer: info: Installing grub on '/dev/sda /dev/sdb'
  Mar 26 14:14:26 grub-installer: info: grub-install supports --no-floppy
  Mar 26 14:14:26 grub-installer: info: Running chroot /target grub-install  --no-floppy --force "/dev/sda"
  Mar 26 14:14:27 grub-installer: /usr/sbin/grub-probe: error: no such disk.
  Mar 26 14:14:27 grub-installer: Auto-detection of a filesystem of /dev/md0 failed.
  Mar 26 14:14:27 grub-installer: Please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
  Mar 26 14:14:27 grub-installer: error: Running 'grub-install  --no-floppy --force "/dev/sda"' failed.
  Mar 26 14:14:27 debconf: --> SUBST grub-installer/grub-install-failed BOOTDEV /dev/sda
  Mar 26 14:14:27 debconf: Adding [BOOTDEV] -> [/dev/sda]
  Mar 26 14:14:27 debconf: <-- 0
  Mar 26 14:14:27 debconf: --> INPUT critical grub-installer/grub-install-failed

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




More information about the foundations-bugs mailing list