ANIRUDH VIJ wrote:
> hi,
> i followed thre instruction in the lfs book 6.2 and my basic lfs system now
> works well.I want to back it up so that after i mess around and spoil the
> installation,i can still recover the system
> i have enough space on other hard disk partitions to completely back up the
> lfs partition .
> is a
> sudo cp -rv /media/lfs/* /home
> good enough ,or is backing up more complicated.if i reformat my lfs partition,
> and then copy all files from the folder in which i copied the earlier, will
> the system state be restored??
> thanks.
> 

I find using (as root) cp -a $LFS/* $DESTDIR works.

Or the probably better alternative would be to make a tarball of the 
whole thing. man tar is your friend there. You can also pass tar through 
gzip or bzip2 for compression.

Alan

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