[ale] Upgrade encrypted hard drive
Edward Holcroft
eholcroft at mkainc.com
Sat Dec 7 16:53:15 EST 2013
This is what I am tending towards. The more I read up the more it looks
like no gain from trying to avoid a re-installation.
Thanks folks.
ed
On Sat, Dec 7, 2013 at 3:32 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
> I would do a fresh install to new drive, put old drive in spare bay or
> external case, unlock and then rsync or cp home data and configs. If old
> drive is fully updated first the final sync is mostly just user data.
> On Dec 7, 2013 11:19 AM, "Phil Turmel" <philip at turmel.org> wrote:
>
>> On 12/07/2013 10:48 AM, Edward Holcroft wrote:
>> > Hi all
>> >
>> > On Ubuntu 13.10. Got an encrypted 1TB drive using LVM. This machine was
>> > installed with full disk encryption and requires a password at boot
>> time. I
>> > need to upgrade to a 2TB drive (actually I don't need to, I just want
>> to).
>> >
>> > From what I have found there is no easy way around this e.g.
>> >
>> > https://help.ubuntu.com/community/ResizeEncryptedPartitions
>> > http://ubuntuforums.org/showthread.php?t=726724
>> >
>> http://askubuntu.com/questions/245112/can-i-disable-full-disk-encryption
>> >
>> > Has anyone faced this before. So far I have created a disk image of my
>> > encrypted 1TB drive and placed it on a 2TB drive. Took 18 hours. I
>> thought
>> > I would simply use gparted to increase the size, well that, as I now
>> know,
>> > is not possible. So I thought I could "just" decrypt the volume, dd it
>> to
>> > the larger drive and re-encrypt. It's not that simple. You cannot "just"
>> > remove full disk encryption.
>>
>> It would help if you could post a more detailed report of your current
>> disk / partition / LVM / volume layout. "lsdrv" [1] or "lsblk --tree".
>>
>> > I'm starting to think (and many of the articles suggest this) the
>> fastest
>> > method would be a fresh installation on the new 2TB drive, unless anyone
>> > here can tell me some clever method that will be quicker or easier.
>> >
>> > Even using the instructions I have, the very first step is a puzzler
>> for me:
>> >
>> > http://ubuntuforums.org/showthread.php?t=726724
>> >
>> > "1. Boot a live CD and, using any tool, create a new partition, lets
>> call
>> > it /dev/sda6 , next to and to the left of (after) your crypt."
>> >
>> > How can I create a new partition to the left of my crypt when that
>> space is
>> > already allocated to the boot partition? I have plenty of space open to
>> the
>> > right of my crypt.
>>
>> They were confused: "left of (after)". I would presume they meant
>> "right of (after)".
>>
>> I don't use ubuntu myself, so I would normally recommend using
>> SystemRescueCD for the procedures involved (lvm and cryptsetup are
>> already present).
>>
>> Phil
>>
>> [1] http://github.com/pturmel/lsdrv
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
--
Edward Holcroft | Madsen Kneppers & Associates Inc.
11695 Johns Creek Parkway, Suite 250 | Johns Creek, GA 30097
O (770) 446-9606 | M (770) 630-0949
--
MADSEN, KNEPPERS & ASSOCIATES USA, MKA Canada Inc. WARNING/CONFIDENTIALITY
NOTICE: This message may be confidential and/or privileged. If you are not
the intended recipient, please notify the sender immediately then delete it
- you should not copy or use it for any purpose or disclose its content to
any other person. Internet communications are not secure. You should scan
this message and any attachments for viruses. Any unauthorized use or
interception of this e-mail is illegal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20131207/fa7cd868/attachment-0001.html>
More information about the Ale
mailing list