Having a hard time copying root filesystem to new drive...

Aldo Foot lunixer at gmail.com
Sat Jan 19 03:32:08 UTC 2008


On Jan 18, 2008 3:01 PM, Daniel B. Thurman <dant at cdkkt.com> wrote:

>
> > > More importantly, what is the proper procedure in making a
> > copy of your
> > > existing root filesystem onto a new drive partition?
>
>
Cloning a disk or partition.

What I've done in days past:
1. Attach the new drive as slave
2. Partition the new slave drive. Make the partitions slightly bigger than
the ones from the old drive
3. fsck the new partitions just in case.
4. Take note of the device names on both drives
       master drive root partition /dev/sda1... etc.
       slave drive root partition /dev/sdb1... etc.
5. Boot with knoppix or your favorite boot CD.
6. clone with
      > dd if=/dev/sda1 of=/dev/sdb1
and you get an exact copy of your partition.
change the device name for all partitions you wish to clone.

~af
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080118/ab6ea703/attachment-0001.htm>


More information about the fedora-list mailing list