10

I am trying to format a drive using the Ubuntu Disks utility. When I select and try to format the drive I get

Error wiping device.  Command-line wipefs -a "/dev/sdb" exited with non-zero exit status 1: wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy (udisks-error-quary,0)

Nothing I know of us using it and I am doing this from a Live CD boot. What to do?

4
  • ? Would probably work with a GParted live cd ( usually does ) distrowatch.com/… Jun 18 '17 at 13:12
  • try: umount /dev/sdb then retry your command
    – Olimjon
    Jun 18 '17 at 13:21
  • @KnudLarsen Please post your comment as an answer. I will then delete the community wiki answer below. (so you can get the reputation)
    – fosslinux
    Apr 27 '18 at 7:04
  • @Olimjon Please post your comment as an answer. I will then delete the community wiki answer below. (so you can get the reputation)
    – fosslinux
    Apr 27 '18 at 7:25
15

Use the -f (force) option:

wipefs -af /dev/sdb
10

Unmount the disk and all the partitions on it:

sudo umount /dev/sdb*

Then retry the wipe.

0

Use a GParted live CD (or some other distribution containing GParted) to wipe the partition.

1
  • 3
    I recommend that you edit this with details explaining how to do that. Apr 27 '18 at 14:27

This site is temporarily in read only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .