[Bug 1103256] Re: Kubuntu installer failed at grub-install (on wrong device)
Phillip Susi
psusi at ubuntu.com
Wed Jan 23 02:25:47 UTC 2013
You must install grub to a physical disk, not a raid array. There is a
separate bug report where ubiquity says it is installing grub to
/dev/sda when it is really installing elsewhere. You also do not need
to have a separate /boot mirror. You can, for instance, put 3 disks
into a raid5, and have / as an lvm volume built on the raid5. Ubiquity
also only lets you choose one place to install grub to, but if you use
the alternate installer or run dpkg-reconfigure grub-pc, you can select
multiple disks to install to so you can still boot should one fail.
** Changed in: grub-installer (Ubuntu)
Status: New => Invalid
--
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/1103256
Title:
Kubuntu installer failed at grub-install (on wrong device)
Status in “grub-installer” package in Ubuntu:
Invalid
Bug description:
Disks earlier prepared using mdadm(8) and lvm2; /boot is an md(4)
mirror, while /, /home and /var are lvm2 logical volumes. In the live
environment, I installed mdadm and lvm2 using apt-get, and started the
arrays (which also configured the volume group).
Then I started the Kubuntu installer, selected manual partitioning,
and set up the three LVs to be formatted as ext4, and md127 (/boot) to
be formatted as ext3. I chose also chose /dev/md127 as the location to
install grub.
Towards the end of the installation, an error occurred "grub-install
/dev/sda failed - this is fatal". So it looks like my choice isn't
preserved and passed through to grub-install.
In addition, manually mounting the new root & boot filesystems and
running "grub-install --boot-directory=/mnt/boot /dev/md127" also
fails, with a segfault in the underlying command "/usr/sbin/grub-setup
--directory=/mnt/boot/grub --device-map=/mnt/boot/grub/device.map
/dev/md127" :-(
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.10.16 [modified: lib/partman/automatically_partition/question]
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CasperVersion: 1.315
Date: Wed Jan 23 00:42:05 2013
InstallCmdLine: file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd.lz quiet splash -- keyboard-configuration/layoutcode=gb
LiveMediaBuild: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
ProcEnviron:
LANGUAGE=
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1103256/+subscriptions
More information about the foundations-bugs
mailing list