[Bug 1460602] Re: Erasing disk failed: Error wiping newly created partition
sudodus
nio.wiklund at gmail.com
Fri Sep 18 06:31:52 UTC 2015
My tip for a solution is independent of waiting for udisks to be fixed:
* Wipe the first megabyte (actually mibibyte) *
When the target drive is identified and selected (so that there can be
no mistake), simply wipe the first mibibyte (use dd under the hood to
overwrite it with zeros). This has worked well for me and people I have
helped at the Ubuntu Forums. It is part of mkusb and I have used and
recommended the method for years. mkusb from ppa:mkusb/unstable has a
menu with several alternatives, where the first one (standard) will
create pendrives, that work with for example the s-d-c and Unetbootin.
--
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/1460602
Title:
Erasing disk failed: Error wiping newly created partition
Status in usb-creator package in Ubuntu:
Confirmed
Bug description:
I tried to erase a normal 8GB USB stick on up to date Ubuntu 15.04.
This dialog appeared:
org.freedesktop.DBus.Python.GLib.Error: 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 287, in Format
partition = table.call_create_partition_sync(0, size, '0x0c', '', no_options, None)
GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error wiping newly created partition /dev/sdc1: Command-line `wipefs -a "/dev/sdc1"' exited with non-zero exit status 1: wipefs: error: /dev/sdc1: probing initialization failed: No such file or directory
(0)
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: usb-creator-gtk 0.2.67ubuntu0.1
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Mon Jun 1 13:20:30 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-12 (108 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: usb-creator
UDisksDump: Error: [Errno 2] No such file or directory: 'udisks'
UpgradeStatus: Upgraded to vivid on 2015-05-12 (19 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1460602/+subscriptions
More information about the foundations-bugs
mailing list