Re: How to replicate debian system on Local Network?
> > > On Mon, Jun 21, 2004 at 04:19:38PM +1000, James Sinnamon wrote:
> > >>I have a Debian system set up on one PC and would like to replicate
> > >> it onto another (to eventually replace my Redhat 9.0 system.).
> > >>
> > >>What would be the easist way to accomplish this?
Easiest way?
- Boot on the destination server using knoppix.
- fdisk /dev/hda. Repartition as you see fit.
- mke2fs on the partition.
- mkswap on the swap partition
- mount the partition as, say, /new
- copy all files with:
cd /new
rsync -avP -e ssh --exclude /proc root@source_machine:/
- Edit new/etc/* to change host names, etc,etc
- chroot /new
- Look at lilo.conf and fstab and make sure "/" is the same partition
- lilo -v
- reboot
- go have fun with your windows friends who need to pay extra to do
this. :)
I have more detailed instructions if you need.
Regards,
Paga
--
Marco Paganini | UNIX / Linux / Networking
paganini@paganini.net | PGP: http://www.paganini.net/pgp/
http://www.paganini.net | Magnus Frater te spectat...
Reply to: