Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-31-2005, 06:29 AM   #1
Registered: Aug 2004
Distribution: SLACKWARE10.0
Posts: 65

Rep: Reputation: 15
usbfs usb

Sorry, checked archives and couldnt find a procedure to help.

My problem:
I was given a 256mb USB pen drive as a present.
I plan to use this device as a replacement for CD's. I already do not use floppies.
I use a linux distro at home (SLackware 10.0) only, no Windows. However, I still want to set the USB drive up with fat32 so I can use it on Windows and Linux as I use Windows at work.
I am a nooby with usb drives. I have deduced that I can detect the drive in:


If I run ls here, I find a whole lot of numbers, one number for each of my usb ports (I think). Each umber is a directory.

001 002 003 004 005

I know it detects the presence of my pen drive as there is a read-write file corresponding to the usb port I have the drive in 001.

For example, If I use port 2 I have the files 001 and 002 inside my /001 directory.

If I use port 4, I have 001 and 004 in my /001 (mount ?) directory.

Also, I know I can actually boot off this device as my VIA motherboard automatically detected its presence on boot and added an entry into the bios boot sequence (without my permission : / )

Of course, it fails to boot as it has no Linux boot kernerl on it..

My goal.

1. If possible I want 2 paritions on this drive. One smallish partion with enough space for a very tiny linux kernel so I can boot my computer with this drive. The scond partition: FAT32 so I can transfer betwween Win and Linux.

2. If the above is not possible, (The reason probably being that a linux boot kernel might disrupt the Win autorun ) I am willing to settle for a FAT32 only solution.

I just need a procedure of some kind to format my usb drive in linux and read and write to it in linux...

Please help. My system specs are in my sig.
Old 01-31-2005, 07:09 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If you modprobe usb-storage and then plug it in and type dmesg, does it say anything about the device? Usually they show up as /dev/sda1 . Root can mount it with
mount /dev/sda1 /mnt/usb
Old 02-01-2005, 10:39 AM   #3
Registered: Aug 2004
Distribution: SLACKWARE10.0
Posts: 65

Original Poster
Rep: Reputation: 15
I'll try it. Not at personal computer now. Thanks.


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
usbfs on slackware 10.1 Slackware 7 09-14-2005 05:36 PM
usbfs needs to be mounted every time manjunathk Linux - Software 1 07-12-2005 05:24 AM
Speedtouch issue with Mandrake 10.1, kernel, usbfs conn-fused Linux - Networking 1 04-16-2005 01:33 PM
USBFS nor /proc/bus/usb exist... Gripp Linux - Hardware 1 03-25-2005 11:03 PM
mount usbfs? yusufozk Linux - General 2 03-23-2005 07:01 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration