How to copy a Fedora system?

Tony Nelson tonynelson at georgeanelson.com
Fri Apr 14 14:38:24 UTC 2006


At 7:39 PM -0700 4/13/06, Kenneth Porter wrote:
>On Friday, April 07, 2006 11:12 PM +0100 Timothy Murphy
><tim at birdsnest.maths.tcd.ie> wrote:
>
>> So my query is: how exactly should one copy a Fedora system
>> to another partition?
>
>Assuming ext2 or ext3, use dump and restore in a pipeline. cd to the
>restore point, dump the raw source device, and pipe that to restore which
>will drop it into the current directory (ie. the destination disk).
>
>Something like this (untested):
>
>cd /mnt/newdisk
>dump 0f /dev/sda1 | restore xf -

Is there anything that needs to be fixed up after?  In my case (posted a
couple of weeks ago), I also edited /boot/grub/grub.conf to have a stanza
for the new partition, and /etc/fstab to refer to the new partition.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list