Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

clone ext3 partitions to smaller disk

45 views
Skip to first unread message

rickyle...@gmail.com

unread,
Jan 23, 2013, 1:45:40 AM1/23/13
to
I need to clone EXT3 partions to new smaller hard disk.
I thought to create manually partition table (by fdisk) on my new disk with correct partitions size, then I will copy every partition content by followed command:

cp -dpPR <source> <destination>

or

find . -mount0 -print0 | cpio -0dump <destination>


I wish to use whole size of my new disk which will host the new resized partitions.
I thought to reduce by Gparted partitions on original disk but it's very difficult to get exact size which correspond to new disk size.



Suggestions ?

Octothorpe

unread,
Jan 23, 2013, 8:50:02 AM1/23/13
to
create new partition

boot to rescue cd/dvd

mount partitions

rsync -var <old partition> <new partition>

install grub
0 new messages