Re: [Clonezilla-live] Auto resize partitions?
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Michal S. <hra...@ce...> - 2011-01-12 15:34:12
|
On 12 January 2011 15:07, Steven Shiau <st...@nc...> wrote: > > > On 01/07/2011 11:10 PM, Michal Suchanek wrote: >> >> On 7 January 2011 15:31, Steven Shiau<st...@nc...> wrote: >>> >>> It's possible. >>> With the option "-k1" in the expert mode: >>> >>> http://clonezilla.org/clonezilla-live/doc/02_Restore_disk_image/advanced/09-advanced-param.php >>> >>> Steven. >>> >> No, that's like 10% of what the OP asked for. >> >> Sure, it's a good start but there are issues. >> >> - you cannot shrink partitions > > That's true. No. >> >> - you can only grow the partition proportionally to the size of old >> vs new disk, not arbitrarily >> > True again. However, if you create the partition table on destination disk, > and every partition is equal or larger than the source one, yes, you can use > the option "-k" and "-r" to make it. By doing this, Clonezilla will skip > creating the partition table on the destination, i.e. use the > pre-partitioned disk, and "-r" will let something like resize2fs to make the > file system size match the partition size. > Hope this helps. > If you are going to jump through such hoops you can also use resize2fs on all partitions to shrink them down before making the image and then have clonezilla restore them to the new preformatted disk. Thanks Michal |