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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-01-2002, 05:43 PM
|
#1
|
Member
Registered: Aug 2002
Posts: 349
Rep:
|
mounting drive
how can i mount a windows hard drive in linux, it is located at /dev/hdb?
|
|
|
12-01-2002, 05:51 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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
|
|
|
12-01-2002, 07:07 PM
|
#3
|
Member
Registered: Aug 2002
Posts: 349
Original Poster
Rep:
|
thanx, it worked.
|
|
|
12-03-2002, 11:02 PM
|
#4
|
LQ Newbie
Registered: Dec 2002
Location: FL
Distribution: RH 7.3, Mandrake 9.0
Posts: 18
Rep:
|
will this automount it at boot, or do i have to add this command line into the etc/fstab file?
|
|
|
12-03-2002, 11:08 PM
|
#5
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
if you place auto option as well,
/dev/hdxN /mount/point vfat user,umask=000,auto,other options 0 0
|
|
|
12-04-2002, 12:03 AM
|
#6
|
LQ Newbie
Registered: Dec 2002
Location: FL
Distribution: RH 7.3, Mandrake 9.0
Posts: 18
Rep:
|
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.
|
|
|
12-04-2002, 12:49 AM
|
#7
|
LQ Newbie
Registered: Dec 2002
Location: FL
Distribution: RH 7.3, Mandrake 9.0
Posts: 18
Rep:
|
uh oh, why can't i delete the line i just added now?
|
|
|
All times are GMT -5. The time now is 12:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|