Resizing / (root) partition
Hi,
Let's being with an example as given below: Here's the current status of the partition / mount point for / (root): Code:
[root@localhost ~]# fdisk -l Note: I have tried LVM and it works for SWAP and other partitions / mount points. However, not sure if it can work for / too. Thanks! |
Assuming you have empty space after the end of that partition, GParted should allow you expand it. Most filesystems should allow you to expand them to fill the newly available space in the partition, but some of them don't supporting being shrunk. GParted (along with the appropriate tools for the given filesystem) should make it pretty easy to expand or shrink a partition and the filesystem. Where supported, you'll only be able to shrink a filesystem by however much free space there is.
For ext2/3/4, the package (in Debian at least) is called e2fsprogs. For ntfs, it's called ntfsprogs. For jfs, it's called jfsutils. Search your package manager for the name of the filesystem and you should see a package in the results with tools or utils or whatnot, that will be the package containing the software that will allow you to expand or shrink (where supported) the filesystem in question. |
Quote:
I would recommend using a live cd (gparted live is fine in this case) to resize /. |
Quote:
|
Well, I have downloaded GParted LiveCD ISO and ZIP files. I will try them and post my findings here. However, I must say that it is a great idea!
Thanks! |
What do you mean by a great idea? Isn't that is what Gparted invented for?
It can do NTFS partitions too. |
"By a great idea"
I meant thanks for letting me know how to do what I asked here. "Isn't that is what Gparted invented for?" Nope, I am not sure of that yet. I have to give it a try and then give my opinions. Thanks for your post! Quote:
|
All times are GMT -5. The time now is 09:34 PM. |