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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Jan 18, 2008 3:01 PM, Daniel B. Thurman <dant@xxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux