1

I can't safely eject my MP3 player.
I am getting the error as follows.

Error ejecting /dev/sdb: Command-line `eject "/dev/sdb"' exited with non-zero exit status 1: eject: unable to eject, last error: Invalid argument

help, pls tnx

  • Can you include within your question the command you are using to unmount the mp3 player? – WinEunuuchs2Unix Oct 9 '16 at 20:15
  • Are you sure that you're trying to eject the correct device? If so, did you leave any application open that was using the MP3 player? Can you eject the MP3 player using the eject icon in the left pane of a Nautilus (File Manager) window? Show us the output of df and sudo fdisk -l (lower case L) from the terminal app. Cheers, Al – heynnema Oct 9 '16 at 20:52
  • Commands do not work, The error pops up when I try to eject it. – Silvija Milovac Oct 11 '16 at 9:48
  • I have upgraded today, and the problem kinda disappeared. But I'll check it one more time when I get home. Maybe it is a USB device problem. – Silvija Milovac Oct 11 '16 at 9:50
  • OK, so here is the thing. Sometimes USB port works, sometimes not. Right now it is not able to detect my USB stick. --- While I was upgrading to 16.04 the box popped out and it said something about usb port, recommend to 'turn it off'. And something about 'turning it on' later in settings or something like that. And I've clicked OK. Now 2 out of 4 usb ports wont even detect devices(exept mouse and cooler). The other 2 work just fine. – Silvija Milovac Oct 12 '16 at 11:17
1

Use umount with Force option. if your device is/dev/sdb1, use:(to check usb type lsblk)

sudo umount -f /dev/sdb1

Edit :

 ls /media 

and see if the drive shows there. If it does,

 sudo umount /media/drivename 
  • 1
    I have already tried that, doesn't work. – Silvija Milovac Oct 9 '16 at 16:34
  • May be your mp3 player is running in background.. check the edit – minigeek Oct 9 '16 at 16:34
  • umount: /dev/sdb1: not mounted (and it is not running in backgroud) – Silvija Milovac Oct 12 '16 at 11:41
  • Not necessarily sdb1 check what is sdX in lsblk...did u read my edit section in answer – minigeek Oct 12 '16 at 11:44
  • It does not show up, It only says my name. I get 'Silvija' in bold, in a new row. It is sdb1 though – Silvija Milovac Oct 12 '16 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.