[Bug 1347405] Re: Atempting 14.04 install into LVM striped drives 'grub-install /dev/sda' failed
Alex b
clusterpenguin at gmail.com
Sun Jul 27 19:25:34 UTC 2014
*** This bug is a duplicate of bug 1059827 ***
https://bugs.launchpad.net/bugs/1059827
Hi Guys,
The first issue was the partitioning left no room for the grub on /dev/sda as Philip mentioned.
( I no longer get grub-install /dev/sda' failed ) Thanks Philip
Now the original setup does work... if its not encrypted.
The desktop installer does not insert the request for password in the grub boot to unlock the LUKS partitions so that the LVM system can be seen. The boot now fails on waiting for the encrypted disk.
Since this is a different issue, I'll see if I can convert this to a question.
Perhaps someone has done this before?
# Encrypted partitions /dev/sda3 /dev/sdb3
# /sda2 is /boot partition non-encrypted non-LVM
pvcreate /dev/sda3
pvcreate /dev/sdb3
sudo vgcreate Stripe2SSD /dev/sda3 /dev/sdc3
sudo lvcreate -i 2 -I 256 -L 247000M Stripe2SSD -n root
sudo lvcreate -i 2 -I 256 -L 20000M Stripe2SSD -n swap
# manual install and Assigned the /, swap. /boot
Boot fails waiting for device ( the encrypted partition )
Thanks for your help!
PS,
The mini.iso does not seem to support stripe -i -I setup to get the speed of raid0 and the flexibility of LVM.
Am I missing something?
--
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