Fab labs often have many computers and it’s a chore to install the operating systems and programs on each one individually. If the computers are exactly the same, we can fully install one and clone it on to the other computers. Additionally, if something goes wrong with a computer we can restore to a clean install by cloning it’s original image.
Putting an Image Onto A Computer
- Put the Clonezilla CD in the computer or plug in a USB stick with Clonezilla live.
- Do not plug in the external hard drive with the image
- Reboot computer; hit the appropriate Function key (F-#) to get to the computer’s set up menu.
- Change boot priority so the CD or USB drive containing Clonezilla has top priority.
- Reboot computer.
- Select Clonezilla live (Default selection).
- Select English as language (Default selection).
- Select “Start Clonezilla”.
- Select “device-image” mode.
- Select “local_dev” and hit Enter.
- At the prompt, DO NOT hit Enter yet. Plug in the external hard drive and WAIT.
- A bunch of text will scroll by. After about a minute, the last message will be along the lines of “drive attached”. Now, hit Enter to continue.
- Select the drive containing the desired image. Most likely there are two options. One with start with “sda” and the other may be “sda1″ or “sdb”. Choose the one that does NOT begin with sda.
- Select “restore disk”.
- At the “advanced options” menu, choose “use defaults”, hit enter.
- At the “clonezilla advanced extra parameters” menu, choose “use defaults”, hit enter.
- Select desired image (images are likely named Maker_Model_DATE; choose the most recent date for your model of computer), hit enter.
- Select both hard drives (highlight each and hit enter). An asterisk denotes selections. Once both are selected, hit enter.
- Follow directions (y for yes when asked, Enter when needed).
Making An Image of a Computer
- Attach a (large) external drive and a thumb drive containing the Clonezilla program to the computer.
- Change the boot priority so the thumb drive containing Clonezilla is highest in priority. Hit enter upon startup to enter the BIOS. In “Advanced BIOS Features”, select “Hard Disk Boot Priority”. Find the thumb drive, and hit plus until it is at the top of the list. Hit F10 to save and exit.
- The computer should boot to Clonezilla’s main screen. Select the default toption.
- When prompted, select English as the default language.
- Select “Don’t touch keymap”.
- Select “Start Clonezilla”.
- Choose “device-image” mode.
- Choose “local_dev” to manipulate the images on local devices.
- Hit enter when prompted.
- When asked to select a device to mount as “/home/partimag”, choose the partition which is the external hard drive.
- Hit enter when prompted.
- Choose “savedisk” mode to create an image of a local disk.
- There are several screens for “advanced extra parameters”. Leave the settings to the defaults (by simply pressing enter), until you come upon the image name input.
- Type the desired name for your image (e.g. “FAB_##-##-##, where ## is the date).
- When choosing the source for the image, you need to select both hard drives. Do this by hitting space when a source is highlighted. An asterisk should appear, marking your selection. Once both drives are selected, hit enter.
- Hit enter when prompted. Select y for yes when prompted.
- When completed, hit enter. You can then select 0 to power off the computer, and the external devices can be removed.
(Instructions courtesy of Trip Vest)
modified 3/09 A.Sun
3 Responses for "install procedures to clone computers"
thanks !! very helpful post!
Hey, good post. But it is easier if you have a spare HDD or external one.
I’m going to bookmark this page, very useful tips indeed. I am looking to be able to basically write an entire HDD image so I can restore my PC’s at home easier. This should definately do the trick. Thankyou!
Leave a reply