Solved

Using Disk Utility to create partition in Ubuntu

Posted on 2014-02-27
11
641 Views
Last Modified: 2014-03-22
I am trying to use Disk Utility GUI to create partition, but I do not see the button that should say create partition.
I could not take the screenshot of whole window, but I scrolled right and left and could not see where to create partition

part
0
Comment
Question by:jskfan
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 7

Expert Comment

by:peea
ID: 39893870
Simply right click on the drive space, any options available?
0
 

Author Comment

by:jskfan
ID: 39893914
I did…it does not do anything
0
 
LVL 7

Assisted Solution

by:peea
peea earned 60 total points
ID: 39893935
It seems the 11GB drive has been fully used in EXT4. If it is the only partition and you boot from the partition, you cannot create new partition and even cannot remove the only partition.

You need to boot from another drive, say CD/DVD for example, to modify the partition settings of current active partition.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 18

Expert Comment

by:TobiasHolm
ID: 39893967
Create a bootable USB stick with GParted:

http://gparted.org/liveusb.php
0
 
LVL 26

Assisted Solution

by:skullnobrains
skullnobrains earned 320 total points
ID: 39896911
you cannot create a partition in a disk that already contains a partition that fills it up.

if it is your system partition, ubuntu will not let you shrink or destroy that partition either.

in that case, like mentioned above, using a bootable media is an idea. you can boot from whatever install media you used in order to install your ubuntu, and either use the builtin tool or the better gparted ( type "apt-get install gparted" and then run "sudo gparted" ). this will allow to shrink the existing partition and create a new one.

given the fact this is a virtual machine, you can also make the disk bigger in vmware and reboot. the filesystem and existing partition size will not change so you'll have free space after the existing partition. you can also attach another disk.
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 60 total points
ID: 39898814
Actually you can rescan scsi in vmware and get the new size. If you have LVM you can even expand / to new space...
0
 
LVL 26

Assisted Solution

by:skullnobrains
skullnobrains earned 320 total points
ID: 39899702
to detect changes in disk sizes online :

blockdev --rereadpt <device file>

to detect new disks online :

echo "- - -" > /sys/class/scsi_host/*/scan

both the above will work with SATA and SCSI drives, and i guess for SAS drives as well. no idea about IDE drives. better not to use them anyway in virtual machines. these commands need to be run in the guest machine as root.
0
 

Author Comment

by:jskfan
ID: 39920220
I guess I cannot resize the boot partition, I do not see the option:

gparted
0
 
LVL 18

Assisted Solution

by:TobiasHolm
TobiasHolm earned 60 total points
ID: 39920236
Did you boot on the USB-stick (or ISO)? You can't resize the partition you're booting from.
0
 
LVL 26

Accepted Solution

by:
skullnobrains earned 320 total points
ID: 39923311
+1
quote from myself

if it is your system partition, ubuntu will not let you shrink or destroy that partition either.

given the fact the mountpoint is "/" it most definitely is the partition where your system is installed and it is hence mounted

you can boot from whatever install media you used in order to install your ubuntu, and either use the builtin tool or the better gparted ( type "apt-get install gparted" and then run "sudo gparted" ). this will allow to shrink the existing partition and create a new one.

a knoppix live cd, a partition magic live cd or whatever other live cd will be able to do the trick
0
 

Author Closing Comment

by:jskfan
ID: 39947474
Thank you Guys!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now