LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting a USB... (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-a-usb-4175564351/)

ZZII 01-19-2016 06:45 AM

Mounting a USB...
 
I'm trying to mount a USB flash drive on CentOS and it's telling me "wrong fs type". I tried vfat and msdos (msdos being the type specified when I connect it to my Linux Mint desktop)

Code:

mount -t msdos /dev/sdc /mnt/usb
FAT: invalid media value (0x00)
mount: wrong fs type, bad option, bad superblock on /dev/sdc, etc...

I must be missing something here...

CentOS 6.7 Basic Server x64
Dell Optiplex 780 (Yes an actual pre-built system!)

The only reason I need to mount this is to copy over the Minecraft Server .jar. I would otherwise have downloaded it on the Optiplex but I don't know how to run the unnamed "Internet Browser" it supposedly installed. Can someone tell me how to launch it, as I will need it.

yancek 01-19-2016 07:14 AM

Do you have the .jar file on the flash drive? Log in as root user and open a terminal and run one of the commands below which will tell you the filesystem type if it has been formatted.
Lower case letter L in the commands.

Code:

fdisk -l
parted -l


michaelk 01-19-2016 07:36 AM

Could be a typo but you have to specify a partition number i.e.
Code:

mount -t vfat /dev/sdc1 /mnt/usb
If running a desktop I would expect the drive to be automatically mounted under /media. If the drive is formatted as exFAT then you will need to install the fuse exfat drivers. Again if running a desktop and depending on what applications you installed, the default web browser is Firefox and can be accessed from the menu -> applications -> Internet

ZZII 01-19-2016 05:11 PM

Quote:

Originally Posted by michaelk (Post 5480838)
Could be a typo but you have to specify a partition number i.e.
Code:

mount -t vfat /dev/sdc1 /mnt/usb
If running a desktop I would expect the drive to be automatically mounted under /media. If the drive is formatted as exFAT then you will need to install the fuse exfat drivers. Again if running a desktop and depending on what applications you installed, the default web browser is Firefox and can be accessed from the menu -> applications -> Internet

Oops. I knew I was missing something. I didn't have the "1". I don't know why I omitted it.

By the way, there's no GUI. That's why I don't know how to run applications (never had to do this without GUI in Linux, I could do it in Windows but I'm quite new to Linux)


All times are GMT -5. The time now is 09:38 AM.