LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-28-2004, 10:26 PM   #1
fcnewbie
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1
Posts: 13

Rep: Reputation: 0
Mounting a lexar usb jumpdrive


I just installed Fedora Core 1 on my computert, and I want to be able to mount my usb stick drive(/dev/sda1) without having to change to root.

*/Contents of /etc/fstab/*
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
*/End/*

What do I need to do to make the drive mount to /mnt/usb and give any user the permissions they have with floppies and cdroms?
 
Old 04-28-2004, 10:48 PM   #2
fcnewbie
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1
Posts: 13

Original Poster
Rep: Reputation: 0
Will adding:

/dev/sda0 /mnt/usb auto noauto,owner,kudzu 0 0

make it work?
 
Old 04-29-2004, 03:39 AM   #3
jon-do
Member
 
Registered: Feb 2004
Distribution: Red 9, FC 2 Test 3
Posts: 98

Rep: Reputation: 16
In my case I followed this instruction and it worked
Usb Flash Drive
 
Old 04-29-2004, 06:58 AM   #4
wadly
LQ Newbie
 
Registered: Nov 2003
Location: Minnesota
Distribution: Red Hat
Posts: 7

Rep: Reputation: 0
I wrote a script file and run it from a bash. The script is as follows:

#!/bin/bash
# script for mounting USB jump drive

mount -vt vfat /dev/sda1 /mnt/jump

Then I only need to type jumpon and I'm mounted. Alternately, you can create a script to umount the drive.
 
Old 10-27-2004, 10:38 PM   #5
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Rep: Reputation: 15
JumpDrive script

Quote:
Originally posted by wadly
I wrote a script file and run it from a bash. The script is as follows:

#!/bin/bash
# script for mounting USB jump drive

mount -vt vfat /dev/sda1 /mnt/jump

Then I only need to type jumpon and I'm mounted. Alternately, you can create a script to umount the drive.
This works great for the 'public' partition on the JumpDrive, but for the 'private' partition, when I try to mount it, it gives me the error stating
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda2, or too many mounted file systems
I assume that this has something to do with sda2 being a secured partition. Does anyone know how to access this 'private' partition? it does show up in my /proc/partition listing as:

Code:
major minor  #blocks  name  rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
  8     0     251440  sda   112    195   511  620  11     28    40 2730       0 960 3350
  8     1       8001  sda1   97      0    97  340  11     28    40 2730       0 680 3070
  8     2     240975  sda2    8     96   204  110   0      0     0    0       0 110  110
 
  


Reply



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
USB Lexar JumpDrive rock9604 Linux - Newbie 5 05-03-2004 12:02 PM
Need help mounting Lexar 256M Jumpdrive briaric Linux - Hardware 2 11-17-2003 07:23 AM
problem whit usb jumpdrive of lexar PaAaScAl Programming 3 10-25-2003 06:12 AM
usb jumpdrive of lexar, i need help PaAaScAl Linux - Hardware 0 10-21-2003 09:50 PM
Lexar Secure JumpDrive infurn Linux - Hardware 2 08-23-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:19 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