LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-08-2008, 03:29 PM   #1
RAF101
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Rep: Reputation: 0
External USB HD!


Hello Everyone,

I have Ubuntu 8.4 and I have External hard drive USB 2.0 every time i try to plug it in it says that cant mount the volume "WD Passport".


any ideas?

thanks for the help!
 
Old 10-08-2008, 05:14 PM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 369

Rep: Reputation: 40
ok, im going to guess that your external hd is ntfs? thats where most of the problems start

all you need to do in this case is get an ntfs driver
the best one is ntfs-3g http://www.ntfs-3g.org/

then, find your device in /dev
since yours is an external hd, it would probably /dev/sda1 or something

then, mount it with the new ntfs-3g driver:

Code:
mount -t ntfs-3g /dev/<device> <mountpoint>
replace <device> with the actual device
replace <mountpoint> with the actual mountpoint you want to use

and that should work


good luck,
rabbit2345

Last edited by rabbit2345; 10-08-2008 at 05:16 PM.
 
Old 10-08-2008, 05:29 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,312
Blog Entries: 3

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
Hi,

I believe Ubuntu 8.4 already has the ntfs-3g package.
 
Old 10-08-2008, 06:58 PM   #4
RAF101
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Rabbit,
thanks allot for the reply, but i am afraid that i am a total noob, can you please explain it further for me??

how can i find out what is the device in /dev??

how can i know what is the actual mount point that i want to use??

thanks again!
 
Old 10-09-2008, 09:48 PM   #5
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 369

Rep: Reputation: 40
ok, i'm going to try and help you find your device

but the one thing is, are you sure that your device label is "WD Passport"? spaces are not allowed in device labels

but anyway,

plug ur hd in

go to : /dev/disk/by-label and find the device file (in linux, all devices are represented as files in /dev) with "WD Passport" for a name

it will be a link to another file. don't worry about this

if you can't find it, just go to /dev/disk/by-id
there will be a bunch of crap in this folder, but find the device that has usb- in the begining and ends in -part1

a mount point is a folder where a device's contents are read and placed into that folder.
so if i mount /dev/hda1 (fake) on /mnt/hard, then the contents on /dev/hda1 will replace anything inside /mnt/hard

the best place to mount stuff is /mnt (yeah)

so you can run this from the command line:
Code:
mkdir -p /mnt/usb
mkdir is "make directory" or make a new folder
the -p aurgument means make parent directories, make any folders that aren't there already.

so if you wanted to make a folder in /mnt/hard/good, you would normally have to run mkdir twice, but if you just run mkdir -p /mnt/hard/good, it makes the parent directories that aren't already there

and you can change /mnt/usb to anything you want, maybe you want it to be mounted under /mnt/jackson or something

then, all you need to do is run to mount command:

Code:
mount -t ntfs-3g /dev/disk/by-id/<device> /mnt/usb
replace <device> with the device file you found in /dev/disk/by-id
so if your device in that folder was usb-123456789-part1 (fake), then you can run:

Code:
mount -t ntfs-3g /dev/disk/by-id/usb-123456789-part1 /mnt/usb
assuming that you want to mount at /mnt/usb


good luck,
rabbit2345 ^_^
 
Old 10-09-2008, 11:11 PM   #6
RAF101
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you so much Rabbit, it worked like a charm thanks again, wow im soooo happy lol
 
  


Reply

Tags
external, hd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
usb external HD issue: reset high speed USB device using ehci_hcd gstath Slackware 4 08-18-2010 01:35 AM
External ubuntu install on external USB HDD th3_tr00p3r Linux - Newbie 1 05-11-2008 02:56 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
External USB SB Live 24 with snd-usb-audio: mixer too rudimentary LaoNiu Linux - Hardware 0 05-28-2006 10:22 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM


All times are GMT -5. The time now is 09:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration