JiMi VO wrote:

hello world!
im a newbie so please help. im using FC3, im having 5 partition on the same
HDD, im buidling LFS on hda1
now end of ch5 i would like to ghost the hda1 onto hda2 so that i can go on
ch6 and if anything wrong i can just return to hda2 (where end of ch5 is
ghosted).
i know cp can do it but i just like to double check which is the best
method/command that consider about symbolic links reserved and other stuff
as well.
thanxxxxx alot guys.

You could use 'dd' to create an image of hda1, but I personally prefer to use 'tar'. :) Just pack it all up, and unpack on the partition you want to work with. That way you don't have to bother about disk geometry.

tar -cjf path/to/archive.tar.bz2 $LFS/*

should do it.. that's what I do.. Just remember to pack it up from the host system, not the LFS system itself while it's running ;)


Tor Olav
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to