LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-02-2010, 10:25 PM   #1
EdgesofTwilight
LQ Newbie
 
Registered: Feb 2009
Location: Tonawanda, NY
Distribution: CentOS and Ubuntu
Posts: 6

Rep: Reputation: 1
Question Need help with restoring a Clonezilla image to larger partition


I'm trying to restore an image from a 40gb partition(6gb used) to a 100gb partition. I set everything up in gparted and and restored the partition image with clonezilla. In gparted, the partition shows the full 100gb partition with 6gb used, however when I boot windows and open the properties on the C: partition, it shows that it's only 40gb. Is there some setting to restore the partition image and use the full 100gb?

Thanks,

Chris
 
Old 01-02-2010, 11:30 PM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
Clonezilla probably duplicates bitstream fashion. You want to use rsync, and copy files.
 
Old 01-03-2010, 03:59 AM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
Seems like Clonezilla did not resize the filesystem for you. You will need to resize it yourself. If it's NTFS, you can use Windows Vista/7's build in resize option. In Linux you can use ntfsresize.
 
Old 01-03-2010, 08:04 AM   #4
EdgesofTwilight
LQ Newbie
 
Registered: Feb 2009
Location: Tonawanda, NY
Distribution: CentOS and Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ongte View Post
Seems like Clonezilla did not resize the filesystem for you. You will need to resize it yourself. If it's NTFS, you can use Windows Vista/7's build in resize option. In Linux you can use ntfsresize.
I used the options for clonezilla to resize it, but I guess it doesn't want to. I don't own a copy of Vista or 7 so I'll have to use ntfsresize. I'll see if it's on the clonezilla live CD or on the Parted Magic CD. I'll eventually install Ubuntu on another partition once I get this straightened out on this laptop.

Thanks,

Chris
 
Old 01-03-2010, 09:17 AM   #5
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
When resizing a partition, first the partition itself is extended, then only the filesystem inside is extended. It should have resized the filesystem, but somehow it failed to do it. Possible because the filesystem was unclean. I don't know if Clonezilla LiveCD includes ntfsresize (it should)
 
Old 01-03-2010, 09:40 AM   #6
EdgesofTwilight
LQ Newbie
 
Registered: Feb 2009
Location: Tonawanda, NY
Distribution: CentOS and Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 1
I did see something saying that it was unclean this time around. What would cause that?
 
Old 01-03-2010, 09:53 AM   #7
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
Filesystem marked unclean means it was probably not shutdown properly.
Such as if you force shutdown with the power button or unplug an external drive without safe removal / unmounting first.

You will need to make it clean before you can even mount it in Linux. If you have windows, just boot into windows & run a chkdsk on the drive & then shutdown properly. (this is the best option) If not, in Linux you'll need to install ntfsprogs & run ntfsfix on the partition. ntfsfix is not a complete chkdsk replacement & cannot repair all errors, so running chkdsk is better if possible.
 
Old 01-03-2010, 09:59 AM   #8
EdgesofTwilight
LQ Newbie
 
Registered: Feb 2009
Location: Tonawanda, NY
Distribution: CentOS and Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 1
I don't know why it would be then. I used Parted Magic to create and format the partitions. Weird.
 
  


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
Restored Partimage image on a larger partition, problems. Romanus81 Linux - Hardware 1 01-02-2009 12:34 AM
Problem with restoring Suse partition from image JLipcsey Suse/Novell 6 06-30-2008 12:45 PM
A problem with Linux after restoring a partition image JesseB Linux - Newbie 2 11-06-2007 02:31 PM
Using Clonezilla linux partition image to windows ssh server killerforce Linux - Hardware 1 06-01-2007 10:17 AM
Slightly OT : Restoring Drive Image to Resized Partition dlocalized Linux - Newbie 10 11-28-2003 03:36 PM


All times are GMT -5. The time now is 08:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration