Clonezilla Bootable USB Stick

From Inveneo
Jump to: navigation, search

While using an imaging server is very convenient and fast in an office, an imaging server is not practical when working at a client site. For mobile imaging, you can use a bootable Clonezilla Live USB drive with am image.

Creating a bootable Clonezilla Live USB flash drive

  1. Download the Clonezila Live zip ... which one?
  2. If you already have a partition of at least 200 MB in size on your USB flash drive formatted with a FAT file system then skip to the next step (3). Otherwise create at least a 200 MB partition on your USB flash drive and format it with a FAT16 or FAT32 file system. If you want to use the same USB flash drive for both Clonezilla Life and to store the image, you will need a fairly large USB flash drive (Windows 7 images can be larger than 10G) and the FAT partition must be large enough to fit both the Clonezilla files and the image files.
  3. Extract all the contents of the zip file to FAT16/FAT32 partition on your USB flash drive. Keep the directory architecture, for example, file "COPYING" should be in the USB flash drive's top directory (e.g. G:\COPYING).
  4. Browse to your USB flash drive and as an administrator, click the makeboot.bat in the dir utils\win32\. WARNING! Makeboot.bat must be run from your USB flash drive.
  5. Follow the on-screen instructions.
  6. If you want to place the image on the same USB flash drive as Clonezilla, either put the image in the root directory or create a directory called Images and place the image directory there.


Creating an Image by Copying an Image from a Computer to the Clonezilla USB flash drive

To create an image, you must have installed Clonezilla Live on a large capacity USB flash stick. Image sizes vary greatly, Windows 7 can be over 10GB. These instructions will be for both Linux and Windows operating systems.

  1. Boot from the Clonezilla Live USB flash drive (On an EeeBox, press and hold F8 to enter the Boot Menu)
  2. Choose Other modes of Clonezilla live
  3. Choose Clonezilla live (To RAM. Boot media can be removed later). This allows you to use the USB stick as a boot device as well as store the image.
  4. Allow Clonezilla to copy to RAM. When you see the screen prompting for the language, remove the USB flash drive before choosing a language.
  5. Choose the language settings for Clonezilla, English
  6. Under Configure console-data, choose Don't touch keymap
  7. Choose Start_Clonezilla Start Clonezilla
    ClonezillaCD-02.gif
  8. Choose device-image disk/partition to/from image
    ClonezillaCD-03.gif
  9. On the Mount Clonezilla Image Directory screen, Clonezilla needs to know where to put the image it will create. You are trying to copy the image to the USB flash drive, so insert the USB flash drive. Wait 10 seconds, or until you see sdb:sdb1 (depending on how many drives are in the computer, this could be sdc:sdc1 or sdd:sdd1). Press Enter
  10. Clonezilla needs to know where the USB drive is located. Typically, Clonezilla will display all the drives it finds, including the drives of the computer. The computer's drive is usually listed as sda1 or hda1. Most of the time, the last option listed is the USB flash drive, usually listed as sdb1, if the computer you are cloning only has one hard drive. Looking at the hard drive size can help determine which drive is the computer's and which drive is the USB flash drive. Select the USB flash drive.
  11. Clonezilla needs to know where on the USB flash drive to place the image. The easiest place to put the image is on the top level. To copy the image to the top level, not in a folder, choose / Top_directory_in_the_local_device
    ClonezillaCD-06.gif
    . Alternately you can put the image in a /Images if that directory exists.
  12. Press Enter to continue
  13. Clonezilla is asking whether you want to create an image of the computer or put an existing image on the computer. In this case, Clonezilla will create an image of the computer and put that image on a USB flash drive. Choose Savedisk Save_local_disk_as_an_image
    ClonezillaCD-07.gif
  14. Give the image name, which should include the operating system name, size of the computer hard drive, customer (if the image is custom) and any other relevant information.
    ClonezillaCD-08.gif
  15. Choose which hard drive to copy. If the computer only has one hard drive, only one option will be listed.
    ClonezillaCD-09.gif
  16. Clonezilla is now asking how to create image. Choose -q2
    ClonezillaCD-10.gif
  17. Clonezilla is asking for extra parameters when creating the image. Uncheck -c, Choose -nogui
    ClonezillaCD-11.gif
    • Note: If the OS on the computer is Windows, also select rm-win-swap-hib
  18. Clonezilla is asking which kind of compression to use on the image. Choose -z1 Use gzip compression (fast but smaller image)
    ClonezillaCD-12.gif
  19. Under Clonezilla Advanced Extra Parameters, keep the default, 2000
  20. Clonezilla is asking what to do after imaging is complete. It is easiest to have the computer power off after imaging finishes, allowing you to disconnect external DVD-ROMs and hard drives and to change the BIOS, if needed. Choose -p poweroff Shutdown client after clone finishes
    ClonezillaCD-14.gif
  21. Press Enter to continue
  22. Clonezilla will begin creating the image

Copying an Image from a USB flash drive to a Computer

  1. Boot from the Clonezilla Live USB flash drive (On an EeeBox, press and hold F8 to enter the Boot Menu)
  2. Choose Other modes of Clonezilla live
  3. Choose Clonezilla live (To RAM. Boot media can be removed later). This allows you to use the USB stick as a boot device as well as store the image.
  4. Allow Clonezilla to copy to RAM. It may take a few minutes.
  5. When you see the screen prompting for the language, before you press anything remove the USB flash drive before choosing a language.
  6. Choose the language settings for Clonezilla, English
  7. Under Configure console-data, choose Don't touch keymap
  8. Choose Start_Clonezilla Start Clonezilla
    ClonezillaCD-02.gif
  9. Choose device-image disk/partition to/from image
    ClonezillaCD-03.gif
  10. On the Mount Clonezilla Image Directory screen, Clonezilla needs to know where to copy the image from. Clonezilla can copy the image to another computer on a network. However, we are trying to copy the image from a USB flash drive, so select local_dev Use local device (Ex: hard drive, USB drive)
    ClonezillaCD-04.gif
  11. Do not press enter yet!! On the Mount Clonezilla Image Directory screen, Clonezilla needs to know where the image is located. You are trying to copy the image from the USB flash drive so before you press any keys:
    • Insert the USB flash drive
    • Wait 10 seconds, or until you see sdb:sdb1 scroll by on the screen (depending on how many drives are in the computer, this could be sdc:sdc1 or sdd:sdd1)
    • Press Enter
  12. Clonezilla needs to know where the USB Flash drive is located. Typically, Clonezilla will display all the drives it finds, including the drives of the computer. The computer's drive is usually listed as sda1 or hda1. Most of the time, the last option listed is the USB flash drive, usually listed as sdb1, if the computer you are cloning only has one hard drive. Looking at the hard drive size can help determine which drive is the computer's and which drive is the external hard drive's. Select the USB flash drive. ChooseThumbDrive.jpg
  13. Clonezilla needs to know where on the USB Flash drive to find the image. Typically the image will be in the /Images directory so choose /Images. If the image is not found when you get to step 18, start from the beginning and try the top level directory / Top_directory_in_the_local_device instead. ChooseImageDirectory.jpg
  14. Press Enter to continue
  15. Choose Expert Mode
  16. Clonezilla is asking whether you want to create an image of the computer or put an existing image on the computer. In this case, Clonezilla will copy an image from the USB flash drive and put it on the computer. Choose restoredisk restore_an_image_to_local_disk
    ClonezillaCD-15.gif
  17. Press Enter to continue
  18. Clonezilla will display a list of all the images it sees on the USB Drive. Choose the appropriate image, you may only see one option.
    ClonezillaCD-16.gif
  19. Select which hard drive to put the image on. If the computer only has one hard drive, only one choice will be listed.
  20. Tell Clonezilla the options/parameters for copying the image on the hard drive. Select -g auto, e1 auto, e2, -nogui, -r, and j2. Select OK CZImagingParameters.jpg
  21. Tell clonezilla additional options for cloning. Choose the blank option, labeled Use the partition table from image
    ClonezillaCD-19.gif
  22. Tell clonezilla to poweroff after imaging, -p poweroff
  23. Press Enter
  24. After a few seconds, you will be asked: Let me ask you again, Are you sure you want to continue?? y and press Enter
  25. When the imaging process is finished, the computer will poweroff. When you start the computer again it will go through the Windows Setup process including prompting you for computer name and License Key. The computer may reboot once during the setup process. Continue through the setup wizard. At the end of the wizard you are presented with the Inveneo desktop.


Return Clonezilla Main Menu

Personal tools