[Bug 1424915] Re: dd an ubuntu iso to usbstick, then it can't be erased with usb-creator
Jarno Suni
1424915 at bugs.launchpad.net
Sun Aug 2 13:12:19 UTC 2015
Workaround is to partition the disk by e.g. gparted to fat32 format. Or
maybe just remove existing partitions by it?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1424915
Title:
dd an ubuntu iso to usbstick, then it can't be erased with usb-creator
Status in usb-creator package in Ubuntu:
Triaged
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://releases.ubuntu.com/14.04.1/ubuntu-14.04-desktop-amd64.iso
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.DBus.Python.gi._glib.GError: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/usb-creator/usb-creator-helper", line 235, in Format
part.call_set_type_sync('0x0c', no_options, None)
gi._glib.GError: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error setting partition flags on /dev/sdb2: Command-line `sfdisk --change-id "/dev/sdb" 2 0x0c' exited with non-zero exit status 1:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1424915/+subscriptions
More information about the foundations-bugs
mailing list