[Prev][Next][Index][Thread]
Re: LIP General issues
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.
-------------------------------------------------------------
Ira Abramov <ira@scso.com> Scalable Solutions
SITE Web Presence ("webspace for rent") http://www.site.co.il
Beeper 91826 at 058-212121 FAX (972)2-643-0471
POBox 3600, Jerusalem 91035, Israel Tel (972)2-642-6822
http://www.scso.com/~ira Check out: http://www.linux.org.il
Follow-Ups:
References: