Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Total filesystem capacity 10GB? Should be about 90GB

  1. #1

    Total filesystem capacity 10GB? Should be about 90GB

    Hi

    I have just installed ubuntu 12.04 using a USB.
    I have been using 10.04 for a couple of years and I'm dual-booting with Win7.
    When starting the installation I chose the option to remove 10.04 completely and replace it with 12.04.

    Everything appears to be working ok except that I should have around 90GB of disk space for ubuntu - but I only appear to have 10GB.

    This is what I see for ubuntu space when I look in disk utility:
    Device: /dev/sda5 - Swap Space (4.1GB)
    Device: /dev/sda7 - 10GB ext4 (Capacity 10GB) Mounted at /
    Device: /dev/sda6 - 82GB ext4 (Capacity 82GB) Not mounted

    I can see a 'Mount volume' button that I can click but I want to make sure that I'm not gonna mess anything up...

    Can anyone help?

    I'm using the 64bit version of 12.04.

  2. #2
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Total filesystem capacity 10GB? Should be about 90GB

    You have /dev/sda7 mounted as / (root) (10GB)
    But /dev/sda6 is not mounted (82GB)

    Total = 92 GB

    It seems that you were using a /home partition in your old distribution.

  3. #3

    Re: Total filesystem capacity 10GB? Should be about 90GB

    Thanks for the quick reply, albandy.
    Is this something that I can fix easily?

  4. #4
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Total filesystem capacity 10GB? Should be about 90GB

    Quote Originally Posted by TheTeamFromMars View Post
    Thanks for the quick reply, albandy.
    Is this something that I can fix easily?
    How do you want to use this partition?
    You can use it as /home (no reinstall)
    or
    delete both: / and the free space partition and reinstall ubuntu using all the space.

  5. #5

    Re: Total filesystem capacity 10GB? Should be about 90GB

    I think I'd prefer to use all of the space.

    Not sure what the /home partition was for in the first place.
    I didn't know anything about linux and installed ubuntu by following the steps in a youtube video - so I just did whatever it told me to do

    So, how do I go about deleting / and the free space partition and reinstalling?

  6. #6
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,516
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Total filesystem capacity 10GB? Should be about 90GB

    It's much better to keep /home as separate partition. That allows you to make clean installs in future and keeping all your documents and settings in Home untouched.

    But when you do the install you have to tell it to use sda6 as /home. If that is what it was. I would expect the installation to make this happen for you if sda6 was /home before. But maybe it wasn't, or it didn't take care about it.

    You don't remember the procedure you followed, what partitions did you set up?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  7. #7
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Total filesystem capacity 10GB? Should be about 90GB

    Quote Originally Posted by TheTeamFromMars View Post
    I think I'd prefer to use all of the space.

    Not sure what the /home partition was for in the first place.
    I didn't know anything about linux and installed ubuntu by following the steps in a youtube video - so I just did whatever it told me to do

    So, how do I go about deleting / and the free space partition and reinstalling?
    The easiest way is to resize the partition using the liveCD and then reinstall erasing the old installation.

    You can use gparted an utility similar to Partition Magic.

    If gparted is not installed in the live cd you can install it by using apt:
    sudo apt-get install gparted

  8. #8
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,516
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Total filesystem capacity 10GB? Should be about 90GB

    Quote Originally Posted by albandy View Post
    The easiest way is to resize the partition using the liveCD and then reinstall erasing the old installation.

    You can use gparted an utility similar to Partition Magic.

    If gparted is not installed in the live cd you can install it by using apt:
    sudo apt-get install gparted
    Actually, if you want to reinstall using the whole space, and you have no data to keep, the easiest is to boot into live mode, open Gparted, delete sda5, sda6 and sda7, and then also the extended partition that was holding them. Make sure you don't delete any windows partitions.

    After that simply start the install and it will use that unpartitioned space.

    Note that to delete swap you will probbaly need to right-click it and select Swapoff. That will make the keys symbol go away in Gparted, so you can manipulate the partition.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  9. #9

    Re: Total filesystem capacity 10GB? Should be about 90GB

    Ok so if it's better to keep /home as a separate partition then I'll do that.

    darko: I think I found the youtube clip that I originally followed when first installing ubuntu and I would have set it up like this:

    /dev/sda5 - Swap Space - (4.1GB)
    /dev/sda7 - Root - 10GB ext4 (Capacity 10GB)
    /dev/sda6 - /home - 82GB ext4 (Capacity 82GB)

    So I think what happened during the install of 12.04 is that it just didn't use the /home partition. If I can get that back in business then that's all I want to do...
    Last edited by TheTeamFromMars; April 30th, 2012 at 01:53 PM.

  10. #10
    Join Date
    Jul 2009
    Beans
    471
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Total filesystem capacity 10GB? Should be about 90GB

    Have you still got access to your files that were in your old home directory? Do you want access to them?? It may be that they're still intact on sda6, you'd just need to manually mount it to check. You should be able to get at it from Nautilus, the file manager, by clicking on the drive or you can use the mount command.

    Presumably there's nothing of any importance in your new home directory so you'd be quite happy to delete it?

    Reboot Ubuntu into Recovery Mode to a root shell.

    Now type "rm -rf /home/*" to remove your new (empty) home directory.

    Type "blkid -s UUID -o value /dev/sda6 >> /etc/fstab" to get the UUID of that partition. If you're familiar with vi/vim you could run ":r!blkid -s UUID -o value /dev/sda6" to run the command directly within the editor.

    Next edit the line, with nano / vi, so it looks something like
    Code:
    UUID=11111111-2222-3333-4444-555555555555 /home            ext4    defaults        0       2
    replacing the UUID value with yours for /dev/sda6.

    Save the file and reboot. You'll then have access to your old home partition.
    Mark your thread as [SOLVED], use Thread Tools on forum page.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •