moving and merging partitions
What software will move and merge disk partitions or unused sections? I moved all files on a partition to some other location, and don't need the now-empty partition anymore, so I want to delete the partition and consolidate it with the other unused space. I tried to do it in Gparted, but I guess it can't. I think I did it once with Partition Magic, but that was a long time ago and I have no idea if Partition Magic is around anymore.
|
Quote:
What did you try, and what didn't work. |
Post your partition information, the output of fdisk -l run as root.
To merge unallocated space with a partition it needs to be contiguous. If you delete a logical partition, any logical partition with a lower number will have its partition number changed which can cause problems. You need to unmount a partition before you can act on it. Posting more info as requested would be your first step to get help. |
Code:
Disk /dev/sda: 160 GB, 160039272960 bytes |
sda4 is an Exteneed partition and sda5 - sda8 are logical partitions within the Extended partition. sda3 is between sda2 and sda4 so you can't merge them sda2 into the Extended partition, sda4. The easiest thing to do is to just use sda2 as a data partition. Is your system partition sda3? If it is and you moved the Extended partition to the left you would potentially create all kinds of problems.
|
I keep my two Linux distros on sda6 and sda7 on the extended partition. Sda3 is my home partition. I keep rips of all my CDs on sda8. Well, I was afraid I couldn't move the empty space easily. That answers my question.
|
Quote:
Delete sda2, move sda3 left, enlarge sda4, then shuffle the logicals as needed. I have done this several times - can be time consuming, but is safe. It is possible fstab and (especially) the bootloader may need some attention, but certainly do-able. Best done from a liveCD. |
I was mistakenly assuming his system partition was on sda3 which would have created problems with booting, particularly for a new user. With his Linux distros on the logical partitions, it should not be a problem although I'm not sure about the 'easily' part of it for a new user. Given the needs of the OP and the structure, it would probably be simpler to delete sda2 and move sda3, the /home partition to the left.
|
All times are GMT -5. The time now is 09:23 AM. |