clonezilla-live config

  • unlike Microsoft Windows, unix-like systems installation like BSD or GNU/Linux need only a few GB
  • usb sticks with 8 GB and more are now really cheap
  • yes, clonezilla is fine
  • yes, clonezilla server version is very fine
  • but sometimes, it’s pretty fine too to be able to backup and restore system disks/partitions images from only 1 usb stick.
  • so let’s go

As I spent some time on this project, I wrote here a memo about “clonezilla live” on USB stick config

Here are the few importants highlights, in near future, i’ll post an complete version with all commands :

  1. create the clonezilla like described on their page
  2. boot on the USB stick and choose “clonezilla-live in RAM” mode under “Other clonezilla-live modes” menu.
  3. if you booted the “in RAM” version, you could select your usb stick in the “user_local” window
  4. select the root (/) directory from the usb stick to store the image
  5. give it a explicit name, my choose is “YYYYMMDD-model-osversion”
  6. when image is created, mount the stick and move the image directory (for me : /YYYYMMDD-model-osversion) to /home/partimage directory of the usb stick
  7. for automated restoration modify the file /syslinux/syslinux.cfg with a section like this (under MENU) :
    label restore mybox
      MENU DEFAULT
      # MENU HIDE
      MENU restore mybox
      # MENU PASSWD
      kernel /live/vmlinuz
      append initrd=/live/initrd.img boot=live union=aufs hostname=lucid quiet noswap edd=on noprompt ocs_live_run=”ocs-live-restore” ocs_live_extra_param=”-g auto -p reboot restoredisk 20100608-dell-vostro320 sda” ocs_live_keymap=”/usr/share/keymaps/i386/azerty/fr-latin9.kmap.gz” ocs_live_batch=”no” ocs_lang=”fr_FR.UTF-8” video=uvesafb:mode_option=1024x768-32 ip=frommedia  nosplash
      TEXT HELP
      image restoration of my lovely linux box
      ENDTEXT
  8. comment out the other MENU DEFAULT entry from MENU section.