Hey so im trying to restore an image using clonezilla-live-2.5.5-38-amd64 (From USB), and ubuntu-16.04.4-desktop-amd64 running on my server with SAMBA. I am able to upload the image and restore pefectly fine without preseeding USB, once i try the preseed options everything goes good until the end where it goes to restore sda2, i am getting a "Read image_hdr=0 error,
partclone failed, please check /var/log/partclone.log
pigz: Skipping: <stdin> empty
failed to use partclone program to save or restore an image</stdin>
Failed to restore partition image file /home/partimage/*image name
Maybe this image is corrupt or there is no /home/partimage/image name*
But like i mentioned above if i dont use the preseed option and do everything the long manual way it works fine to restore and upload images.
here are my preseed options:
label Clonezilla live
MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live Auto (Default settings, VGA 800x600)
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-live-general" ocs_live_extra_param="0" net.ifnames=0 ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=administrator,password=empty //192.168.1.1/images /home/partimag" ocs_prerun4="sleep 2" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -r -j2 -c -scr -p true restoredisk ask_user sda"
TEXT HELP
Boot menu for BIOS machine
Clonezilla live version: 2.5.5-38-amd64. (C) 2003-2018, NCHC, Taiwan
Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey so im trying to restore an image using clonezilla-live-2.5.5-38-amd64 (From USB), and ubuntu-16.04.4-desktop-amd64 running on my server with SAMBA. I am able to upload the image and restore pefectly fine without preseeding USB, once i try the preseed options everything goes good until the end where it goes to restore sda2, i am getting a "Read image_hdr=0 error,
partclone failed, please check /var/log/partclone.log
pigz: Skipping: <stdin> empty
failed to use partclone program to save or restore an image</stdin>
Failed to restore partition image file /home/partimage/*image name
Maybe this image is corrupt or there is no /home/partimage/image name*
But like i mentioned above if i dont use the preseed option and do everything the long manual way it works fine to restore and upload images.
here are my preseed options:
label Clonezilla live
MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live Auto (Default settings, VGA 800x600)
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-live-general" ocs_live_extra_param="0" net.ifnames=0 ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=administrator,password=empty //192.168.1.1/images /home/partimag" ocs_prerun4="sleep 2" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -r -j2 -c -scr -p true restoredisk ask_user sda"
TEXT HELP
ENDTEXT
Normally this kind of issue "Read image_hdr=0 error" is about the hardware. You'd better to check your hardware.
Steven