Need to create a separate partition after installing Ubuntu
48,717
Open gparted via a Live CD
Why live cd?
Gparted cannot modify mounted drives and since you only have 1 partition that means it's 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
How-to
- Back up your data before fiddling with partitions, just in case.
- You will need to boot from the live cd (make sure to pick Try Ubuntu and not Install Ubuntu)
- Open up gparted and choose to resize the current Linux partition
- Shrink it from the end (not from the start; it sometimes causes problems)
- Now that you have shrunk your partition, there will be some empty space at the end of the drive. Right click on it and pick format. Choose the filesystem and label for it
- Press edit > apply all operations
Author by
user83467
Updated on June 29, 2022Comments
-
user83467 less than a minute
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 partition.
Is this possible?
-
Eliah Kagan almost 10 yearsIt'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. -
user83467 almost 10 yearsDisk /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 [email protected]:~$
-
SirCharlo almost 10 yearsAs @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!
-
devav2 almost 10 yearsUse Gparted and edit the partitions. You can download it from Ubuntu software center
-
Eliah Kagan almost 9 years
-
-
SirCharlo almost 10 yearsPlease expand your answer so that the (possibly inexperienced) OP may easily follow the steps outlined.
-
user83467 almost 10 yearsIf i put the Live cd again will i not lose eveything? ;O
-
SirCharlo almost 10 years@user83467, please disregard the above answer until it is clarified for you.
-
Adonis K. Kakoulidis almost 10 yearsi updated my answer with more details
-
mlissner over 6 yearsForget about comparing file systems. As of now, you want ext4.