USB Drive Guide for Slackware 10.2

Share your expert knowledge and show off your skills.
Battalion Quarter Master Havaldaar
Posts: 214
Joined: Sun Apr 18, 2004 5:58 pm
Location: CEME, Pindi

USB Drive Guide for Slackware 10.2

Postby outhanger » Thu Mar 15, 2007 12:27 am

This is a brief guide to getting your usb drives running under Slackware 10.2. The USB 2.0 and USB 1.1 modules are (i think) vendor specific. The one's mentioned in this guide should work on at least Intel chipsets and a few others.

Text in bold is to be entered on the command line, mostly as root user.

Step 1: Enable udev.
chmod u+x /etc/rc.d/rc.udev

Step 2: Mount usbfs on startup by adding the following line to /etc/fstab file.
none /proc/bus/usb usbfs defaults 0 0

Step 3: Add following to /etc/rc.d/rc.local file so that required modules are automatically loaded on startup.
#Load USB 2.0 module.
modprobe ehci-hcd
#Load USB 1.1 module.
modprobe uhci-hcd
#Load USB storage drive driver.
modprobe usb-storage

Step 4: Restart OS.
shutdown -r now

Step 5: Plug in usb-drive and mount it.
mount -t vfat /dev/<device name> /mnt/usb

<device name> would either be sda1 or sdb1 etc. depending on availability.
"Where blasphemy is a crime, religious freedom does not exist." - Stallman to Musharraf

Return to “Howto's & Tip n' Tricks”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest