Results 1 to 10 of 10

Thread: Allocating more HDD to ubuntu after install

  1. #1
    Join Date
    Jun 2013
    Beans
    5

    Allocating more HDD to ubuntu after install

    Hello, this is about the fourth install of ubuntu ive had, never had any problems like this before, but while tring to speed through the installation of 13.04 I fuged up and only allowed around 8gigs for storage from my terrabyte I have I only realized this when I started to do alot on my computer. I do not want to have to delete ubuntu and reinstall because that would be a pain. Is there any way to transfer space? Thanks in advance

  2. #2
    Join Date
    Feb 2008
    Beans
    111

    Re: Allocating more HDD to ubuntu after install

    Well, if you install Gparted, you can mess with the surrounding partitions.
    Shrink the one next to it and then lengthen whatever one you want to lengthen.

    Warning- this has the possibility of deleting your data on whatever you are shrinking so be sure to have a backup just in case.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Allocating more HDD to ubuntu after install

    May be best to post screenshot from gparted (use go advanced and click on paperclip icon) or this:
    sudo parted /dev/sda unit s print

    You cannot use gparted on mounted partitions, but need to use Ubuntu live installer or a separate liveCD with gparted. Even then you often have to click on swap and right click swap off as liveCD like to use swap to speed things up.


    http://partedmagic.com/
    http://gparted.sourceforge.net/faq.php


    Resizing an Ubuntu System Partition Use liveCD so everything is unmounted & swapoff if neccesary
    http://ubuntuforums.org/showthread.php?t=1219270
    http://www.ibm.com/developerworks/li...s-1/index.html


    GParted partitioning software - Full tutorial
    http://www.dedoimedo.com/computers/gparted.html
    Screenshots of using gparted
    http://www.howtoforge.com/partitioning_with_gparted
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Jun 2013
    Beans
    5

    Re: Allocating more HDD to ubuntu after install


    here is the pic of the terminal I after entering that command, hope this helps

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Allocating more HDD to ubuntu after install

    Better just to post text rather than screen shot. Use screen shots for gui apps like gparted. You can also put text into code tags, use Go Advanced editor and click on # to enclose highlighted text in code tags automatically.

    What is in sda5 and can you shrink it? I do not like moving partitions left, but you can, it just takes longer and any power failure corrupts partitions as it has to copy it sector by sector and if half copied it is damaged. Best to have good backups. But it normally works. In fact the only time it does not work is the one time you are in a hurry and do not do the backups.

    Otherwise where due you have extra space? It may then be the old slide puzzle of moving things around to make space.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Jun 2013
    Beans
    5

    Re: Allocating more HDD to ubuntu after install

    Code:
    matt@matt-Lenovo-V570:~$ sudo parted /dev/sda unit s print
    [sudo] password for matt: 
    Model: ATA WDC WD7500BPVT-2 (scsi)
    Disk /dev/sda: 1465149168s
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    
    Number  Start        End          Size         Type      File system     Flags
     1      2048s        411647s      409600s      primary   ntfs            boot
     2      411648s      1373401087s  1372989440s  primary   ntfs
     3      1373403134s  1434222591s  60819458s    extended                  lba
     5      1373403136s  1404329743s  30926608s    logical   ntfs
     6      1404329984s  1421815807s  17485824s    logical   ext4
     7      1421817856s  1434222591s  12404736s    logical   linux-swap(v1)
     4      1434222592s  1465149167s  30926576s    primary   ntfs            diag
    
    matt@matt-Lenovo-V570:~$

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Allocating more HDD to ubuntu after install

    Either screen shot of gparted as it also shows an approximation of use or click on all your partitions to mount them as this command only shows mounted partitions.
    df -h

    And then where are you taking space from?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Jun 2013
    Beans
    5

    Re: Allocating more HDD to ubuntu after install

    Either my C drive or the D
    Either one [IMG][Imgur](http://i.imgur.com/uuqkD1i)[/IMG]
    which ever partiton you think would be the best one

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Allocating more HDD to ubuntu after install

    Gparted did not mount your sda2, shows red icon. Is it hibernated or needs chkdsk? So cannot see how much room you have. Windows needs 30% free space to run well. At 10% it become very slow.

    Bit difficult as you have to move several partitions around and that adds risk. Any power failure during partition editing or moving corrupts data. Usually it works but the one time you do not have a backup is the time power goes out. So good backups are important.

    If you have space in sda2 you can shrink it with Windows disk tools and reboot so Windows can run chkdsk and make other repairs.
    Then with gparted from a liveDVD/Flash so all partitions are unmounted & you may have to click on swap and right click swap off as live installer likes to use swap to speed things up.
    You can then move extended partition into the unallocated. move sda5 left & then move sda6 left, finally expand sda6. I prefer to not queue tasks but run each to make sure it works. The more data you have to move the longer it takes, but do not interrupt or that is the same as a power failure & corrupts data.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Jun 2013
    Beans
    5

    Re: Allocating more HDD to ubuntu after install

    I think it might just be easier to uninstall and reinstall with more space lol

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
  •