Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    USB Issues: Exit code 21 kills mounts - how do you diskcheck flash?


    I am a tech-newbie with two problems ongoing with my Mint 9 USB install on a 8gig flash drive. Iíve successfully installed it and used it twice on two machines, however after five or six times, two things have happened: One machine no longer sees it on its boot list at all no manner how many time I reboot it, and with the other the flash drive now only signals:

    Unable to mount 60 GB Filesystem
    Error mounting: mount exited with exit code 21: mount: according to mtab, /dev/sda1 is already mounted on /media/E8701CFA701CD0E4

    I have scoured Google for remedies with exit code 21 and how it supposedly means the HD has pre-mounted somehow and such, and everyone has ultra-techie explanations that go over this newbieís head. I donít expect to get a spot on solution, but just a general way to go would be really helpful!

    Also, Iíd like to learn to perform a FSCK and CHECKDISK on my flash drive, but Google entries say never do this without unmounting the drive first -- but donít explain how!

    Any hints or recommendations would be most appreciated!


    Jim in NYC

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    It seems you are trying to manually mount the device when the automounter has already mounted it for you in /media. Look in /media and see if there is a directory there. Next, if there is, see what device it is associated with with "df /media/dirname". Finally, you can "umount /media/dirname", and at that point you can run fsck on it. Example, if it is associated with /dev/sdb1, you can run "fsck -f /dev/sdb1". I assume that this is a FAT file system?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts