is it possible?

Discussion in 'Open Source' started by azaad_shri75, Apr 11, 2006.

Thread Status:
Not open for further replies.
  1. azaad_shri75

    azaad_shri75 BE FREE

    Joined:
    Apr 29, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Akash Ganga
    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.
     
  2. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    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.
     
  3. OP
    OP
    azaad_shri75

    azaad_shri75 BE FREE

    Joined:
    Apr 29, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Akash Ganga
    thanks man.
     
  4. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    again u can use gparted GUI for the same.
     
Thread Status:
Not open for further replies.

Share This Page