Switch from encrypted partition to unencrypted (Error: cryptsetup: evms_activate is not available)
Posted
by
Chris Lercher
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Chris Lercher
Published on 2011-06-21T23:40:02Z
Indexed on
2011/06/22
0:31 UTC
Read the original article
Hit count: 316
I initially installed Ubuntu 11.04 with an encrypted file system (from the alternate install CD: Guided Partitioning, LVM encrypted). Now I wanted to change this setup to have my root file system on an unencrypted partition.
I had the following setup before:
/dev/mapper/my-root on / type ext4 (rw,noatime,errors=remount-ro,commit=0,commit=0)
/dev/sda1 on /boot type ext2 (rw,noatime)
- I backed up
/
, reformatted /dev/sda5 (which had contained the encrypted LVM device) to an ext3 partition, and restored/
to that partition. - I edited /etc/fstab, removed the line
/dev/mapper/my-root / ...
, and added the line:/dev/sda5 / ext3 noatime,rw,errors=remount-ro,commit=0 0 1
- I edited /etc/crypttab, and commented out the single entry.
On reboot, I get the grub screen as usual, but then I get the message cryptsetup:evms_activate is not available
, waiting for encrypted source device
.
I tried reinstalling Grub2 using a LiveCD with the ChRoot method, but that didn't make any difference.
Why is Ubuntu still searching for an encrypted device?
© Ask Ubuntu or respective owner