Menu

Failed to restore partition with CZ customized zip

kirapangzi
2015-02-02
2015-02-12
  • kirapangzi

    kirapangzi - 2015-02-02

    Hi,
    I'm using CZ to do these steps, to achieve restoring partition without USB:
    1, save a partition image of /dev/sda5,
    2, customize this image to a bootable zip file to restore /dev/sda5,
    3, unzip the zip file on /dev/sda6, and add a new grub2 boot option to boot from /dev/sda6,
    4, boot from sda6, and do the restore process.

    However, after CZ boot from /dev/sda6, it haven't restore /dev/sda5. I enter cmdline and can't find any image files in the /home/partimag dir, seems to be the /dev/sda6/home/partimage haven't been mounted to the live debian's /home/partimag.

    Here's my grub boot parameters, which is refer to: http://clonezilla.nchc.org.tw/clonezilla-live/livehd.php

    menuentry "Clonezilla" {
    insmod xfs
    set root='hd0,msdos6'
    linux /live-hd/vmlinuz boot=live live-config noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-restore\" ocs_live_extra_param=\"-g auto -e1 auto -e2 -c -r -j2 -p true restoreparts 2015-01-30-07-img sda5\" ocs_live_keymap=\"\" ocs_live_batch=\"no\" ocs_lang=\"\" vga=788 ip=frommedia nosplash live-media-path=/live-hd bootfrom=/dev/sda6 toram=filesystem.squashfs
    initrd /live-hd/initrd.img
    }

    Could you tell me, is it a doable way to restore partition(/dev/sda5) from boot a local disk partition(/dev/sda6)? If it is, is there anything wrong with my boot parameters, or the steps?

    Thank you so much!

     

Log in to post a comment.

MongoDB Logo MongoDB