Clonezilla - SE ..Server Edition For Refurbishers: Preface
Clonezilla - SE ..Server Edition For Refurbishers: Preface
minutes. If the downloading fails for some reason, only the effected computer stops but the others continue to load. When combined with Sysprep, any computer make and model can be loaded using the Clonezilla Server in an unattended manner. There will be a learning curve but the finished product will be well worth the effort. Lets get started.
Pick you time zone, date and time next Select gnome for the desktop configuration next Partitioning o Partition based o Create partition setup o Select hard drive not custom next Use entire disk Propose separate home partition next Select your User Name and password o Choose auto logon o Receive system mail next The computer will perform an auto-install and auto configuration. It will reboot a couple of times during the process. Relax
Configure the Server to Use Clonezilla SE Click on Computer and drag Fire Fox to the desktop Click on Computer more applications and scroll to Gnome Terminal. Drag it to the desktop Configure the network cards o Click on Computer Yast You will need to enter your password o Go to Network Settings o The first network card is eth0 and is set to DHCP o The second card is not configured. Highlight the 2nd card and select edit o It is automatically named eth1. Click on Static IP o The IP address is 192.168.100.254 and the Subnet Mast is 255.255.255.0. Leave the host name blank. Clink OK and close. We are going to get two files so we can install our server package. Open Fire Fox and go to http://drbl.sourceforge.net - Click on download o Select DRBL package file deb/rpm/tar files o Select DRBL stable .i386.rpm The file is updated from time to time. At this time select drbl-1.9.5-79.i386.rpm to download. The file goes to the download folder. Close the window. o We are going to move the file. On the desktop click on the home folder then select the download folder. Right click on the drbl-1.9.5-79.i386.rpm file and select copy. Click on the green up arrow close to the top of the screen to open the parent folder. Right click on an unoccupied part of the screen and select paste. Close the folder.
Page 3 of 7
o Click on Gnome_Terminal. We are now entering the equivalent to dos mode on a PC. o Type su and press enter. Su means Super User (administrator) o Enter your password o The type is now in red indicating that you are in super user mode. o Type ls and press enter. LS means list so you should see the list of files in that directory. You should see drbl-1.9.5-79.i386.rpm. We will now get the second file we need. o Carefully type: rm f GPG-KEY-DRBL enter wget http:// drbl.sourceforge.net/GPG-KEY-DRBL enter rpm --import GPG-KEY-DRBL enter If you type ls you will see that GPGKEY-DRBL is in the folder Install the DRBL Package type: rpm -Uvh drbl-1.9.5-79.i386.rpm enter type: /opt/drbl/sbin/drblsrv -i enter Note: there is a space between drblsrv and -i Select the defaults. The default is the y or n that is capitalized. Just hit enter. Use the [1] default for kernel type. This will take time and it will appear to hang up but it is just locating the proper files from the Internet.
Setup up network connections for up to 12 clients type: /opt/drbl/sbin/drbl4imp enter This option is to run the program for the impatient. To set up the server for more than 12 computers you need to go to http://drbl.sourceforge.net/ for a more detailed explanation and various methods of setting up your server. There are several steps in deploying large numbers of computers. The computers need to be checked out - bios - hardware and hard drive installed. The bios need to have network boot enabled or put a copy of Clonezilla live in the CD drive so that the computer can boot to the network from the CD. After cloning the computers are booted to the Internet so that Windows can be activated and the programs licensed. We have found that allowing for 12 computers to be multi-cast at one time, we have plenty to do before and after cloning to keep another 12 to 20 spaces busy.
Uploading an image to the server First run the program on the server to define the image to be loaded: o Click on Gnome_Terminal, type su, enter your password
Page 4 of 7
o Type /opt/drbl/sbin/dcs enter This is the command to run the Clonezilla program o When making your selection you may need to tab to the okay choice. The cursor should be positioned on the okay button. You can press enter. Select All Clients Select Start_ Clonezilla_Mode Choose Beginner Clone computer disk partition and save as an image Now in Server Name the file you want to save but it must end in -img (example: 4-20dell-GX110-img) We often put in the date so we can delete the older images. Select hda1 or sda1. The selection will depend upon the hard drive in your server. Hda1 means that the drive is an IDE drive. You will be saving the image from the first hard drive and the 1st partition. If your server has a SATA drive or a SCSI drive then you will be prompted to save to sda1. If you are given the choice hda1 ..hda2 then erase the hda2 so that just hda1 remains. The same goes for sda1..sda2 Power off 1000000 okay The program will enter some code and go to the point it asks you to press enter. Continue until the program returns to the red su type. The server is ready for one computer to connect to the network and start uploading the disk image. The file will be saved in home\partimage. You can click on the desktop on the home folder and then look in partimage to see any files you have uploaded. You can delete the file and then empty the trash from time to time if you are using a smaller hard drive.
Booting the computer to be imaged Check the bios of the computer to be connected to your server. Enable the network adapter to allow booting to the network. o Computers may allow you to boot to the network by pressing a key upon booting such as F12 with Dells. You may need to check the bios and look at the boot sequence. Make sure your network adapter is on the list. o You can put a copy of Clonezilla-Live in the CD drive and boot to the CD. If you scroll to the bottom of the screen the last option is to do a PXE boot that will
Page 5 of 7
connect to the Clonezilla Server. Be sure your network cable is plugged into the switch. Once the computer boots to the server, it will automatically start upload the contents of the hard drive and will save it as an image in the partimage folder. Uploading takes longer than downloading - possibly 40 minutes depending upon your hard drive size. You MUST clone from a smaller drive to a larger drive. We put our images to be uploaded on smaller hard drives than those we will be loading so we dont have problems in the future.
Steps to Clone other computers From Gnome_Terminal press su and enter your password. Run the program by typing /opt/drbl/sbin/dcs enter o Select all Clients o Clonezilla_Start o Expert (You need this mode to adjust the image to the new hard drive size) o Restore-Partition o OK accept defaults o -k Create Partition Table Proportionally - this will adjust the image to the full size of the new hard drive. o OK skip this option o Power Off o Select image file to restore o OK select hda1 or sda1 o Choose: Multicast - to load more than one computer at a time - You will be given the choice to wait until x you select the number of computers to boot to the network before starting the download. They will all download simultaneously Broadcast - we usually use Multicast or the next choice Unicast Unicast - Start downloading immediately to this computer. You can have several computers running at the same time but they start and stop at different times. Press enter until you are back at the SU prompt o The program now starts running. You can enter this selection without going through starting Clonezilla from the start. Highlight the green text, right click to copy it and then paste at the prompt to run the program again using the same selections. This is a real time saver.
Page 6 of 7
The computers will power off once they have been loaded. When you start them up they will go through a disk checking routine that is normal and will then start Windows. Enjoy!
Final Notes This method is great when loading a large number of computers of the same brand, model and program selection. A further refinement is to combine Microsofts Sysprep tool and a Windows Drivers Disk to allow for unattended installations on any make a model. I will cover this procedure in further documents. A Clonezilla Server as described above can be set up on a laptop.
Page 7 of 7