Re: Best way to migrate disks

2012-03-26 Thread Marc Auslander
Stan Hoeppner writes: > On 3/25/2012 2:48 PM, Marc Auslander wrote: > >> As far as the root partition itself, just make a new file system in >> the partition you want to be the new boot and use tar to copy the old >> root over. Make sure you don't copy anything mounted on root - just >> root its

Re: Best way to migrate disks

2012-03-26 Thread Andrei POPESCU
On Lu, 26 mar 12, 09:47:06, Stan Hoeppner wrote: > On 3/25/2012 2:48 PM, Marc Auslander wrote: > > > As far as the root partition itself, just make a new file system in > > the partition you want to be the new boot and use tar to copy the old > > root over. Make sure you don't copy anything mount

Re: Best way to migrate disks

2012-03-26 Thread Stan Hoeppner
On 3/25/2012 2:48 PM, Marc Auslander wrote: > As far as the root partition itself, just make a new file system in > the partition you want to be the new boot and use tar to copy the old > root over. Make sure you don't copy anything mounted on root - just > root itself. 'cp -a' worked fine for m

Re: Best way to migrate disks (SOLVED)

2012-03-25 Thread Marc Shapiro
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 wh

Re: Best way to migrate disks

2012-03-25 Thread Marc Auslander
You are probably asking a more subtle question that I'm going to answer but ... As far as the root partition itself, just make a new file system in the partition you want to be the new boot and use tar to copy the old root over. Make sure you don't copy anything mounted on root - just root itself

Re: Best way to migrate disks

2012-03-25 Thread Olaf Reitmaier Veracierta
On 03/25/2012 12:44 PM, Marc Shapiro wrote: Sorry, I just realized this morning that I had not mentioned that I am using lilo, not GRUB. Well, with dd is almost the same, just copy the first sector as I've shown it to you: dd if=/dev/sda of=/dev/sdb bs=512 count=1 More info:

Re: Best way to migrate disks

2012-03-25 Thread Marc Shapiro
On 03/24/12 23:58, Stan Hoeppner wrote: On 3/25/2012 12:46 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 a

Re: Best way to migrate disks

2012-03-25 Thread Camaleón
On Sat, 24 Mar 2012 22:46:21 -0700, 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 n

Re: Best way to migrate disks

2012-03-24 Thread Stan Hoeppner
On 3/25/2012 12:46 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

Re: Best way to migrate disks

2012-03-24 Thread Olaf Reitmaier Veracierta
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