Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-13-2004, 03:07 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2004
Posts: 18
Rep:
|
Problems Mounting USB drives
I hope you guys can help me -- I have 3 usb portable drives:
80gig harddrive 'bigDrive'
20gig harddrive 'archos'
dvd burner
Q1: Is there a correct way to find out which device these are ? when i go to mount with:
Code:
mount /dev/sda1 /mnt/location
-- i don't really know whether to use /dev/sda1 or /dev/sdb1 or /dev/sr0.... i had to look at the bootup log to see.
Q2: my /etc/fstab is:
Code:
/dev/sda1 /mnt/bigDrive reiserfs defaults 1 1
/dev/sdb1 /mnt/archos vfat user 1 1
but if i plug in my archos drive before my 'bigDrive', it gets mounted to the wrong location. is there maybe a way to fix this?
thanx in advance, plainkeyman
|
|
|
|
07-13-2004, 04:02 PM
|
#2
|
|
LQ Newbie
Registered: Jul 2004
Location: Arkansas
Distribution: Fedora and Red Hat
Posts: 6
Rep:
|
I'm not exactly sure how to pull this off, but I'm pretty sure you would need to use labels (like in /etc/fstab) so each drive is referenced by the label instead of the device.
Sorry I wasn't more help, but that should give you a bump in the right direction.
Chad
|
|
|
|
07-14-2004, 05:00 AM
|
#3
|
|
Member
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162
Rep:
|
Hi, i would go about it like this:
-plug in all the devices and boot
-run 'dmesg | more' and 'lspci | more' to ascertain where the kernel puts the devices
-enter the locations in fstab
That should fix things unless you have some configuration issues.
Hope that helps
|
|
|
|
07-14-2004, 08:22 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2004
Posts: 18
Original Poster
Rep:
|
thank you for your replies --
it seems when i plug in my 80gig right after i boot, it uses /dev/sda1; but if i reboot, and plug in the 20gig, it uses /dev/sda1 as well.
is there a way that i can maybe specify a serial number or something?
or maybe i have something configured wrong.... but this is whats happens right after a default slackware install (9.1)
tell me which configuration files to post here if that would.
thanx,
plainkeyman
|
|
|
|
07-14-2004, 08:27 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2004
Posts: 18
Original Poster
Rep:
|
sorry, this might help:
lspci -v
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 80)
Subsystem: VIA Technologies, Inc.: Unknown device 0000
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [80] AGP version 3.5
Capabilities: [c0] Power Management version 2
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b198 (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: dde00000-dfefffff
Prefetchable memory behind bridge: d5d00000-ddcfffff
Capabilities: [80] Power Management version 2
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e400 [size=32]
Capabilities: [80] Power Management version 2
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at e800 [size=32]
Capabilities: [80] Power Management version 2
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at ec00 [size=32]
Capabilities: [80] Power Management version 2
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at dfffff00 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: VIA Technologies, Inc.: Unknown device 0000
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 14
I/O ports at fc00 [size=16]
Capabilities: [c0] Power Management version 2
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: medium devsel, IRQ 5
I/O ports at e000 [size=256]
Capabilities: [c0] Power Management version 2
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 712c
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at dc00 [size=256]
Memory at dffffe00 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1) (prog-if 00 [VGA])
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Expansion ROM at dfee0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:33 PM.
|
|
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
|
|