DIGIT-ARC read-only archive · snapshot: July 23, 2026

is it possible?

4 posts · originally from https://geek.digit.in/community/threads/is-it-possible.26816/

A
azaad_shri75 Original post #1
Apr 11, 2006 at 7:33 AM
Is it possible to retrieve free space from a hdd installed with linux, it is like this I installed rhel4 on the machine and dedicatd complete 20gb hdd for it now I know more than 13gb is free ,what i want is to slice out 5-6 gb of it to install other OS,are there any commands,is resize of any use,please let me know.
desertwind
Apr 11, 2006 at 12:29 PM
Yes, parted can do that. But I warn you, if you are a n00b or not, resizing / partition is not recommended. And furthermore you need to unmount the partition you need to resize, so better use a livecd like ubuntu for doing that.

The command is as follows

Code:
parted -i /dev/hda resize hda1 0 10240

This will resize /dev/hda1 to 10 GB starting from 0 MB.

Better use a frontend for parted like gparted or QTparted.
praka123
Apr 14, 2006 at 8:24 AM
again u can use gparted GUI for the same.