Re: [SLUG] Drive Clone

From: John Brown (photo.man@knology.net)
Date: Mon Aug 28 2006 - 16:04:58 EDT


On Mon, 2006-08-28 at 15:30, Eben King wrote:
> On Mon, 28 Aug 2006, Levi Bard wrote:
>
> >> Got a 1.8 Gig drive with CentOS and Asterisk installed.
> >> (accidentally grabbed the wrong drive)
> >>
> >> It needs to be on larger drive.
> >> What's the SIMPLEST way to do that?
> >
> > dd if=/dev/olddrive of=/dev/newdrive ?
> > Then gparted to expand partition size on newdrive if necessary.
>
> I guess that depends on whether you prefer to have them all proportionally
> expanded, or have them all remain the same size and have some extra
> partitions.

I think that's what I have. I have never used gparted.
> Of course, if you go for "one partition covers the whole disk"
> you probably would go for proportional expansion. Obviously that's easier,
> which is what you asked.

This is what I have is a 1.8 Gig disk.

        /dev/hda2 1881684 1721340 64760 97% /
        /dev/hda1 101086 8492 87375 9% /boot
        none 225388 0 225388 0% /dev/shm
        
Of course I need /dev/hda2 to be most of the disk.
(shoulda thought to post this before)
-- JB

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:16:02 EDT