It is currently Thu Sep 18, 2014 3:37 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Clonezilla for Hard Disk Cloning section
PostPosted: Sat May 15, 2010 2:34 am 
Offline

Joined: Sat May 15, 2010 2:02 am
Posts: 2
I just wanted to suggest Clonezilla for Hard Disk Cloning section of UBCD. Using this tool myself for a year and it have saved me lots of time while preparing new computers (especially new laptops with default loads of crap). It can clone directly via lan, it can save and restore images, etc. Though, this project is a bootable linux cd itself, so i'm not sure if this is possible to include into UBCD. Would be handy to have all the tools in one bootable cd :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 15, 2010 3:26 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
UBCD would become very big if clonezilla would be added.
But it isn't that hard to add clonezilla yourself to UBCD.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 31, 2010 4:50 pm 
Offline

Joined: Mon May 31, 2010 4:35 pm
Posts: 7
Location: Lincolnshire, UK
I had this idea before looking through these forums and I can tell you from [my lack of Grub4Dos/Linux] experience that Icecube is wrong when he says it isn't that hard. It took me the best part of 20 hours over 3 days to find the right combination of boot parameters!

In case you haven't got yours working yet, assuming you even tried to implement it yourself, here's the code I've settled on which works perfectly from CD but which I haven't tested from USB:
Code:
title CloneZilla\n Load CloneZilla to backup or restore your hard drive.
kernel /ubcd/custom/CloneZilla/live/vmlinuz live-media-path=/ubcd/custom/CloneZilla/live bootfrom=/dev/sr0 boot=live union=aufs noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=792 ip=frommedia
initrd /ubcd/custom/CloneZilla/live/initrd.img


Just download the latest version of CloneZilla, I made this with the Debian build so it may not work for the Ubuntu (alternate) build, and extract the contents of the ISO. I did this to a folder called CloneZilla in UBCD's custom folder as you can see in the code.
I'm not sure if its just Debian or if its normal across Linux, but the CD is mounted as /dev/sr0, if you omit the bootfrom parameter or use a different value then it just won't work.
Although, I must admit I don't understand most of these parameters as I just kept throwing different combinations together from all over the internet until this lot worked. So some might not be necessary and some might make it work better with different values, I'll leave you to play with it as you will.


But yeah, after the struggle I went through to get this working I'll be happy if that code helps even one just one person. Whether its you, wroot, or anyone else browsing the internet looking for some guidance.

Enjoy!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2010 9:49 am 
Offline

Joined: Sat May 15, 2010 2:02 am
Posts: 2
Thanks for your effort and sharing this information ;)


Top
 Profile  
 
 Post subject: A Working Guide to adding Clonezilla to UBCD
PostPosted: Tue Jun 01, 2010 12:29 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
This is for the debian version of clonezilla but shouldnt be much different from ubuntu version.

1. Extract clonezilla...lets say we extracted it to C:\clonezilla and UBCD501 is extracted to C:\ubcd-extracted
2. Move folders "live" and "home" from C:\clonezilla to C:\ubcd-extracted They have to be at the root of the drive.
3. So you dont get confused with any other configs...move from clonezilla the folder "syslinux" (for USB Drive booting) or "isolinux" (for cd/dvd drive booting) to "C:\ubcd-extracted\ubcd\menus\clonezilla". "C:\ubcd-extracted\ubcd\menus\clonezilla" should now contain one of the folders. (you can really move it anywhere as long as you change references to point to it instead)


The isolinux folder contains the isolinux.cfg for cds/dvds which contains all the information you need. The folder syslinux contains syslinux.cfg for USB drives, which again, contains all the boot parameters you need. Very little trial and error is required. You could easily point the custom.cfg to open the correct configs depending on what media you are using to boot such as:

Add one of the options below to your "C:\ubcd-extracted\ubcd\custom\custom.cfg"

For Booting CD's/Dvd's:
Code:
MENU LABEL Clonezilla Live v1.2.5
COM32 /ubcd/menus/clonezilla/isolinux/menu.c32
APPEND /ubcd/menus/clonezilla/isolinux/isolinux.cfg


For Booting USB's:
Code:
MENU LABEL Clonezilla Live v1.2.5
COM32 /ubcd/menus/clonezilla/syslinux/menu.c32
APPEND /ubcd/menus/clonezilla/syslinux/syslinux.cfg


It will load the config files and look like you booted Clonezilla normally.

If you are going to do this, I would recommend adding to both configs (clonezilla's isolinux.cfg or syslinux.cfg) a BACK option:

For CD's/DVD's (add to C:\ubcd\menu\clonezilla\isolinux\isolinux.cfg):
Code:
MENU LABEL ..Back
COM32 /ubcd/boot/isolinux/menu.c32
APPEND /ubcd/custom/custom.cfg


or

For USB Drives (add to C:\ubcd\menu\clonezilla\syslinux\syslinux.cfg):
Code:
MENU LABEL ..Back
COM32 /ubcd/boot/syslinux/menu.c32
APPEND /ubcd/custom/custom.cfg


Remaster the ISO if you are burning it to CD/DVD and used isolinux options from above.

I have TESTED on USB AND CD options, and they boot flawlessly. You don't need any special parameters or any other tweaking. Not sure what issue you were having. If you have any other questions, please feel free to ask.

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group