LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Mounting usb flash disc in Fedora Core 3 (https://www.linuxquestions.org/questions/fedora-35/mounting-usb-flash-disc-in-fedora-core-3-a-305604/)

suro 03-24-2005 02:50 PM

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

calcon 03-24-2005 03:34 PM

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

suro 03-24-2005 03:43 PM

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"

calcon 03-24-2005 04:10 PM

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

quigon_jt 04-13-2005 07:01 AM

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

Booboo 04-14-2005 05:37 AM

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

quigon_jt 04-14-2005 06:46 AM

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


All times are GMT -5. The time now is 04:41 AM.