Using Disk Utility to create partition in Ubuntu

jskfan
jskfan used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Simply right click on the drive space, any options available?

Author

Commented:
I did…it does not do anything
Commented:
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.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Create a bootable USB stick with GParted:

http://gparted.org/liveusb.php
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.
Top Expert 2015
Commented:
Actually you can rescan scsi in vmware and get the new size. If you have LVM you can even expand / to new space...
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.

Author

Commented:
I guess I cannot resize the boot partition, I do not see the option:

gparted
Did you boot on the USB-stick (or ISO)? You can't resize the partition you're booting from.
+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

Author

Commented:
Thank you Guys!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial