LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2003, 10:02 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
Mounting win_d


my mandrake automatically mounted win_c, but how do i manually mount my 2nd partition to /mnt/win_d ??
 
Old 11-03-2003, 10:23 PM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Well, depending on the command used to mount the first drive lets assume its vfat on the first partition of the first harddrive, it would be something like

$ mount -t vfat /dev/hda1 /mnt/win_c

to mount the second one (assuming its the second partition of the same harddrive and its the same file-system) you would do

$ mount -t vfat /dev/hda2 /mnt/win_d

however if it is the second harddrive and its the first parition of that drive, you would want to do this

$ mount -t vfat /dev/hdb1 /mnt/win_d

I'm not too sure how Mandrake Automounts stuff, but if it uses the fstab like RH does you could add something like

/dev/hda2 /mnt/win_d vfat auto,user,umask=0000,fmask=0000 0 0

to your /etc/fstab to automatically mount /dev/hda2 at boot to the mount point /mnt/win_d, also its set up to make it so all users can rwx (i think). also if you are messing with fstab stuff you can always do mount -a to make it mount everything in the fstab. this way you can check to see if its mounting everything in the fashion you like so you don't have to wait until reboot to make sure it works. hope that helps ^_^
 
Old 11-03-2003, 11:46 PM   #3
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
/dev/hdd1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0

that is what is in my fstab directory to mount the c drive.... my d drive is the second partition of the drive... i only have 1 harddrive and like 5 partitions... so would this be what i should add to mount the d drive??

/dev/hdd2 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0
 
Old 11-03-2003, 11:50 PM   #4
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
im sorry, it shoudl be 2 lines...
/dev/hdd1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
 
Old 11-04-2003, 01:57 AM   #5
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
yeah, thats it, i guess. just add

/dev/hdd2 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0

to the bottom of the file. That should be enough to get it to mount automatically.

BTW hdd means that you have the hard disk set up as a secondary slave. the hda in the previous post assumed that you had it as a primary master. dont get confused about it...

EDIT:
Of course, there should be a directory named /mnt/win_d already, if not, create it .. but you knew that, didn't you?

Last edited by denominator; 11-04-2003 at 02:07 AM.
 
  


Reply


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
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
cannot create directory `/mnt/win_d/MP3': Read-only file system PapaJac Mandriva 11 03-04-2004 05:25 AM
cannot create directory `/mnt/win_d/MP3': Read-only file system PapaJac Mandriva 0 03-02-2004 04:09 PM
Linking /mnt/win_d to my desktop for easy access LinuxBAH Linux - Newbie 11 07-05-2003 06:10 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration