Mirroring LFS partition

Nathan nrh2 at aber.ac.uk
Sun Nov 30 15:41:21 PST 2003


On Sunday 30 November 2003 15:59, Ercan Oezkan wrote:
> hi,
> does someone have experience with mirroing (copying)
> the whole LFS partition to another partition?
> for example. hda0 --> hda1
> can this be done with a simple cp?
> thanks for any hints

the easiest way for you to do this is to type the following if there exactly 
the same

dd if=/dev/<original> of=/dev/<mirror>

this needs to be done from another bootable system (ie knoppix or any distro)

or if your drives are not the same

mount the drives in two folders under mnt or anywhere else (using knoppix for 
example and type

cp -Rav /mnt/<original> /mnt/<mirror>



More information about the lfs-support mailing list