|45 Drives Knowledge Base
||KB450018 - How to Restore_Clone Boot Drives
Depending on what OS you are running on your computer here is the process preparing the media:
Use the 'dd' command to write the image to the device (e.g dd if=/path/to/recovery_image.img of=/dev/sdx) Where x is the device name of the USB stick. Be sure to give the raw device not a partition.
If you are using a Ubuntu/Debian based distro you use USB-ImageWriter
sudo apt-get install usb-imagewriter
Use win32 disk imager: http://sourceforge.net/projects/win32diskimager/
Use the ApplePi Baker: http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/
1. Plug the USB stick with the appropriate OS images you want to install into a open USB port.
2. Turn on your system. You want to go into the BIOS first to force the system to from boot the USB stick.
3. When the system boots into the Clonezilla boot menu, select the first option "Clonezilla live (Default settings, VGA 1024x768)"
4. Select your desired language and Keymap and the select "Start Clonezilla"
5. Select the option "device-image" then "local_dev"
6. Select second partition on the USB stick. Then select the top level directory. (It will be the only option)
7. Choose the Beginner option, and then "restoredisk" FOR FREENAS INSTALLATION SELECT EXPERT AND SKIP TO STEP 14
8. At this step you will be choosing the image to place onto the disk. In the example pictured we are restoring redundant boot drives and have two images to choose from: Disk 1 and 2.
First you must pick the first image on the list, you will notice Disk 1 in the image name. Then you will select what device to put this image on, choose the first device available "sda"
9. WAIT. An estimated time of completion will be visible on the screen.
10. When this finishes you will presented with the screen pictured below.
If you are restoring a single boot drive select reboot and pull out the USB stick and you will boot into your freshly restored OS!
If you are restoring redundant disks select the option "rerun2"
11. To complete the restore of the redundant boot drives, select the "skip" option.
12. You will now be back at the "Beginner" Screen. Back track and redo Steps 7 through to 10 but this time around be sure to select "Disk2" as your source image and "sdb" as your destination device.
when this finishes reboot and remove the USB to boot into your freshly restored boot drives.
13. Due to the way Clonezilla works your redundant boot drives will not be synced once the imaging process is complete.
You must manually re-attach the drives. More instructions on how to do this to follow shorty.
14. FREENAS SPECIFIC INSTALLATION BEGINS HERE
Select expert mode.
15. Select Restore Disk
16. Select the image you wish to burn, you will only have one image on your screen(FreeNAS)
17. Select the destination disk this should be a 128 GB SSD or larger
18. Select j1 from the list as shown below. This will write the bootloader to the new install.
19. Select the first option in the next screen.
20. Select check check image.
21. Select Do Nothing.
22. You now have to press enter and type the letter "y" for yes when prompted.
When the process has completed you will be given an option to shutdown.
1. Plug in USB stick with FAT partition into any open USB slot.
2. Turn on your system. You want to go into the BIOS to force the system to boot from the USB stick.
3.When the system boots into the Clonezila boot menu, select the option to boot Clonezilla from RAM.
4.Select your desired language and Keymap and then "Start Clonezilla".
5. Select the option "device-image", and then "local_dev".
6. Select the second partition on the USB stick, then select the top level directory.
7. Choose the Beginner option, and then "savedisk".
8. Pick a name for your Back up disk, and chose the boot drive you want to back up.
9. Choose to Skip checking/repairing source file system.
10. Choose to check if the saved image is restorable, and Not to encrypt the image.
11. WAIT. An estimated time of completion will be visible on the screen.