0

I copied a PDF file on Ubuntu to my Windows-formatted flashdrive with

sudo cp file.pdf /mnt/sdb4/

(I am not sure if /mnt/sdb4/ was the path though).

Now I can't access the drive neither from Windows nor from Linux(it doesn't appear in My Computer). I don't want to format it as there were some important files on it. How can I fix it?

Alan
  • 255
  • 1
  • 3
  • 13

1 Answers1

0

Run the below commands on terminal(ctrl+Alt+T) to mount your USB drive manually,

sudo mkdir /media/usb
sudo mount /dev/sdb1 /media/usb

Now the files in your USB would be found on /media/usb directory.

Avinash Raj
  • 78,556
  • When I do sudo mount/dev/sdb1 /media/usb I get mount: you must specify the filesystem type. After adding -t vfat I get mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error – Alan May 05 '14 at 10:31
  • post the output of sudo blkid command in your question. – Avinash Raj May 05 '14 at 10:34
  • if you want to mount an exfat partition then follow this http://askubuntu.com/a/451376/202806 – Avinash Raj May 05 '14 at 10:39