Hello! A year later it turns out this is STILL happening. I had a drive
with a 14.04 LTS install on it which had been set up with LVM.

I booted an install USB to do a clean install of 14.04 (had moved the
drive to a different system) and told ubiquity: "erase disk and install
ubuntu" and "use LVM with this install".

It DOES NOT erase the disk when you do this. It seems the installer is
mounting the drive's swap partition, I guess, which is preventing it
from erasing it. And then it tries to install Ubuntu to the old LVM
partition, instead of the actual drive.

The only solution that worked, again, was to boot the system to a live
environment and use dd to write some zeroes to the drive. After doing
this, it installed as expected.

And again: this is not me trying to install grub to a logical volume.
This happens by just telling Ubuntu to erase a drive and install a fresh
copy, where that drive had previously been configured with LVM.

Steps to duplicate:

1) Boot Live CD
2) Install Ubuntu with LVM on a drive
3) Boot Live CD
4) Run installer with option to "erase disk and install Ubuntu" and "use LVM"

That's it - I have done nothing else, I'm not trying to set up my own
weird partition scheme.

Expected behavior:

When you click "erase disk" option, it should unmount anything it has
mounted under the hood and erase the disk.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1241867

Title:
  installing with LVM over old install with LVM results in unable to
  install bootloader

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1241867/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to