Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Okay, so, I'm running out of root space (sda3, in fact) and need to expand things. I found Gparted Live, and tried it out. So far, I'm delighted...but (yep, here we go again) paranoid as I am, I'd like to double check before letting that loose on my box.
Bottom-line question:
Anyone had bad experience resizing partitions with Gparted Live?
Disk layout
/dev/sda1 Boot
/dev/sda2 Swap
/dev/sda3 Root file system, getting cramped
/dev/sda4 Home partition, with some 145 Gb left over
The plan: shrink sda4 and move it to the "right" ,the outer/read end of the disk, then expand sda3 to take in the ajacent space...
As I mentioned, this works, but ... well, you know...
Duly noted, in fact, I've taken this advice at heart and have made a backup last night...
All that's left to do is to take a deep breath, and jump in the pool where the water is too cold
There have been a few reports on LQ of gparted doing unexpected things (sorry -- not easy to find them for reference). There have not been any about fdisk or cfdisk. parted (the command line utility behind gparted?) has rarely (ever?) been mentioned on LQ but it is advisedly the one we should all be using now. I prefer cfdisk.
Neiter fdisk nor cfdisk are able to resize partitions, parted is not able to do the necessary file-system modifications, so GParted is the way to go, IMHO.
Tobi, reconsider all that. gparted just builds on libparted.
Parted lacks the ability to modify filesystems in versions newer than 2.4, this is mentioned in their README in the tar-ball. libparted has, AFAIK, this functionality still implemented.
I also can't find options to shrink a partition in fdisk and cfdisk.
Also, while GParted is based on libparted, it also integrates file-system tools that are use for creating and resizing filesystems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.