dd an ubuntu iso to usbstick, then it can't be erased with usb-creator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Ubuntu 14.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
usb-creator-gtk 0.2.56.3
3) What you expected to happen
1. prepare an isohybrid ISO image, such as the ubuntu ISO:
http://
2. plug in the usbstick and dd the iso to it
sudo dd if=ubuntu.iso of=/dev/sdb bs=1M
3. eject the usbstick
sudo eject /dev/sdb
4. plug out & in the usbstick
5. launch usb-creator-gtk and erase the usbstick
The usbstick should be erased successfully
4) What happened instead
An error dialog is popped with below messages:
org.freedesktop
File "/usr/lib/
retval = candidate_
File "/usr/share/
part.
gi._glib.GError: GDBus.Error:
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.
Use the --force flag to overrule this check.
Related branches
- Mathieu Trudel-Lapierre: Needs Fixing
-
Diff: 80 lines (+34/-9)2 files modifiedbin/usb-creator-helper (+32/-8)
usbcreator/backends/udisks/backend.py (+2/-1)
tags: | added: trusty |
tags: | added: utopic vivid |
On ubuntu 14.10 (usb-creator 0.2.62ubuntu0.1, util-linux 2.25.1-3ubuntu4) the error message is:
org.freedesktop .DBus.Python. GLib.Error: Traceback (most recent call last): python3/ dist-packages/ dbus/service. py", line 707, in _message_cb method( self, *args, **keywords) usb-creator/ usb-creator- helper" , line 244, in Format call_set_ flags_sync( boot_dos_ flag, no_options, None) org.freedesktop .UDisks2. Error.Failed: Error setting partition flags on /dev/sdb2: Command-line `parted --script "/dev/sdb" "set 2 boot off"' exited with non-zero exit status 1: Error: The backup GPT table is not at the end of the disk, as it should be. Fix, by moving the backup to the end (and removing the old backup)?
File "/usr/lib/
retval = candidate_
File "/usr/share/
part.
GLib.Error: udisks-error-quark: GDBus.Error:
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 31250608 blocks) or continue with the current setting?
Error: Can't have overlapping partitions.
(0)