?
Solved

Using Disk Utility to create partition in Ubuntu

Posted on 2014-02-27
11
Medium Priority
?
658 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 240 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 18

Expert Comment

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

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

Assisted Solution

by:skullnobrains
skullnobrains earned 1280 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 240 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 27

Assisted Solution

by:skullnobrains
skullnobrains earned 1280 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 240 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 27

Accepted Solution

by:
skullnobrains earned 1280 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

764 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