Creating a partition on the free space left after a disk image restore
by PaulExordium from LinuxQuestions.org on (#6DW7G)
On a Debian11/Gnome system and using the "Disks" utility I've-
- formatted a 16GB USB stick
- restored on it the disk image "Debian-11.5.0-amd64-1.iso"
That created-
/dev/sdb1Partition 13.9 GB ISO9600
/dev/sdb2Partition 22.7 MB FAT
/dev/sdbFree Space11 GB
The USB stick works properly for an OS installation.
Now I'd like to create a partition on the 11GB free space but the "Disks" utility doesn't allow it. Regardless of the options used there is always an error message like:
"Error creating partition on /dev/sdb: Failed add partition to device 'dev/sdb' (Too many primary partitions.) (udisks-error-quark, 0)"
or
"Error creating partition on /dev/sdb: Failed to create new partition on device 'dev/sdb' (mac disk labels do not support extended partitions.) (udisks-error-quark, 0)"
What am I missing?
- formatted a 16GB USB stick
- restored on it the disk image "Debian-11.5.0-amd64-1.iso"
That created-
/dev/sdb1Partition 13.9 GB ISO9600
/dev/sdb2Partition 22.7 MB FAT
/dev/sdbFree Space11 GB
The USB stick works properly for an OS installation.
Now I'd like to create a partition on the 11GB free space but the "Disks" utility doesn't allow it. Regardless of the options used there is always an error message like:
"Error creating partition on /dev/sdb: Failed add partition to device 'dev/sdb' (Too many primary partitions.) (udisks-error-quark, 0)"
or
"Error creating partition on /dev/sdb: Failed to create new partition on device 'dev/sdb' (mac disk labels do not support extended partitions.) (udisks-error-quark, 0)"
What am I missing?