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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux