LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 08-06-2007, 03:35 PM   #1
bliss4one
LQ Newbie
 
Registered: Dec 2006
Location: Denver, CO
Distribution: Debian Lenny 5.0
Posts: 23

Rep: Reputation: 15
How to mount Western Digital External Drive previously used on Windows System?


As part of using all the hardware from my old Windows system, I've attempted to use my Western Digital external hard drive. I can see that it is connected through the usb port, but I have not been able to mount it. I know that the formatting is the FAT32 from the Windows system, but I don't know how to enter the directory to tell it to read it in the right way so i can use it again.
I have the Linux+ book and have looked for the line commands necessary to do this and I'm still lost!
 
Old 08-06-2007, 05:23 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Try mount -t vfat /dev/sda1 /usb/c -o rw,gid=usb as root after a mkdir /usb and mkdir /usb/c where the sda1 is whatever fdisk -l tells you is the device used for the USB drive. Note: That assumes that any of your users needing to access the device will be members of the usb group.

Once the device is mounted, a ls /usb/c should list its top-level directory, and a find /usb/c should list the entire disk contents.

Aside: You can set up a udev rule that can assign a device name based on, e.g., a device serial number. Thus udev lets you mount devices automatically using device names you assign.

<edit>
You can substitute "external drive" for "usb" in the above discussion, and, of course, use any mount point you want to use. /usb/c is just a suggestion.
</edit>

Last edited by PTrenholme; 08-06-2007 at 05:27 PM.
 
Old 08-10-2007, 05:27 PM   #3
mepnoob2005
Member
 
Registered: Mar 2007
Location: canada
Distribution: SimplyMEPIS 6.5 final
Posts: 104

Rep: Reputation: 15
Smile

Quote:
Originally Posted by bliss4one
As part of using all the hardware from my old Windows system, I've attempted to use my Western Digital external hard drive. I can see that it is connected through the usb port, but I have not been able to mount it. I know that the formatting is the FAT32 from the Windows system, but I don't know how to enter the directory to tell it to read it in the right way so i can use it again.
I have the Linux+ book and have looked for the line commands necessary to do this and I'm still lost!
PTrenholme has some great advice and tips on his post.
Does the command lsusb in konsole show your usb drive? if so it can be accessed in the normal ways.
I was wondering if you tried to use KwikDisk? KwikDisk is able to mount any drive that I have. Another way I mount drives is to access them via konquerors side panel. Click on services, Storage media and you may be able to access your windows drive. If these tips don't work then you will need to follow PTrenholme's post.
 
Old 08-14-2007, 06:05 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
FWIW,
Code:
mkdir /usb 
mkdir /usb/c
can be combined as:
Code:
mkdir -p /usb/c
RTM
 
Old 08-19-2007, 04:40 PM   #5
bliss4one
LQ Newbie
 
Registered: Dec 2006
Location: Denver, CO
Distribution: Debian Lenny 5.0
Posts: 23

Original Poster
Rep: Reputation: 15
I used all the information shared here in an effort to mount the Wetern Digital external drive with no success so far. I'm using a usb hub with a HP printer, a LabTec WebCam, a Memorax Flash Drive and the Western Digital Ext Drive attached. When I use KInfo and go to the usb setting, I can see that all of this devices are listed, right down to the serial number of the devices. The sda1 device number is used for the flash drive and fdisk -l command line only yields a reading on the hda and its partitions and the sda1 flash drive. There is no device code for the external hard drive that is connected to the system listed here???? Is there a way to assign a device code to this external drive??? Obviously if the KInfo can identify the serial number of the Western Digital device, it's connection is registering electronically, what do I need to do to get the program(s) to identify and include it so it can be mounted????

from the X window:

root@2[~]# fdisk -l

Disk /dev/hda: 20.4 GB, 20485785600 bytes
255 heads, 63 sectors/track, 2490 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1216 9765625 83 Linux
/dev/hda2 1216 1338 976562+ 82 Linux swap / Solaris
/dev/hda3 1338 2313 7834960+ 83 Linux

Disk /dev/sda: 1031 MB, 1031798784 bytes
16 heads, 32 sectors/track, 3936 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3936 1007600 e W95 FAT16 (LBA)

In the first reply here at LinuxQuestions, it was suggested that "external drive" could be substituted for "usb" in the command line. When I changed sda1 to sda2 and usb to ext dr. I received:

root@2[~]# mount -t vfat dev/sda2 /externaldrive/c -o rw,gid=usb
mount: mount point /externaldrive/c does not exist

What am I missing here?

In the second reply it was suggested that I use the command line 'lsusb' and this command produced the following:
root@2[~]# lsusb
Bus 001 Device 006: ID 03f0:2f11 Hewlett-Packard
Bus 001 Device 005: ID 046d:08a2 Logitech, Inc. Labtec WebCam Pro
Bus 001 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 001 Device 004: ID 08ec:0008 M-Systems Flash Disk Pioneers
Bus 001 Device 003: ID 1058:0300 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 0000:0000
Once again this shows the external drive, what can I do with this information to mount this drive for use with the Linux system???

I'm still looking through my reference book to see if I can find a solution as well. Any further suggestions???

Last edited by bliss4one; 08-19-2007 at 04:49 PM.
 
Old 08-29-2007, 11:24 AM   #6
jdavis2
Member
 
Registered: Feb 2007
Distribution: Fedora, Mandrake, Knoppix, Windows XP
Posts: 37

Rep: Reputation: 15
Mount point not found

"mount: mount point /externaldrive/c does not exist"

If this is not an existing directory you have to create it first.
 
Old 09-16-2008, 10:26 AM   #7
bliss4one
LQ Newbie
 
Registered: Dec 2006
Location: Denver, CO
Distribution: Debian Lenny 5.0
Posts: 23

Original Poster
Rep: Reputation: 15
This problem never got resolved! Are there any other suggestions???

I'm back with the desire to actually use my external hard drive to store and back up my data and files before I try and install Mepis 7.0, so I searching again for a solution to this situation with the external hard drive. Wondering if there will be new software tools in the new OS that will perhaps make the use of the old external hard drive work?
 
Old 09-16-2008, 05:59 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
In Mepis, you need to create whatever directories you want to use to mount the usb drive to as suggested above. The message below which you got when trying to mount tells you there is no directory named "externaldrive" or "c".

mount: mount point /externaldrive/c does not exist"

So, just create the directories "externaldrive" (or whatever you want to call it) and "c" and try the mount command again.
 
  


Reply



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
Can I install Linux on Western Digital USB external hard drive? priyankadeven Linux - Newbie 6 11-24-2009 09:12 PM
external HDD: Western Digital Extreme with Mandriva? JockeTF Linux - Hardware 3 12-16-2005 08:57 AM
Western Digital external USB. RedHat spikeroo Linux - Hardware 3 01-17-2005 04:39 PM
Installing Fedora on a western digital 120GB external rogermark100 Linux - Newbie 0 04-17-2004 07:24 PM
Western Digital USB External HD not Mounting zakmtbike Linux - Hardware 5 03-08-2004 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration