[Bug 1058129] Re: grub-install seg faults on partitionable raid1
Launchpad Bug Tracker
1058129 at bugs.launchpad.net
Mon Nov 11 13:04:33 UTC 2013
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: grub-installer (Ubuntu)
Status: New => Confirmed
--
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/1058129
Title:
grub-install seg faults on partitionable raid1
Status in “grub-installer” package in Ubuntu:
Confirmed
Bug description:
I am trying to install Ubuntu 12.04 amd64 automatically on a
partitionable software RAID1 using the debian-installer and
preseeding. The relevant preseeding settings are:
d-i partman/early_command string /bin/dd if=/dev/zero of=/dev/sda bs=512 count=1 && \
/bin/dd if=/dev/zero of=/dev/sdb bs=512 count=1 && \
/sbin/mdadm --create /dev/md0 --metadata=1.0 --auto=mdp \
--raid-devices=2 --level=1 --bitmap=internal --homehost=xyz /dev/sd[ab]
d-i partman-auto/disk string /dev/md0
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
Everything works smoothly until the grub installation step is reached.
With these preseeding settings, d-i is supposed to install the boot
loader into the MBR. Due to unknown reasons (a bug?), it tries to
install grub to /dev/md0p1, i. e. the first partition on the RAID
array. Moreover this attempt results in a grub-install segmentation
fault. Even if I run
chroot /target grub-install /dev/md0
manually on a console, grub-install seg faults. If instead I run
chroot /target update-grub
chroot /target grub-install /dev/sda
chroot /target grub-install /dev/sdb
on a console, I get a bootable system on a partitionable raid (as
desired).
In principle this workaround would probably be automisable by making
use of
d-i grub-installer/bootdev string (hd0) (hd1)
but due to bug #1012629 (https://bugs.launchpad.net/ubuntu/+source
/debian-installer/+bug/1012629) this does not work, either. :-(
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1058129/+subscriptions
More information about the foundations-bugs
mailing list