Wednesday, December 17, 2008

Harddisk Image Cloning in Ubuntu

For massive installation of similar System we have a facility in Ubuntu Linux.
For this we want to write a g4U iso image. We can download g4U from internet (URL of g4U : http://www.feyrer.de/g4U) and just write it as image in a CD. This is a bootable CD.
For this we need
- On the server, there should be an FTP Server (to which the image is to upload)
- a DHCP Server on the LAN
Now, there is some steps for image cloning.
1. Change the boot sequence, so that CD is the first boot device
2. Install all the required softwares in the system; even dual boot in a machine
3. Make a compressed image
4. Add user "install" in the FTP Server
$sudo adduser install
and save with password.
5. Upload it to an FTP Server; for this
Boot with the g4U CD then it will get and IP from DHCP Server.
Then we get a prompt like g4U>
Check for the IP address. For this
g4U>ifconfig eth0 -a (Check whether IP is obtained)
Now we can upload
g4U>uploaddisk (Extension should be .gz)
Eg:g4U>uploaddisk 192.168.0.88 acerblack.gz
Enter password of the user install in FTP Server.

Now we can install similar systems by using the g4U (Install harddisk from FTP thru commandline). For this,
g4U>slurpdisk
Eg: g4U>slurpdisk 192.168.0.88 acerblack.gz
Enter password of the user install in FTP Server.