[Bug 1442840] Re: Erase disk fails with error " wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory"

Rudolf Leitgeb 1442840 at bugs.launchpad.net
Tue Nov 10 09:41:37 UTC 2015


I think I read somewhere, that manually invoking the failed command
allows the user to proceed. In the case of the original problem report
this would be the following command:

         wipefs -a /dev/sdb1

Make sure you pass the correct partition to this command, or you will
lose data on whatever device you wiped instead!!! The correct device is
the first partition on whatever device is supposed to become a bootable
device, usually the device reported in the error message. You need to
invoke it with sudo if you aren't already root.

The work around worked for me at least. Since the underlying problem
appears to be a race condition, a few retries may help here it it
doesn't work right away. And yes, the bug is present in Ubuntu 15.10,
too :(

-- 
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/1442840

Title:
  Erase disk fails with error " wipefs: error: /dev/sdb1: probing
  initialization failed: No such file or directory"

Status in usb-creator package in Ubuntu:
  Confirmed

Bug description:
  I have a USB stick that shows up in the usb-disk-creator when I go to
  click the button to Erase Disk it returns the error:

  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 285, 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/sdb1: Command-line `wipefs -a "/dev/sdb1"' exited with non-zero exit status 1: wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory
   (0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1442840/+subscriptions



More information about the foundations-bugs mailing list