I use Clonezilla Live for over a year for setting up windows workstations. I always save and restore entire HDDs and never had problems with Windows (XP, Vista, 7)
Now i have to setup over 50 PCs (same hardware and disk size) with Linux Mint 13. I used the same options as for windows to save the whole HDD of my "Master-PC" to an image and for restoring it on the other machines.
After reboot the restored machines shows me only a command promt with
Grub>
Semms it could not find any bootable Partition?
After one restore prozess i saw in the promt that clonezilla tryes to restore/install grub 1 but did not find any config file. Strange, because my Mint distribution uses grub 2.0 oO
I tryed few different options for restore, but nothing works:
-g auto -e1 auto -e2 -r -j2 -p true restoredisk
-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk
-g auto -e1 auto -e2 -c -j2 -j0 -p true restoredisk
...
I didn't work so much with Linux, so its hard for me to find out whats wrong or get a solution, so, please help me :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do i find out which version my clonezilla is? I use it only with PXE with unattended configs/scripts. Is there a command for shell?
Anyway... i downloaded the latest stable clonezilla version and replaced the filesystem.squashfs and pxe files on my pxe server. Now clonezilla is able to use/restore grub2 from the image file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i use my own script to start the restore prozess and this won't work with the new clonezilla version. Is there a documentation/wiki where i can find informations for that? google gives me nothing :(
Here the Part of my script. It ends with "Fail to find the Clonezilla image home..." (i think "$ocsroot" was resolved with /home/partimag)
image=${response}
##########################LoadCZEnviroment###Beginofthescripts:#LoadDRBLsettingandfunctionsDRBL_SCRIPT_PATH="${DRBL_SCRIPT_PATH:-/usr/share/drbl}".$DRBL_SCRIPT_PATH/sbin/drbl-conf-functions./etc/drbl/drbl-ocs.conf.$DRBL_SCRIPT_PATH/sbin/ocs-functions#loadthesettingforclonezillalive.[-e/etc/ocs/ocs-live.conf]&&./etc/ocs/ocs-live.conf#Loadlanguagefiles.ForEnglish,use"en_US.UTF-8".ForTraditionalChinese,use"zh_TW.UTF-8"ask_and_load_lang_seten_US.UTF-8#Theaboveisalmostnecessary,itisrecommendedtoincludetheminyourowncustom-ocs.#Fromhere,youcanwriteyourownscripts.#StartClonezillaifmountpoint$ocsroot&>/dev/nullthenecho"Clonezilla ready."else["$BOOTUP"="color"]&&$SETCOLOR_FAILUREecho"Fail to find the Clonezilla image home $ocsroot!"echo"Program terminated!"["$BOOTUP"="color"]&&$SETCOLOR_NORMALexitfi#########################restoresdaocs-sr-b-gauto-e2-batch-r-j2-k1-ptruerestoredisk"${image}""sda"reboot-f
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Folks!
I use Clonezilla Live for over a year for setting up windows workstations. I always save and restore entire HDDs and never had problems with Windows (XP, Vista, 7)
Now i have to setup over 50 PCs (same hardware and disk size) with Linux Mint 13. I used the same options as for windows to save the whole HDD of my "Master-PC" to an image and for restoring it on the other machines.
After reboot the restored machines shows me only a command promt with
Grub>
Semms it could not find any bootable Partition?
After one restore prozess i saw in the promt that clonezilla tryes to restore/install grub 1 but did not find any config file. Strange, because my Mint distribution uses grub 2.0 oO
I tryed few different options for restore, but nothing works:
-g auto -e1 auto -e2 -r -j2 -p true restoredisk
-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk
-g auto -e1 auto -e2 -c -j2 -j0 -p true restoredisk
...
I didn't work so much with Linux, so its hard for me to find out whats wrong or get a solution, so, please help me :)
Apparently Clonezilla live does not detect the correct version of grub installed on the restored OS.
Which version of Clonezilla live did you use?
Steven.
How do i find out which version my clonezilla is? I use it only with PXE with unattended configs/scripts. Is there a command for shell?
Anyway... i downloaded the latest stable clonezilla version and replaced the filesystem.squashfs and pxe files on my pxe server. Now clonezilla is able to use/restore grub2 from the image file.
Additional Question...
i use my own script to start the restore prozess and this won't work with the new clonezilla version. Is there a documentation/wiki where i can find informations for that? google gives me nothing :(
Here the Part of my script. It ends with "Fail to find the Clonezilla image home..." (i think "$ocsroot" was resolved with /home/partimag)
image=${response}
Solved too.
the custom script was also too old. Found a tutorial here:
http://clonezilla.org/clonezilla-live/doc/07_Customized_script_with_PXE/00_customized_script_with_PXE.doc
Thx anyway, can be closed
greez
OK, Thanks for sharing that!
Steven.