Best way to migrate disks (SOLVED)
On 03/24/12 23:25, Olaf Reitmaier Veracierta wrote:
On 03/25/2012 01:16 AM, Marc Shapiro wrote:
I have an old 40GB disk and a recently purchased 1TB disk. The new
disk has been partitioned into a 2GB swap partition, two 500MB
partitions that are currently empty and the remainder is an LVM2 PV
which I have added to my VG, so I now have plenty of space. So far, so
My problem is that I am still booting off of the 40GB disk and my /
partition has pretty much run out of space (it is about 280MB). I want
to migrate everything from there into one of the 500MB partitions on
the new drive and boot from there. What is the best way to do this?
First, make a backup. Don't modify anything on the old disk, just in the
Thanks to everyone who replied. I asked here first to find a 'Debian'
answer, but I probably should have just Googled it. I found several
sites advocating piping the results of find to cpio and this worked
perfectly. All I had to do after that was to add a new stanza to
lilo.conf and update fstab in the new partition, then run lilo. Works
like a charm.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
|All times are GMT. The time now is 12:05 AM.|
VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.