Which version of Clonezilla live did you use? Pay attention that there are some new boot parameters, so you'd better to check /isolinux/isolinux.cfg before you implement your grub.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
just for what it is worth and though not (totally) related to Clonezilla.
A few months ago, I've written a doc about the creation of a restoration partition. The process uses a distro named NouvaLinux (lightweight distro based on Ubuntu, by a friend of mine who lives here in Bordeaux) under which I run a pair of scripts calling partclone (one of the tools Clonezilla uses in the backstage). I'm using this scheme on the 10 PCs in the training room I'm in charge of.
The documentation is currently available in French only but I'm contemplating translating it if there's demand for that.
Summary: create a dedicated partition, large enough to accomodate the distro and the image(s) to be stored (I set it to 30GB). Install NouvaLinux. Install Grub2. Configure Grub2 (hide and password protect it). Create a bunch of scripts to capture the images and to restore them. That's it.
I would be interested in another solution like this... just want something that works!
I'm getting a little frustrated, it feels like I've wasted my entire week - I've tried for a whole week to get this to work. :-(
How can I contact you directly Jean-Francois?
There are a few different scenarios that I've come to:
(1) Running Clonezilla from the Grub2 menu, I can run it interactively, I can clone and restore no problem.
Typing the script in at the command line that it gives me ("PS you can just type this in next time") works and will clone and restore. (ex. /usr/sbin/ocs-sr -el auto -e2 blah blah)
--BUT-- when I try and put this into Grub2, I can't get it to work - I put it in "ocs-prerun" "ocs-sr" or any most any combination of these.
I've been checking many many many forums - how-to's and tutorials on how to do this, but with no luck.
(2nd scenario)
Running the script from Grub2, I can usually get to one of 3 screens:
(a) can't access TTY
(b) all the way to the Clonezilla program, but on a screen that says "choose mode" and only gives me the option to select "reboot" "Power down" and CMD and so on.
(c) can't load modules or modules not found...
I feel like I'm simply missing a package or two. Am I completely wrong and am actually really far from getting this to work?
I would really like to stick with this version(Clonezilla): I have a machine that was purchased as a turnkey machine that has this built in with a nice "pretty" window with a countdown with the option to do a "factory reset" or capture and/or restore a custom image or boot to Windows.
All I can see on that screen when the process is running is "Partclone" with the Status window I can see in Clonezilla.
One button push, with a prompt: are you sure? and it does everything automatically.
Any help at all would be greatly appreciated.
What do I need to install with Clonezilla on a clean install to make this work?
Thank you!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Justynr.
Did you check? http://clonezilla.org/livehd.php
Besides, please post your grub2 config file, and tell us the exact error messages on the screen. You can take a photo then post it. That will be easier for us to solve the problem there.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i very interested to install Clonezilla on HDD and create menu like this - http://clonezilla.org/related_article/009_Multiple_customized_Clonezilla_on_hard_drive/MultipleCustomClonezilla.html
backup_sda1.sh
#!/bin/bash
#
#
#
mkdir -p /home/partimag/
mount /dev/sda2 /home/partimag/
#
/opt/drbl/sbin/ocs-sr -q -c -j2 -z1 -i 20000000 -p reboot saveparts "last" "sda1"
restore_sda1.sh
#!/bin/bash
#
#
#
mkdir -p /home/partimag/
mount /dev/sda2 /home/partimag/
#
/opt/drbl/sbin/ocs-sr -q -c -j2 -z1 -i 20000000 -p reboot saveparts "last" "sda1"
title Create XP Image - backup_sda1.sh
root (hd0,2)
kernel /live-hd/vmlinuz1 boot=live noswap nolocales edd=on nomodeset ip=frommedia live-media-path=/live-hd vga=791 toram=filesystem.squashfs bootfrom=/dev/sda3 noprompt noprompt ocs_live_run="/live/image/live-hd/backup_sda1.sh" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=791
initrd /live-hd/initrd1.img
boot
title Restore XP Image - restore_sda1.sh
root (hd0,2)
kernel /live-hd/vmlinuz1 boot=live union=aufs ip=frommedia live-media-path=/live-hd vga=791 toram bootfrom=/dev/sda3 noprompt noprompt ocs_live_run="/live/image/live-hd/restore_sda1.sh" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=791 nolocales
initrd /live-hd/initrd1.img
boot
Why this not work ?
Which version of Clonezilla live did you use? Pay attention that there are some new boot parameters, so you'd better to check /isolinux/isolinux.cfg before you implement your grub.
Steven.
Hi steven_shiau
I use clonezilla-live-20101106-maverick.iso i will look what is in /isolinux/isolinux.cfg.
Can you comment my recent post ?
Thnaks.
Any update on this?
This is exactly a setup that I need to have!
I have seen it... I know it's possible, just not sure how to set it up!
Thanks
Hi Justynr,
just for what it is worth and though not (totally) related to Clonezilla.
A few months ago, I've written a doc about the creation of a restoration partition. The process uses a distro named NouvaLinux (lightweight distro based on Ubuntu, by a friend of mine who lives here in Bordeaux) under which I run a pair of scripts calling partclone (one of the tools Clonezilla uses in the backstage). I'm using this scheme on the 10 PCs in the training room I'm in charge of.
The documentation is currently available in French only but I'm contemplating translating it if there's demand for that.
Summary: create a dedicated partition, large enough to accomodate the distro and the image(s) to be stored (I set it to 30GB). Install NouvaLinux. Install Grub2. Configure Grub2 (hide and password protect it). Create a bunch of scripts to capture the images and to restore them. That's it.
NouvaLinux is here http://nouvalinux.org/nouvalinux-rescue-cd/
Feel free to contact me privately if you want the documentation. Though it is CC-BY-SA, I didn't find time to make it public yet.
Regards from
Jean-Francois Nifenecker, Bordeaux
I would be interested in another solution like this... just want something that works!
I'm getting a little frustrated, it feels like I've wasted my entire week - I've tried for a whole week to get this to work. :-(
How can I contact you directly Jean-Francois?
There are a few different scenarios that I've come to:
(1) Running Clonezilla from the Grub2 menu, I can run it interactively, I can clone and restore no problem.
Typing the script in at the command line that it gives me ("PS you can just type this in next time") works and will clone and restore. (ex. /usr/sbin/ocs-sr -el auto -e2 blah blah)
--BUT-- when I try and put this into Grub2, I can't get it to work - I put it in "ocs-prerun" "ocs-sr" or any most any combination of these.
I've been checking many many many forums - how-to's and tutorials on how to do this, but with no luck.
(2nd scenario)
Running the script from Grub2, I can usually get to one of 3 screens:
(a) can't access TTY
(b) all the way to the Clonezilla program, but on a screen that says "choose mode" and only gives me the option to select "reboot" "Power down" and CMD and so on.
(c) can't load modules or modules not found...
I feel like I'm simply missing a package or two. Am I completely wrong and am actually really far from getting this to work?
I would really like to stick with this version(Clonezilla): I have a machine that was purchased as a turnkey machine that has this built in with a nice "pretty" window with a countdown with the option to do a "factory reset" or capture and/or restore a custom image or boot to Windows.
All I can see on that screen when the process is running is "Partclone" with the Status window I can see in Clonezilla.
One button push, with a prompt: are you sure? and it does everything automatically.
Any help at all would be greatly appreciated.
What do I need to install with Clonezilla on a clean install to make this work?
Thank you!!!
@Justynr.
Did you check?
http://clonezilla.org/livehd.php
Besides, please post your grub2 config file, and tell us the exact error messages on the screen. You can take a photo then post it. That will be easier for us to solve the problem there.
Steven.