LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 12-01-2002, 05:43 PM   #1
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Rep: Reputation: 31
mounting drive


how can i mount a windows hard drive in linux, it is located at /dev/hdb?
 
Old 12-01-2002, 05:51 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
hda = primary master
hbd = primary slave
hdc = secondary master
hdd = secondary slave
hde = tertiary master
hdf = tertiary slave
hdg = quarternary master
hdh = quarternary slave

You'd need to find out the partition number of the partition. If you type fdisk -l /dev/hdX where hdX is your harddrive, then it should list the available partitions on that drive. You'd then need to make the directory onto which you'll mount the drive (mkdir /mnt/newharddisk for example) and then you can mount it with mount -t vfat /dev/hdX? /mnt/newharddisk.

HTH
 
Old 12-01-2002, 07:07 PM   #3
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Original Poster
Rep: Reputation: 31
thanx, it worked.
 
Old 12-03-2002, 11:02 PM   #4
X-dazed
LQ Newbie
 
Registered: Dec 2002
Location: FL
Distribution: RH 7.3, Mandrake 9.0
Posts: 18

Rep: Reputation: 0
will this automount it at boot, or do i have to add this command line into the etc/fstab file?
 
Old 12-03-2002, 11:08 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
if you place auto option as well,
/dev/hdxN /mount/point vfat user,umask=000,auto,other options 0 0
 
Old 12-04-2002, 12:03 AM   #6
X-dazed
LQ Newbie
 
Registered: Dec 2002
Location: FL
Distribution: RH 7.3, Mandrake 9.0
Posts: 18

Rep: Reputation: 0
i mounted my hdb5, then logged in as root and added this line to my etc/fstab file

/dev/hdb5/ mnt/vfat5 vfat user,auto,rw,umask=000 0 0

then rebooted. but i saw some errors and failed messages, and the drive didn't mount. what am i doing wrong? . should i have umounted before adding to my fstab?

Last edited by X-dazed; 12-04-2002 at 12:31 AM.
 
Old 12-04-2002, 12:49 AM   #7
X-dazed
LQ Newbie
 
Registered: Dec 2002
Location: FL
Distribution: RH 7.3, Mandrake 9.0
Posts: 18

Rep: Reputation: 0
uh oh, why can't i delete the line i just added now?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting cd drive? agryan Linux - Newbie 2 06-03-2005 07:22 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Mounting a drive daiver Linux - General 3 10-10-2003 06:43 PM
Drive mounting iamsyk Linux - General 1 09-22-2003 11:57 AM
mounting drive Timboi Linux - Software 2 07-17-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:26 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