Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-19-2003, 02:03 PM
|
#1
|
Member
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244
Rep:
|
mounting a usb hard drive
my buddy has an external usb hard drive and we just installed linux on his laptop. i'm having trouble finding out how to mount this drive so he can access it, and i don't know which modules are required to do this.
if somebody could tell me which modules i need to insert and the syntax for the mounting, i would be grateful. in the meantime, i'll try to figure out which modules are neccessary by rebooting and letting the plug-n-play load the modules and try doing detective work from there.
thx for reading,
y-p
|
|
|
10-19-2003, 02:08 PM
|
#2
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
The modules might get loaded automatically once you plugin the device. See if the USB drive appears in the output of
fdisk -l
The USB drive will appear as a scsi device. In my case, it's
/dev/scsi/host0/bus0/target0/lun0/disc
If it does appear, the partitions on it should be /dev/sdaX, or /dev/sdbX where X is the partition number. You can then mount the partitions using these device names.
|
|
|
10-19-2003, 02:11 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Copenhagen, Denmark
Distribution: Slackware 10
Posts: 28
Rep:
|
Try to look in /var/log/messages. Thats what I do when i need to figure out, where my usb storage key is located.
- Emil
|
|
|
10-19-2003, 02:20 PM
|
#4
|
Member
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244
Original Poster
Rep:
|
ok, i tried the "#fdisk -l" and only the on-board hard drive came up. then i checked the messages log and i found the following 2 entries:
Oct 19 13:24:25 shitbox kernel: hub.c: new USB device 00:01.2-2, assigned address 2
Oct 19 13:24:29 shitbox /etc/hotplug/usb.agent: ... no modules for USB product 67b/2307/100
does this mean that this usb drive is not linux compatible? got any more suggestions?
|
|
|
10-19-2003, 02:23 PM
|
#5
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
try
modprobe usb-storage
(as root). This is the module used for usb harddrives. And see if it now appears in the output of fdisk -l
|
|
|
10-19-2003, 02:31 PM
|
#6
|
Member
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244
Original Poster
Rep:
|
tried it, and still no dice. i got the following in /var/log/messages (which is encouraging):
Oct 19 14:20:46 shitbox kernel: Initializing USB Mass Storage driver...
Oct 19 14:20:46 shitbox kernel: usb.c: registered new driver usb-storage
Oct 19 14:20:46 shitbox kernel: USB Mass Storage support registered.
it's also notable that my lsmod has the usbcore used, but neither the uhci or the usb-storage appear to be used:
usb-storage 65568 0 (unused)
...
uhci 24528 0 (unused)
usbcore 58400 2 [usb-storage uhci]
i'll try just rebooting it now, to see if that fixes anything. thx for the quick replies.
|
|
|
All times are GMT -5. The time now is 09:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|