* [linux-lvm] How To Clone and Resize Luks-Encrypted Fedora System
@ 2010-01-19 4:32 Robert L Cochran
2010-01-19 7:06 ` Luca Berra
0 siblings, 1 reply; 2+ messages in thread
From: Robert L Cochran @ 2010-01-19 4:32 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]
I am looking for a way to clone and resize a Fedora 12 x86_64 system to
a new hard drive which provides a lot more capacity. The system I wish
to clone is encrypted with luks. I basically need to move the whole
system to a larger drive, then resize the partitions larger. These are
ext4 partitions. Here is what my grub.conf kernel line says:
kernel /vmlinuz-2.6.31.9-174.fc12.x86_64 ro
root=/dev/mapper/vg_deafeng298-lv_root_deafeng298 LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
Is there a procedure available for doing this?
What if I just cloned the existing drive to the new drive using RIPLinux
and ddrescue, then attempted to resize the clone's partitions? I'm fuzzy
about how to do this. Or perhaps use a Fedora Live DVD and ddrescue?
Thanks!
Bob Cochran
Greenbelt, Maryland, USA
[-- Attachment #2: Type: text/html, Size: 1154 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] How To Clone and Resize Luks-Encrypted Fedora System
2010-01-19 4:32 [linux-lvm] How To Clone and Resize Luks-Encrypted Fedora System Robert L Cochran
@ 2010-01-19 7:06 ` Luca Berra
0 siblings, 0 replies; 2+ messages in thread
From: Luca Berra @ 2010-01-19 7:06 UTC (permalink / raw)
To: linux-lvm
On Mon, Jan 18, 2010 at 11:32:45PM -0500, Robert L Cochran wrote:
> I am looking for a way to clone and resize a Fedora 12 x86_64 system to a
> new hard drive which provides a lot more capacity. The system I wish to
> clone is encrypted with luks. I basically need to move the whole system to
> a larger drive, then resize the partitions larger. These are ext4
> partitions. Here is what my grub.conf kernel line says:
not much to do with lvm... anyway
why don't you just clone the data?
install the new disk, partition, create luks device, mkfs, mount, copy
data (eg rsync -aHAX, the X should preserve selinux xattrs), install
grub on new disk, reboot.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-19 7:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 4:32 [linux-lvm] How To Clone and Resize Luks-Encrypted Fedora System Robert L Cochran
2010-01-19 7:06 ` Luca Berra
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.