LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2016, 06:45 AM   #1
ZZII
Member
 
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61

Rep: Reputation: Disabled
Question 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.
 
Old 01-19-2016, 07:14 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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
 
Old 01-19-2016, 07:36 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
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
 
Old 01-19-2016, 05:11 PM   #4
ZZII
Member
 
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting USB, locating files on USB in Unbuntu Jamie Majors Linux - Newbie 2 02-08-2013 09:25 AM
USB Issues: Exit code 21 kills mounting HD. How to USB diskcheck? jimwg Linux Mint 2 05-05-2012 06:41 PM
Trying to Mount USB mounting /dev/sda1 on /mnt/usb failed: Invalid argument JamesMore Linux - Newbie 9 07-28-2010 03:27 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration