Freeing up disk space from Linux and including in PC!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xploreraj
    New Member
    • Jan 2010
    • 49

    Freeing up disk space from Linux and including in PC!

    Hi,
    I have recently dual-booted my system with Windows 7 as well as Fedora, but in the process, I have freed up 95 GB of NTFS disk space from Windows 7 and installed Fedora OS on that. But I just want 5 GB for Fedora, and the remaining 90 GB be added back to Windows. Please help me with elaborate steps.

    Regards,
    xploreraj
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    Could you please post your disk/partition structure?
    For Windows as well as for Fedora?

    Comment

    • xploreraj
      New Member
      • Jan 2010
      • 49

      #3
      Thanks for reply. Herein I am giving you what I have understood:

      Image: http://ow.ly/i/4cCr/original

      Please elaborate for any other steps.

      In the image, you'll find the 93 GB space to be free. That's where I have installed Fedora, and in Fedora OS, it shows that free space is 83 GB and remaining space is used. Now I want to relocate space back to Windows and keep around 5 GB for Fedora. So, please help me in this regard.


      Regards,
      xploreraj

      Comment

      • ashitpro
        Recognized Expert Contributor
        • Aug 2007
        • 542

        #4
        I am not able to see your image.
        Anyways, What I have understood is, some ext3 partitions on fedora has taken 93 GB space.
        e.g.
        /boot 4 GB
        /opt 89 GB (out of which 83 GB is free)

        In your case partitions may be different. For now I call /opt as partition to be re sized.

        Ideally, you will have to resize that partition and make it as free. Then boot into windows and merge that free space in adjacent drive.

        For resizing on fedora you can use 'gparted'
        See how to use it here:

        This guide will show you how to resize partitions and create new ones using the GParted Live CD/USB utility in Linux.


        Later, on windows you can use 'partion magic' or anything which is your favorite tool to merge the free space.

        Comment

        • xploreraj
          New Member
          • Jan 2010
          • 49

          #5
          Hi, I have added an image link. Please see it.


          Regards,
          xploreraj

          Comment

          • ashitpro
            Recognized Expert Contributor
            • Aug 2007
            • 542

            #6
            Cool !!
            Now Boot into fedora. Open gnome-terminal and type following commands and send me the output.

            fdisk -l
            df -h

            Comment

            • xploreraj
              New Member
              • Jan 2010
              • 49

              #7
              Dear AshitPro,

              here is the output:

              [xploreraj@local host ~]$ fdisk -l
              [xploreraj@local host ~]$ df -h
              Filesystem Size Used Avail Use% Mounted on
              /dev/sda7 92G 3.7G 84G 5% /
              tmpfs 1.5G 344K 1.5G 1% /dev/shm
              [xploreraj@local host ~]$ ^C
              [xploreraj@local host ~]$


              Regards,
              xploreraj

              Comment

              • ashitpro
                Recognized Expert Contributor
                • Aug 2007
                • 542

                #8
                Fine..

                here all disk space is allocated to partition '/'

                Like I said earlier you need 'gparted' to resize and free the space out of '/'.

                You can use 'parted' as well, but it would be difficult for you.

                Try installing gparted, let me know if you have any trouble with that. you can search for google for installing gparted. Later visit the link I have sent in earlier post.

                Comment

                • xploreraj
                  New Member
                  • Jan 2010
                  • 49

                  #9
                  Okay, thank you. I am working out your recommendations .


                  Regards,
                  xploreraj

                  Comment

                  Working...