Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
clone a linux system over the network

clone a linux system over the network

2005-05-06       - By Lee Whatley, Contractor

 Back
Reply:     1     2     3     4     5  

wolf2k5 wrote:
> Hi,
>
> I need to migrate a Linux system from a server to another one.
>
> I cannot reinstall the OS and applications on the new server and then
> migrate the data from the old server, since that would require too
> much time.
>
> In the past, to migrate a Linux system from a server to a new one with
> HD of the same size, I shut down the servers, booted a Linux live CD
> (Knoppix) on them and used 'dd' and 'netcat' to clone the system over
> the network: that worked fine, but with two cons:
>
> - It is pretty slow, since it will copy over even blank data.
>
> - You cannot resize the partitions: if the new server has a bigger
> disk, you cannot enlarge the original partition to use the additional
> space.
>
> Do you know any better way to clone the system over the network that
> will fix the above problems?
>  
> I think the commercial application Symantec Ghost can do it, but I am
> looking for something free.
>
> It would be great if such tool supported PXE boot too.
>
> On a separate note, do you know how to boot Knoppix via PXE without
> using the Knoppix Terminal Server (that requires an additional
> machine)?
> I already have a Linux host running TFTP/DHCP/NFS servers and use it
> to perform Red Hat Enterprise Linux installations via PXE.
> How do I configure it to perform Knoppix boots via PXE?
>

Well here's a pretty quick and dirty way to do it:
1.)Run a "dump" on each filesystem on your old machine
2.)Share the dumps on your nfs server
3.)Boot the new server from Redhat install CD.  Partition and format the
disks using anaconda and then escape to a shell (I think it's VT 2 or 3)
4.)Set up the network on the new machine (just use ifconfig and route)
and then nfs-mount the dump files
5.)Restore the dump files to your newly created filesystems
6.)Manually install grub to the MBR
7.)Reboot


--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.