Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st January 2012, 12:46 AM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
windows_98_nt_2000firefox
got "must specify FS type" upon trying to mount flash drive

i tried to mount my flash drive:

1. mkdir /thmb
2. mount /dev/sdb /thmb

then i got the error

once i did

1. mkfs.ext3 /dev/sdb
2. mount -t ext3 /dev/sdb /thmb

it wiped out my entire thumb drive !!

WTF?!

---------- Post added at 12:46 AM ---------- Previous post was at 12:38 AM ----------

the question being how do i mount a USB drive with data from another OS so that i can read it in F16 without having to format it in Fedora
Reply With Quote
  #2  
Old 21st January 2012, 12:48 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,855
linuxfirefox
Re: got "must specify FS type" upon trying to mount flash drive

Yeah, reformatting a fat32 partition to ext3 will do that every time.
Reply With Quote
  #3  
Old 21st January 2012, 12:50 AM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,502
linuxchrome
Re: got "must specify FS type" upon trying to mount flash drive

Quote:
Originally Posted by foampile View Post

once i did

1. mkfs.ext3 /dev/sdb
2. mount -t ext3 /dev/sdb /thmb

it wiped out my entire thumb drive !!

WTF?!

---------- Post added at 12:46 AM ---------- Previous post was at 12:38 AM ----------

the question being how do i mount a USB drive with data from another OS so that i can read it in F16 without having to format it in Fedora
You should have done only the second step above after creating that /thumb directory. mkfs 'means' make filesystem which is used to create linux partitions. No wonder your thumb drive was wiped clean!

---------- Post added at 06:50 PM ---------- Previous post was at 06:49 PM ----------

I suggest looking at the man pages before executing commands on the terminal (particularly commands like mkfs)
Reply With Quote
  #4  
Old 21st January 2012, 12:51 AM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
windows_98_nt_2000firefox
Re: got "must specify FS type" upon trying to mount flash drive

cool, thanks. luckily, it wasn't any critical data (otherwise i wouldn't have been so adventurous trying)
Reply With Quote
  #5  
Old 21st January 2012, 12:54 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,855
linuxfirefox
Re: got "must specify FS type" upon trying to mount flash drive

Had you done:
Code:
mkdir /thmb
mount /dev/sdb1 /thmb -t vfat -o rw
You wouldn't have shot yourself in the foot. Notice the "-t vfat" part in the command line? That is specifying a filesystem type. "-t auto" would have worked just as well. The error message said nothing about "you must create a FS type"..
Code:
man mount
Reply With Quote
  #6  
Old 21st January 2012, 01:09 AM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
windows_98_nt_2000firefox
Re: got "must specify FS type" upon trying to mount flash drive

who you callin fat ??

---------- Post added at 01:09 AM ---------- Previous post was at 01:00 AM ----------

Reply With Quote
  #7  
Old 21st January 2012, 01:18 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,855
linuxfirefox
Re: got "must specify FS type" upon trying to mount flash drive

Most of the Desktop Environments for Linux just auto-mount USB thumb drives when plugged in, and mount them to /media/LABEL_NAME. On my F16 XFCE machines, upon inseting a USB thumb drive, a new icon appears on the dekstop, though it's not auto mounted. I just right-click on it and select "mount volume", and it's then accessible. When I'm on the laptop (running init 3 console) then I have to manually mount my thumb drives.
Code:
sudo mount /dev/sdb1 /media -t vfat -o rw,uid=1000
You'll probably want to reformat your thumb drive back to "FAT", so it can be used on Windows machines as well.
Code:
mkfs.vfat -n Label_Name /dev/sdb1
It must not be mounted at the time. Assumes /dev/sdb is really the thumb drive and not a second hdd. Label_Name, up to 11 charachters (you can give it a label after it's formatted as well).

Last edited by PabloTwo; 21st January 2012 at 02:49 AM.
Reply With Quote
  #8  
Old 21st January 2012, 02:21 AM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 5,391
linuxchrome
Re: got "must specify FS type" upon trying to mount flash drive

A few things, especially for those not using DE's.

You can plug in the thumb drive, then doing dmesg |tail should give you the device name. You want to be very careful with that. Typing the command mkfs.vfat /dev/whatever will, as you have seen, delete whatever is on the drive.

The -n Label_name can be helpful, I seldom bother. Note that I don't use Gnome or KDE, so I don't have automounting.

A typical sequence for me, using openbox

dmesg |tail

(Ok, now we see that the thumb drive is seen as /dev/sdc)

mkfs.vfat /dev/sdc1

mount /dev/sdc1 /mnt


Just as an example.
Reply With Quote
  #9  
Old 21st January 2012, 02:44 AM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
windows_98_nt_2000firefox
Re: got "must specify FS type" upon trying to mount flash drive

thanks, dudes
Reply With Quote
Reply

Tags
drive, flash, fs type, mount, must specify fs type, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting USB drive results in "Unable to mount X" "Not Authorized" Kinkimal Using Fedora 2 30th June 2010 06:56 PM
Filesystem type for "storage" drive tristanlee85 Using Fedora 4 22nd February 2010 06:30 AM
Problem mounting NFS drive: "mount.nfs: mount system call failed" Mr tim esquire Servers & Networking 7 6th October 2009 11:43 PM
Mount a network hard drive in an easy way without gnome menu "Connect to server" Perty Servers & Networking 0 16th December 2008 09:34 PM
HOW TO MOUNT "C" "D" "E" LOCAL HARDDISK PARTITION ketan_hk Using Fedora 6 6th September 2007 01:10 AM


Current GMT-time: 15:49 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat