Can LFS be copied from 1 hard drive to another after the build?

Steve Crosby steve.crosby at gmail.com
Wed Jun 15 01:12:30 PDT 2005


On 15 Jun 2005, you wrote in lfs.support:

> 
> On Wed, Jun 15, 2005 at 08:36:32AM +0100, Andrew Benton wrote:
> 
>> I find tar to be quite effective
>> 
>> cd /mnt
>> tar cjf lfs.tar.bz2 lfs
> 
> Rsync is cool if you have installed it.  Mount the empty partition on
> /mnt/lfs-new and run:
> 
>     rsync -a /mnt/lfs/ /mnt/lfs-new
> 
> (NB: the trailing slash on /mnt/lfs/ is important, don't leave it
> out!)
> 
> Cheers, 
> 
> Jeremy Henty
> 
> 

Just as a note for the unwary - make sure you don't have proc, sysfs, dev 
et al mounted in /mnt/lfs when you create the tarball or copy the files to 
the new partition ;)

- --
Steve Crosby



More information about the lfs-support mailing list