Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting a USB Hard Drive in Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Jocco
n00b
n00b


Joined: 03 Jul 2002
Posts: 24

PostPosted: Tue Aug 20, 2002 1:13 pm    Post subject: Mounting a USB Hard Drive in Gentoo Reply with quote

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
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Tue Aug 20, 2002 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jocco
n00b
n00b


Joined: 03 Jul 2002
Posts: 24

PostPosted: Fri Aug 23, 2002 5:41 pm    Post subject: Thanks Reply with quote

Cool, I'll give it a shot tonight after work. I'll let ya know how it goes.

J.
Back to top
View user's profile Send private message
Jocco
n00b
n00b


Joined: 03 Jul 2002
Posts: 24

PostPosted: Fri Aug 23, 2002 11:54 pm    Post subject: Hell Yeah! Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum