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

Xiaoning Li 743136 at bugs.launchpad.net
Wed Nov 16 01:11:40 UTC 2011


Dear debain-installer maintainer:

I found the same bug in partman-auto-raid. I could not preseed lvm over
raid on Ubuntu 11.04 and 11.10.

in /bin/auto-raidcfg
.... ....
mdadm --create /dev/md$MD_NUM --auto=yes --force -R -l raid$RAID_TYPE \
		      -n $DEV_COUNT $MDADM_PARAMS
... ...

Could you please also fix this? thank you!

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