On 01/12/2011 11:33 PM, Michal Suchanek wrote:
> On 12 January 2011 15:07, Steven Shiau<steven@...> wrote:
>> On 01/07/2011 11:10 PM, Michal Suchanek wrote:
>>> On 7 January 2011 15:31, Steven Shiau<steven@...> wrote:
>>>> It's possible.
>>>> With the option "-k1" in the expert mode:
>>> 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.
Sure. This can be done in the expert mode in the future. For the time
being, to save an image, we'd better to keep the way it is, i.e. not to
touch its file system.
Steven Shiau<steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A