I ran out of space in my on the drive only to find that there was another unformatted partition in the system that is available. I now want to resize the current partition to take in the empty partition without losing data. Any ideas?
boot from live Linux distro (you can use Ubuntu install disk) and use gparted But always something can go wrong, so it is advisable to make a The other option is to format the unused partition and mount it and use it (depending on the size) as /home or /usr |
|||
|
Try this live CD: PartedMagic |
|||
|
LVM is the way to go. Turn your whole spindles into PV's and migrate from legacy partition-based model to LVM model. RedHat has some good documentation on LVM, check it out. |
|||||||||||||
|
Are you sure that this isn't your swap-partition? Beside from that I would recommend LVM as mentioned before by slashdot. |
|||
|
I've resized my partition successfully without the loss of any data using the method described here, which generally is about deleting the current partition and creating a new one with the same start and a greater end. But that is probably not the recommended way, especially when the partition to be resized is in between other partitions, because, in my case I had to remove all my partitions (primary storage and swap) and had to recreate them all. |
|||
|
fdisk -l /dev/sda
(or whatever your disk's device is called) – jsbillings Feb 8 '11 at 21:00