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

Youssef Eldakar 743136 at bugs.launchpad.net
Thu Aug 11 13:11:37 UTC 2011


Is this supposed to be fixed in Natty? I am using a standard partman-
auto-raid/recipe in a preseeded Natty install and am running into the
same issue:

d-i partman-auto-raid/recipe string                  \
                1 2 0 jfs  /                         \
                        /dev/sda5#/dev/sdc5                     \
                        .                            \
                0 4 0 swap -                         \
                        /dev/sda6#/dev/sdb6#/dev/sdc6#/dev/sdd6 \
                        .                            \
                1 2 0 jfs  /usr                      \
                        /dev/sda7#/dev/sdc7                     \
                        .                            \
                5 4 0 jfs  /var                      \
                        /dev/sda8#/dev/sdb8#/dev/sdc8#/dev/sdd8 \
                        .                            \
                0 4 0 jfs  /tmp                      \
                        /dev/sda9#/dev/sdb9#/dev/sdc9#/dev/sdd9 \
                        .                            \
                5 4 0 jfs  /srv                      \
                        /dev/sda1#/dev/sdb1#/dev/sdc1#/dev/sdd1 \
                        .

Symlinking /dev/md0 to /dev/md/0 before running the grub-install seems
to get it to succeed.

I am sorry if this is not the appropriate place for this comment.

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