Maybe you should take a look at partimage?
www.partimage.org
Tarjei
ons, 2003-02-19 kl. 18:00 skrev Anselm Martin Hoffmeister:
> Hello gabriel,
>
> gl> I has assembled this script from others i has found on Internet. The purpose
> gl> is to copy from hda to hdb all the data and prepare hdb to replace hda.
> gl> I would like to know if i am doing think right and what could i add to
> gl> improve it. Should check the surface of new disk? How is it done?
>
> I did something similar like this... but for backup-disk same size as
> original one.
> Switch to runlevel 1 so that the disk usage is near-to-none and there
> are only the necessary few processes running.
> Do
> swapoff /dev/hda3
> umount /boot
> mount -o remount,ro /
> (if that fails, not too bad)
> dd if=/dev/hda of=/dev/hdb bs=4096
> (might take some time :-)
> mount -o remount,rw /
> init 0
>
> Then hang the second disk in place of the first one, it should
> run out-of-the-box. Could be it needs an ext2fschk on the first
> boot, but not more than that for us.
>
> Best regards,
> Anselm mailto:[EMAIL PROTECTED]
--
Tarjei Huse <[EMAIL PROTECTED]>
NU
-------------------------------------------------------
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