View previous topic :: View next topic |
Author |
Message |
Jocco n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Jul 2002 Posts: 24
|
Posted: Tue Aug 20, 2002 1:13 pm Post subject: Mounting a USB Hard Drive in Gentoo |
|
|
How do I mount my USB Hard Drive in Gentoo? What steps do I need to take?
This is what I already have.
1. Latest kernel.
2. Appropriate USB modules compiled into kernel.
3. System reads, locates the correct Drive at Boot.
4. Maxtor 40g USB External hard drive.
I assume that I need to add the correct entry in fstab, create a folder in /mnt. Which line do I enter into fstab?
thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yardbird l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/3712348594c9ba535daa4f.jpg)
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Tue Aug 20, 2002 8:58 pm Post subject: |
|
|
Hi,
you first have to identify which device is attched to the usb drive. If you use devfs it is possibly somewhere into /dev/usb. The line to add to fstab will look like:
/dev/usb/path_to_device /mnt/usbdrive vfat user,noauto,rw 0 0
Just adjust your mountpoint (/mnt/usbdrive) and filesystem (for example ext2 or reiserfs instead of fat32:)) Let me know if it works, I'm curious... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jocco n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Jul 2002 Posts: 24
|
Posted: Fri Aug 23, 2002 5:41 pm Post subject: Thanks |
|
|
Cool, I'll give it a shot tonight after work. I'll let ya know how it goes.
J. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jocco n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Jul 2002 Posts: 24
|
Posted: Fri Aug 23, 2002 11:54 pm Post subject: Hell Yeah! |
|
|
Wow, that was easy, a couple of google.com searches later.
Ran...
mkdir /mnt/usbhd
nano /etc/fstab
added...
/dev/sda1 /mnt/usbhd msdos defaults 1 2
works like a charm
thanks for the info yardbird. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|