LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-03-2010, 09:05 AM   #1
ingyhere
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Clonezilla Strategy: Larger to Smaller HDD


Hello Linux Gurus,

I've schemed a plan to defeat Clonezilla's limitation of going from larger to smaller HDDs:

1) Create imageable disk;
2) Resize main partition to smallest possible using gparted (leave unused space on disk);
3) Image disk with Clonezilla;
4) Burn to smaller HDD that is larger than shrunken partitions.

Will this work? In other words, does Clonezilla rely on partition tables or physical drive geometry?

Peace Out,

IngyHere
 
Old 09-04-2010, 06:03 PM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
gparted claims to do resizing without loosing data. In that case, then both the filesystem and the partition are resized and a new partition table is written. If Clonezilla does partition based backups, then you shouldn't have a problem. It would be a next to useless tool if it only did full harddrive backups.
 
Old 09-04-2010, 06:59 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,126

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
Agreed.
Clonezilla is a wrapper for several tools - partition backups appear to be (as hoped) partition based; and only the used portion which is even better.
I keep meaning to test it, but never have.
 
Old 09-12-2010, 01:47 PM   #4
ingyhere
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ingyhere View Post
Hello Linux Gurus,

I've schemed a plan to defeat Clonezilla's limitation of going from larger to smaller HDDs ...
Tested and this works great. The key is shrinking partitions and re-enlarging them on deployed hard drives. Solved.
 
Old 12-08-2010, 06:52 AM   #5
RickyRockRat
LQ Newbie
 
Registered: Apr 2005
Location: boise
Distribution: Red Hat - 6.2,7.3,9.0,FC3,FC4, FC5, Debian-3.1, Ubuntu 7x,8x,10x, DSL
Posts: 14

Rep: Reputation: 0
Clonezilla can and will save just the used parts...

Clonezilla in any mode that has a supported file system, will only save data that is used. It does not store unused bytes. You can force it to, of course, but the normal operation is to just save what is used.

dd on the other hand will blindly copy everything.
 
Old 04-12-2011, 06:39 PM   #6
dennislinux
LQ Newbie
 
Registered: Apr 2011
Posts: 1

Rep: Reputation: 1
Thank you.. this works flawlessly.

Simply resize linux partition with gpart and afterward use clonezilla's partion to partion.


Now why don't they put both into one single iso??
 
1 members found this post helpful.
Old 09-04-2012, 05:25 PM   #7
ethos101
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
I just figured this one out and thought I'd post a helpful hint: gparted can do partition copying, so you don't need clonezilla to do this type of operation.

Quote:
Originally Posted by dennislinux View Post
Thank you.. this works flawlessly.

Simply resize linux partition with gpart and afterward use clonezilla's partion to partion.


Now why don't they put both into one single iso??
 
  


Reply

Tags
clonezilla, partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install CloneZilla image to smaller disk EricTRA Linux - Software 1 08-18-2010 04:36 PM
Need more details on how to clone a larger disk to smaller with cp Mountain Linux - General 27 07-13-2010 11:04 PM
Clonezilla Live: Cloning to smaller HD Codegen Linux - Software 3 02-04-2010 05:32 PM
Need help with restoring a Clonezilla image to larger partition EdgesofTwilight Linux - Newbie 7 01-03-2010 08:59 AM
Clonezilla restore to smaller partition jean.eckard Linux - General 5 10-10-2009 08:51 AM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration