On Wed, 19 Feb 2003, Mark Bucciarelli wrote:
> On Wednesday 19 February 2003 9:34 am, gabriel lopez wrote:
>
> > # Copy root partition
> > cp -axv / /newdisk
> > cd /newdisk
> > mkdir /proc
> > umount /newdisk
> >
> > # Mount and copy Boot partition
> >
> > cd /
> > mount /dev/hdb1 /newdisk
> > cd /
> > cd /boot
> > cp -axv . /newdisk
> > cd /
> > umount /newdisk
>
> From http://www.tldp.org/HOWTO/Tips-HOWTO-2.html#ss2.6:
>
> Perhaps this is a better than using cp?
>
> (cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xvfp -)
That will copy a hard drive, but not clone it.
Mike
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net