You are not logged in.

#1 2012-07-04 10:12:31

ciembor
Member
Registered: 2008-03-30
Posts: 57

Moving system partitions to another disk

Hi. I bought SSD few days ago. I decided to copy my current partitions with Arch and Win7 to this new disk. I followed this article: http://www.nilbus.com/linux/disk-copy.php. And I have two problems.

First of all - I have now more space for system, so I set in cfdisk 40GB for each Arch and Win7. I copied partitions with ntfsclone and ddrescue. What see df?

rootfs           33G   28G  2,9G  91% /

This is size of my old partition. And what see gparted?

size: 37.34GiB      used: 32.82GiB      free: 4.53GiB

How can I resize this partition to take all this place?

The other problem is much more frustrating - Windows doesn't boot after I choose it in Grub sad.

Offline

#2 2012-07-04 10:53:25

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: Moving system partitions to another disk

Have you reconfigured grub since your move? UUID or /dev/sdX may have changed since the move...

Did you have 2 windows partitions? If windows was installed with a small 100MB partition in front of the "main" windows partition you will need both.

Offline

#3 2012-07-04 11:00:52

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: Moving system partitions to another disk

ciembor wrote:

How can I resize this partition to take all this place?

Resize partition with gparted (or sfdisk or other tool) and resize filesystem with resize2fs (for ext2/3/4). Make sure you have backup.

Offline

#4 2012-07-04 19:15:39

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Moving system partitions to another disk

You can also use "cp -a" instead of ddrescue.

Offline

Board footer

Powered by FluxBB