is it possible?

Status
Not open for further replies.
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

Cyborg Agent
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.
 
Status
Not open for further replies.
Top Bottom