LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-24-2005, 02:50 PM   #1
suro
Member
 
Registered: Jun 2003
Location: Armenia, Yerevan
Posts: 33

Rep: Reputation: 15
Mounting usb flash disc in Fedora Core 3


Don't want to seem stupid to you, but how can i mount a usb flash disc in Fedora Core 3?
Having Fedora Core 2 I was simply typing "mount -t vfat /dev/sda1 /mnt/usb" , but here no /dev/sda1 file seems to be.

Thanks In Advance

Last edited by suro; 03-24-2005 at 02:52 PM.
 
Old 03-24-2005, 03:34 PM   #2
calcon
Member
 
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
What is the exact error message that you got?

This is my little "tutorial" on mounting a usb flash disk:
Edit your /etc/fstab and add this at the bottom:
Code:
/dev/sda1  /mnt/usb  vfat  defaults,rw,noauto,users,sync  0 0
Then what you want to do is type:
Code:
mkdir /mnt/usb
Now when you want to use it, plug it in then type:
Code:
mount /mnt/usb
Then before you unplug it type:
Code:
umount /mnt/usb
And yes, it is really "umount" not unmount!
Edit your /etc/fstab and add this at the bottom:
Code:
/dev/sda1  /mnt/usb  vfat  defaults,rw,noauto,users,sync  0 0
Then what you want to do is type:
Code:
mkdir /mnt/usb
Now when you want to use it, plug it in then type:
Code:
mount /mnt/usb
Then before you unplug it type:
Code:
umount /mnt/usb
And yes, it is really "umount" not unmount!




But if you don't can't get sda1 to work, try using sda or sdaX replacing X with a number.

I don't know to to tell you which sda it is.

calcon
 
Old 03-24-2005, 03:43 PM   #3
suro
Member
 
Registered: Jun 2003
Location: Armenia, Yerevan
Posts: 33

Original Poster
Rep: Reputation: 15
Hi, your tutorial is great, but I've already found the solution it seems that in Fedora Core 3 the flash disc is mounted automatically in /media/"LABEL"
 
Old 03-24-2005, 04:10 PM   #4
calcon
Member
 
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
Thanks...Oh.... Yeah.. I think I knew that...

Anyway, enjoy Fedora, I think it's a cool distribution even though I don't use it.

calcon
 
Old 04-13-2005, 07:01 AM   #5
quigon_jt
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Unhappy

Folks


I have had the same problem moving from fedora 2 to 3. I can't mount the usb flash disk. I used to use the same thing as you to mount it. I have tried using the method given in tutorial but that does not work.

I have also tried looking at /media but no usb dir shows up there, for an automatic mount , - solution given in another post.

I notice for certain things I have tried fedora 3 looks for the device in the fstab and mtab file in the /etc dir - does the mtab file need updated.

When I installed Fedora 3 the usb was not attached, does this affect the automatic mount feature on /media , I just plug in when it has booted up?

Is there any simple solutions out there?

Confused

quigon

Last edited by quigon_jt; 04-13-2005 at 07:12 AM.
 
Old 04-14-2005, 05:37 AM   #6
Booboo
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora
Posts: 22

Rep: Reputation: 0
from my own experience with usb flash disks i can tell you that there are two types(the two i know of)of disks
one behaves as a hard disk and the other one behaves as a floppy disk
unfortunately I've got the second one(now i know why it was cheaper) an it can not be used to boot from it(wanted to put DSL on it) and it must be mounted as "sda", "sdb", "sdc" and so on only not "sda1", "sda2"
the other one (hard disk alike) is to be mount it as "sda1", "sda2", "sdb1" and so on and yes this one you can use to boot from it

to discover how your flash disk is detected by the system use the hardware browser (while flash disk is inserted) and look at the disks section (i think)

in completion to the fstab line given by calcon:

/dev/sda1 /mnt/usb vfat defaults,rw,noauto,users,sync 0 0

/dev/sda1 /mnt/usb vfat defaults,rw,noauto,users,sync 1 0

if you replace that zero with one while using the umount command the disks cache will be flushed
this is useful if you have more then one flash disks and youl pull one out and imediately put in the other one(in this case the system will see the second one as sdb if at the end you leavetwo zeroes)
and do not forget that the end of the fstab file must have one empty line otherwise it will not work
hope this works
 
Old 04-14-2005, 06:46 AM   #7
quigon_jt
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Thanks Booboo

I'll give it a try.

As I need my usb for this weekend I reinstalled red hat 9, which can mount my usb.I think fedora is a little nicer so will reinstall fedora 3. My distro came from a dvd, which may have been an older kernel version(maybe something to do with it), that does not readily recognise cheaper usb devices (the one I have).

If all else fails I may buy a bigger usb anyway so is there any models/brands or types to look for that can detect usb in /media for fedora 3 - like the one like suro.

getting there


quigon

Last edited by quigon_jt; 04-14-2005 at 07:06 AM.
 
  


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 a USB pen drive in Fedora Core 1 mrde50garfield Linux - Hardware 2 07-26-2010 01:14 AM
How to install usb flash in fedora core 3? mauled Linux - Hardware 2 10-06-2005 03:39 AM
USB flash drive and Fedora Core 2 darkflounder Linux - Newbie 5 09-14-2004 01:50 AM
I cant boot from my fedora core 2 disc wicho_the_one Red Hat 2 06-17-2004 10:49 PM
Erasing a Disc on fedora core 2 xcheddar Linux - Software 1 06-14-2004 06:49 PM


All times are GMT -5. The time now is 05:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration