Solved

Using Disk Utility to create partition in Ubuntu

Posted on 2014-02-27
11
618 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
Comment Utility
Simply right click on the drive space, any options available?
0
 

Author Comment

by:jskfan
Comment Utility
I did…it does not do anything
0
 
LVL 7

Assisted Solution

by:peea
peea earned 60 total points
Comment Utility
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
 
LVL 18

Expert Comment

by:TobiasHolm
Comment Utility
Create a bootable USB stick with GParted:

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

Assisted Solution

by:skullnobrains
skullnobrains earned 320 total points
Comment Utility
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
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 61

Assisted Solution

by:gheist
gheist earned 60 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
+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
Comment Utility
Thank you Guys!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

17 Experts available now in Live!

Get 1:1 Help Now