Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a 1TB hard drive. :P

The problem is that I've already installed Ubuntu 12.04, but I did not make any separate partitions beside the one the operating system is installed on.

Now I want to make a new such partition.

Is this possible?

share|improve this question
5  
It's unlikely that you installed Ubuntu without creating any partition. By default Ubuntu creates two partitions--a partition for the root filesystem, and a swap partition. What exactly are you trying to do? Do you need to create a separate partition? Also, please open a Terminal window (Ctrl+Alt+T) and run sudo fdisk -l, then provide the output by editing your question, so we can see what your partition layout looks like currently. –  Eliah Kagan Aug 21 '12 at 17:57
    
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x000ed8f3 Device Boot Start End Blocks Id System /dev/sda1 * 2048 1936752639 968375296 83 Linux /dev/sda2 1936754686 1953523711 8384513 5 Extended /dev/sda5 1936754688 1953523711 8384512 82 Linux swap / Solaris ash@ash-System-Product-Name:~$ –  user83467 Aug 21 '12 at 17:58
3  
As @EliahKagan said, edit your question with these details. Please do not post comments with additional details like this. After editing your question with the information, please delete your comment. Thank you! –  SirCharlo Aug 21 '12 at 18:01
    
Use Gparted and edit the partitions. You can download it from Ubuntu software center –  devav2 Aug 21 '12 at 18:03
    

2 Answers 2

Open gparted via a Live CD

why live cd:

Gparted cannot modify mounted drives and since you only have 1 partition that means its the one running ubuntu. So you will have to open the live cd and do your edits from there.

What is a live CD:

live disc is a complete bootable computer operating system which runs in the computer's memory, rather than loading from the hard disk drive. It allows users to experience and evaluate an operating system without installing it or making any changes to the existing operating system on the computer

howto:

  1. You will need to boot from the live cd (make sure to pick "Try ubuntu" instead of "install ubuntu")
  2. Open up gparted and choose to resize the current linux partition
  3. Shrink it from the end (not the start, it sometimes causes problems)
  4. Now that you shrank your partition, there will be some empty space in the end of the drive. Right click on it and pick "format". Choose the filesystem and label for it
  5. then press edit->apply all operations
share|improve this answer
3  
Please expand your answer so that the (possibly inexperienced) OP may easily follow the steps outlined. –  SirCharlo Aug 21 '12 at 18:02
    
If i put the Live cd again will i not lose eveything? ;O –  user83467 Aug 21 '12 at 18:02
    
@user83467, please disregard the above answer until it is clarified for you. –  SirCharlo Aug 21 '12 at 18:05
    
i updated my answer with more details –  Adonis K. Aug 21 '12 at 18:05
2  
Thank you @AKLP! :) Good work –  SirCharlo Aug 21 '12 at 18:14

If I understand (correct me if not) you installed Ubuntu to along all your 1TB HDD.

  1. You should resize your primary partition (where are Ubuntu installed). The size of this new partition will be of the size that you want to. But remember that it will be limited and your system need have (I recommend you) more than 50GB.
  2. Now you will have free space on your disk, this space must be formatted so that your system can use it. With the same program that you used for the resize (gparted) you can format that free space. How to do this:
    Secondary click on the new partition and choose format to. This should give you several options, choice to your preferences. For further information about this formats see Comparison of file systems.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.