Re: How to copy a Fedora-4 system? Again!

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

 



Mogens Kjaer wrote:

> Boot in rescue mode, don't mount the partitions automatically.
> 
> When you get a command prompt, do like this:
> 
> cd /mnt
> mkdir old new
> 
> Mount your old partitions under old:
> 
> mount /dev/hda1 old
> mount /dev/hda2 old/usr
> mount /dev/hda3 old/usr/share
> mount /dev/hda4 old/usr/local
> mount /dev/hda5 old/boot
> etc.
> 
> Of course you'll have to replace hda[1-5] with the right
> names.
> 
> Create the new file system on the empty partition:
> 
> mke2fs -j -L/ -O dir_index,sparse_super /dev/yournewpartition
> 
> mount it:
> 
> dev /dev/yournewpartition /mnt/new
> 
> cd /mnt/old
> tar cf - .|(cd /mnt/new; tar xpf -)

That's a very good idea -
copy the system when it is not running.
I'll try that.
(I'll use Knoppix, as the FC-4 rescue CD
did not run on this SCSI-only system for some reason.)


-- 
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