2

I installed ubuntu on my machine with only 80 GB of memory anticipating that I will remove it later but now I want to keep it forever (until I am frustrated with linux). I have 500 GB in my machine and now I want to use that raw 420 GB of space. How I can I do that ?

with "space/memory" I am referring to secondary memory not Ram.

Here is output of :

sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000dcb77

Device Boot Start End Blocks Id System /dev/sda1 * 2048 136718335 68358144 83 Linux

1
  • can you please post the output of sudo fdisk -l
    – squareborg
    Dec 16, 2012 at 17:03

3 Answers 3

3

open your terminal and type this

sudo apt-get install gparted 

Then type as

gksudo gparted 

then you can find your space over there and you can create partitions .

7
  • Well..I cannot access this newly created partition neither I can update permissions
    – Ravi.Kumar
    Dec 16, 2012 at 17:29
  • There is a limit of creating primary partitions . so how many you did ?
    – Raja G
    Dec 17, 2012 at 1:36
  • I just created only one partition the way you said. Do I need to specify something else ?
    – Ravi.Kumar
    Dec 17, 2012 at 6:30
  • No just you need to mention what type it is . try again . select It click at New and format to your required type .
    – Raja G
    Dec 17, 2012 at 9:09
  • should I create as extended partition ?
    – Ravi.Kumar
    Dec 17, 2012 at 15:53
3

Boot with LiveCD and adjust the size of your Ubuntu partition with GParted as you wish, which is pretty intuitive to use: enter image description here

PS: If you boot with your installed Ubuntu, you could not adjust the partition size since it is already mounted.

3

You currently have 1 partition sda1 with your entire Linux system on it.

You have two options:

1) Extend your existing partition.

To make your current system use the disks entire space you will have to use a Live CD to boot your system and then modify your partition to take up the rest of the available space.

GParted is a good Live CD available here.

Insert the CD, reboot your system using the Live CD, and follow this tutorial it will show exactly how to resize the partition using gparted.

2)Alternativly you can add an additional partition.

You can add an additional partition to the disk, the second partition can take up the remaining space this can then be mounted somewhere on your filesystem like /var/morespace/ this will let you use this for storage.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .