[Prev][Next][Index][Thread]
Re: LIP General issues
Ira Abramov wrote:
>
> On Thu, 28 Nov 1996, Stas Bekman wrote:
>
> > 4. HD->HD copy:
> > What if I prepare a HD with a very general linux installed, and just
> > do a repartitioning on a new HD, and copy the ready HD. No need to update
> > fstab, lilo ? Only Xconfig to change. I believe it's faster then full
> > install proccess?
> > If it's good what is the fastest way to copy HD->HD (and Preserve all
> > permissions and sym links) someting:
> > cd / ; tar -cf - | tar -xf - newtarget (I din't find in tar's man page
> > how do I specify the target dir, It's not -C!)
> > How to avoid the recursive copying of the HD mounted under /mnt?
>
> $ cd /mnt
> $ (cd / ; tar cf - . --one-file-system) | tar xvf -
>
> et voila.
Will it copy /dev correctly? Also, it will copy /proc, which is probably
unnecessary.
--
Regards,
Gilad.
---------------------------------------------------------------------------
Gilad Gam email: gilad@vocaltec.com
System Manager, VocalTec Ltd. phone: +972-9-9525823
Follow-Ups:
References: