Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lexar JumpDrive / Mass USB Storage Device HOWTO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
KilljoyNTT
n00b
n00b


Joined: 18 Sep 2004
Posts: 5

PostPosted: Sat Jul 09, 2005 5:26 am    Post subject: Lexar JumpDrive / Mass USB Storage Device HOWTO Reply with quote

Thanks to Lysdexia at everythingusb.com forums for this one:

Quote:

The JumpDrive works swimmingly with the newer linux kernels. Simply mount them as a scsi device:

mount /dev/sda1 /mnt/JumpDrive

(you will have to create the "JumpDrive" directory yourself)

I use my 64m JumpDrive on RedHat 8.0 daily...


It worked for me using the Gentoo 2.6.8-r3 kernel.
Hope this helps. :D
Back to top
View user's profile Send private message
RtrentC
n00b
n00b


Joined: 10 Aug 2003
Posts: 30

PostPosted: Tue Nov 08, 2005 2:38 am    Post subject: Reply with quote

First off how did you get it to assign the jumpdrive to /dev/sda. On my system it is assigning /dev/uba to the lexar jumpdrive, but I can't access it. fdisk can't read a partiion table, and there is no /dev/uba1.
Back to top
View user's profile Send private message
Garvonis
n00b
n00b


Joined: 04 Nov 2005
Posts: 61
Location: California

PostPosted: Fri Dec 23, 2005 4:56 pm    Post subject: Reply with quote

Well I don't know about the problem the last guy is having, but this worked A+ perfectly for me! For once, I found something that's superbly easy to do. (Gentoo w/X.org+Fluxbox).
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Dec 23, 2005 5:48 pm    Post subject: Reply with quote

HOWTO

1. Plug it in.

2. Check dmesg

Here's mine:-

Quote:
usb 1-2: new high speed USB device using ehci_hcd and address 2
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: Easy Model: Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sdb: 256000 512-byte hdwr sectors (131 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 256000 512-byte hdwr sectors (131 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
sdb: unknown partition table
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
usb-storage: device scan complete


Note device = sdb on mine


3. mkdir /flash

4. mount /dev/sdb /flash
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Fri Dec 23, 2005 6:07 pm    Post subject: Reply with quote

RtrentC wrote:
First off how did you get it to assign the jumpdrive to /dev/sda. On my system it is assigning /dev/uba to the lexar jumpdrive, but I can't access it. fdisk can't read a partiion table, and there is no /dev/uba1.
Try 'ls -l /dev/uba'? It might be a bad symlink.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Fri Dec 23, 2005 6:11 pm    Post subject: Reply with quote

I'd also like to re-emphasize that the flash drive being /dev/sda is only incidental -- SCSI and SCSI-emulation drives(including SCSI, the usb_storage driver, and most anything SATA) get assigned sda, sdb, etc. in the order they're added. If you want a guaranteed device name, and you're using udev, you can write a udev rule to name it whatever you want. USB flash drives are particularly nice for this since they come with a unique serial number that udev can use to discriminate even a particular jumpdrive from the rest of your devices.

Also, from magic919's post:
Code:
usb-storage: waiting for device to settle before scanning
This particular step takes a few seconds, so don't panic if it "sticks" there a moment.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Garvonis
n00b
n00b


Joined: 04 Nov 2005
Posts: 61
Location: California

PostPosted: Tue Dec 27, 2005 3:54 pm    Post subject: Reply with quote

Well I'd just like to reiterate that I didn't have any problems. The 128MB Lexar Media JumpDrive showed up on /dev/sda1, even with the files that I had loaded up on it from wayyy back when, back when I was using WinXP. I took em off with no problem and even loaded up the JumpDrive with updated files (going to my brother's with proggies to help his PC, running WinXP =P, out some, help optimize it as much as it CAN be optimized under WinXP, rofl...)

And just in case my bro's PC has a particularly malicious virus on it, I chmod'ded the files on my JumpDrive to +rx-w, so it shouldn't be able to mess with the files and corrupt them before I even get a chance to install the Spybot and McAfee Virus and Firewall, and especially TweakNow Powerpack 2006. For anyone who's using WinXP, those programs are a must for a safe and fast (for) WinXP. Just something you them dual booters to look out for.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum