[Bug 1347405] Re: Atempting 14.04 install into LVM striped drives 'grub-install /dev/sda' failed
Phillip Susi
psusi at ubuntu.com
Wed Jul 23 14:34:13 UTC 2014
*** This bug is a duplicate of bug 1059827 ***
https://bugs.launchpad.net/bugs/1059827
Actually we do support installing grub directly on the disk without a
/boot partition. The failure here is simply that the grub core image
that has lvm support does not fit in 62 sectors. All modern
partitioning tools start the first partition at sector 2048, leaving
plenty of room, but it seems this disk was partitioned using an ancient
partitioning tool. The solution is simply to repartition the disk.
** This bug has been marked a duplicate of bug 1059827
Non trivial grub2 installs no longer fit in small embed areas
--
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/1347405
Title:
Atempting 14.04 install into LVM striped drives 'grub-install
/dev/sda' failed
Status in “grub-installer” package in Ubuntu:
Invalid
Bug description:
May need better support for LVM during instilation.. (please)
Adding a LVM option line in teh installer might be all it needs
Set up I need is Full disk encryption+LVM+striped across 2 SSD drives.... on a laptop(2 drive max)
mdadm raid 0 is not the same as the disk will not match as one will dual boot gaming platform Win7 for planetside2
What I was doing...
sudo pvcreate /dev/sda1
sudo pvcreate /dev/sdb1
sudo vgcreate Stripe2SSD /dev/sda1 /dev/sdb1
sudo lvcreate -i 2 -I 8 -L 420000M Stripe2SSD
sudo mkfs.ext3 -m 0 /dev/Stripe2SSD/lvol0
Install ubuntu and manually config disk.
Install went fine but
'grub-install /dev/sda' failed
said put the boot loader in the LVM when a while and it crashed.
Since I cant patition inside the LVM from the installer either so I made each partition match and created 3 LVMs, /, /home,swap...
pvcreate /dev/sda1
pvcreate /dev/sda3
pvcreate /dev/sda5
pvcreate /dev/sdc1
pvcreate /dev/sdc3
pvcreate /dev/sdc5
sudo vgcreate Stripe2SSD /dev/sda3 /dev/sdc3
sudo vgcreate Stripe2SSDboot /dev/sda1 /dev/sdc1
sudo vgcreate Stripe2SSDswap /dev/sda5 /dev/sdc5
sudo lvcreate -i 2 -I 256 -L 247000M Stripe2SSD
sudo lvcreate -i 2 -I 256 -L 18000M Stripe2SSDboot
sudo lvcreate -i 2 -I 256 -L 15000M Stripe2SSDswap
manual install and Asigned the /,/home, swap + format
Install went fine but
'grub-install /dev/sda' failed
# said install the boot in /dev/sda ... worked a bit.. then it crashed before finishing the install
Description: Ubuntu 14.04 LTS
Release: 14.04
- expected grub to use the location the boot location it used before..
- It would be really nice to have the LVM options in the simple partition choice, or add it to the menu in the advanced installer.
Love Ubuntu, Thanks for all the work,
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity 2.18.7
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.340
Date: Wed Jul 23 01:30:51 2014
InstallCmdLine: BOOT_IMAGE=(loop)/casper/vmlinuz.efi root=UUID=3285-93B5 debian-installer/language=en keyboard-configuration/layoutcode=us iso-scan/filename=/ubuntu-14.04-desktop-amd64.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
PATH=(custom, no user)
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/1347405/+subscriptions
More information about the foundations-bugs
mailing list