LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2010, 11:23 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Question Clonezilla question


Hi.
I need to make an image of an ext4 partition which has some free space and then restore it to a smaller partition. Let's say I have 50 GB partition. It contains 20 GB of used space. I need to create an image, reformat HDD and restore this image to a 40 GB ext4 partition (not 50 GB as it was before). Is it possible with Clonezilla?
 
Old 11-30-2010, 11:59 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

I would at first use gparted to decrease the partition and afterwards use Clonezilla. But I did work with Clonezilla only one time and don't have as much experience.
One important limitation of Clonezilla is, that the partition where the image is stored must be at least as big as the original partition. So it seems necessary to decrease the partition before building an image of it.

Markus
 
1 members found this post helpful.
Old 11-30-2010, 12:04 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
If you have the space to save an image of the partition, wouldn't it be easier to rsync your files to that space, then repartition and then rsync your files back?
 
Old 11-30-2010, 12:06 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Quote:
Originally Posted by markush View Post
Hi,

I would at first use gparted to decrease the partition and afterwards use Clonezilla. But I did work with Clonezilla only one time and don't have as much experience.
One important limitation of Clonezilla is, that the partition where the image is stored must be at least as big as the original partition. So it seems necessary to decrease the partition before building an image of it.

Markus
Decreasing the partition can in rare cases lead to data loss, so I would backup first. And if you have succesfully decreased the size of the partition, why would you use clonezilla afterwards?
 
Old 11-30-2010, 01:16 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

@TobiSGD: well, you're right, in fact only copying is necessary. My intention was to answer the question about Clonezilla....
Quote:
And if you have succesfully decreased the size of the partition, why would you use clonezilla afterwards?
this is only necessary when the partitiontable is changed in whole. If the startblock of the partition remains the same one would only resize the partition.

Markus
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
First post! Newbish software question: Clonezilla partition problem Tolmos Linux - Newbie 3 09-13-2010 04:24 PM
clonezilla PXE dpeterson3 Linux - Software 3 06-12-2009 04:32 PM
CloneZilla Q- ver 1.0.2-5 cbjhawks Linux - Hardware 4 02-26-2009 07:43 PM
Q for any CloneZilla users cbjhawks SUSE / openSUSE 4 11-10-2007 09:02 AM
Clonezilla question Buelldozer Linux - Software 1 08-22-2007 09:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration