Re: How to copy a Fedora system?

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

 



Kenneth Porter wrote:

> So I think the correct command is:
> 
> cd /mnt/newdisk
> dump 0f - /dev/sda1 | restore rf -

Thanks.
I tried this, and the copy is working fine.

Actually, I backed up to several files,
as I have a large IDE disk on my SCSI machine with plenty of space.

Nb My old system is in several partitions;
the new system is in one, except that I am keeping
the old /boot and /home partitions, as well as the swap partition.


dump 0f /alfred/slash.dump /
dump 0f /alfred/usr.dump /usr
... [for several partitions]

mkfs.ext3 /dev/sda1
mount /dev/sda1 /mnt
cd /mnt
restore rf /alfred/slash.dump
cd usr
restore rf /alfred/usr.dump
...

The only issue is that I got thousands of warnings during the restores,
like this:

restore: lsetxattr ./etc/hotplug/pci.agent failed: Operation not supported

I compared the old and new files with "stat" but couldn't see any difference
apart from the inode numbers,
and the system seems to be working fine.
I wonder if this has something to do with selinux
(which I have turned off)?




-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


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

  Powered by Linux