0

Following this advice, I've used gnome-disks to create a bootable pen drive containing an image of xenial. After doing so, here's what the pen drive looks likeenter image description here

I'd like to use the rest of the drive, however, when I try to put a new partition onto the unallocated space, gparted tells me enter image description here

Presumably the primary partition is /dev/sdb2, which I obviously don't want to remove. I've also tried resizing /dev/sdb2, but when I attempt to do this, gparted spins forever, issuing the following warning: enter image description here If I click on ignore, I get an error and the resize fails.

Is there any way to get to use the rest of my drive? My ideal would be to partition the pen drive before making it bootable with gnome-disks, but I'm pretty sure that I can't do that. Thanks for any advice!

1
  • Do not know what Disks actually does to create installer. And most installer Creation instructions are assuming a smaller USB flash drive and the standard install erases entire drive. And if using the dd method or behind the scene using dd, that is a hybrid flash drive/DVD configuration that does not have a valid partition table. Is system UEFI or BIOS? And better to use flash drive as installer and then use hard drive as data or full install. help.ubuntu.com/community/USB%20Installation%20Media
    – oldfred
    Commented Feb 25, 2017 at 18:15

1 Answer 1

0

Create an extended partition. This is a special type of partition that will allow you to create virtually an unlimited amount of partitions.

Once you create the extended partition, you will see the available space as usable.

3
  • Trouble is, I don't see how to create an extended partition after I've made the drive bootable. Only way gparted will let me do that is if I first delete the primary partition, but then, I've killed my Ubuntu image, and am back to square one. Is there any way to create an extended partition on the drive before using gnome-disks to create the image?
    – Leo Simon
    Commented Feb 25, 2017 at 20:38
  • @LeoSimon Sorry. I missed the part that you were trying to reconfigure an Installer disk. That isn't possible. Almost anything that you do to it could make it non functional. It would take some sophisticated programming to create an alternate installer disk. You can make a bootable disk and modify the partitions in unlimited says. But an installer disk, isn't just a bootable disk. It's a preconstructed image. The image uses the entire disk. The partition table would have to be modified to for changes to happen... continued Commented Feb 25, 2017 at 21:41
  • ... the explanation was about to overflow a second comment limit. I'll append the details to the answer later. Commented Feb 25, 2017 at 21:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .