LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-17-2003, 03:08 PM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Unhappy How do I map drives?


Hey I have a version of Red Hat LINUX 9.0 (A distrubution by Aurox)

Kernal 2.4.20 (I think?)

I have windows 98 and XP on two other partitions... I am trying to get away from them but at least until I can get my win modem working I need access to these two other logical particions, how do I go about doing this? Please I need step by step instructions for Idiots/dummies/nebies what every you want to call me.

Next question is my modem I got this info from a windows program:

PCI CONFIGURATION
Vendor ID 14F1
Device ID 2F00
Subvendor ID 148D
Subdevice ID 1031
Revision ID 01

Vendor Name Conexant
Device Name HSF Churchill data/fax
Subvendor Name Broadxent
Modem Type HS

I tried installing the driver
hsflinmodem-5.03.27lnxtbeta03042700k2.4.20_9-1rh.i686.rpm
from linuxant.com/drivers/hsf/downloads-rh-i686.html but it started installing and then crashed! I now think it might be half installed... how do I go about sorting this out?

Any help from either of these questions much appreciated!
Adam
 
Old 08-17-2003, 03:50 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
To map a local drive make a directory in /mnt nmed win_98 (or wherever). Then type as root:
mount -t vfat /dev/hda1 /mnt/win_98
This should mount the windows partition. If you want to map the XP partiton that has a NTFS file system just change the vfat to ntfs. It will be read-only though.
I tried getting a win moden going once an said the heck with it. I bought an external US Robodics.
 
Old 08-18-2003, 08:03 AM   #3
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
I did it well half of it!

Thanks alot I managed to map my c: drive with win98 but I would also like to map my d: which is fat32 and e: which is also fat32 how do I go about doing this?

Also I would like when I start linux that it automatically maps these drives, where do I need to do this and how?

Oh yeah I am thinking about swapping my old (Really old Casio) digital camera for an external modem!

Adam
 
Old 08-18-2003, 08:15 AM   #4
Norrin
Member
 
Registered: Aug 2003
Location: Georgia
Distribution: Red Hat 9
Posts: 33

Rep: Reputation: 15
Thanks alot I managed to map my c: drive with win98 but I would also like to map my d: which is fat32 and e: which is also fat32 how do I go about doing this?

Do the same thing. There are no "drives" per say in Linux. There are only directories in the file system. If you set the first windows partition to /mnt/win_98 then you might want to just continue that convention and name the next two /mnt/win_98b and /mnt/win_98c. You would use the same command to mount those two file systems as you would the first one.

If you want the files to automatically mount on bootup you'll have to add some lines into your /etc/fstab file. To do that you'll need to switch to root (su root, then enter password) and type chmod -w /etc/fstab to make the file writeable. Then open up the file in gedit (type gedit at a command line).

You'll see how the file is auto-mounting the other file systems on your machine. I don't remember the exact way, but I think it's just

/dev/hda1(2, or 3) /mnt/win_98(b, or c) vfat defaults

If you add that line for EACH device that you want to mount on start up then it will do it automatically when you turn on the computer.

Also I would like when I start linux that it automatically maps these drives, where do I need to do this and how?

See, this is why I should read things before I respond. See above.

Oh yeah I am thinking about swapping my old (Really old Casio) digital camera for an external modem!

Adam



Probably a good idea with the old Casio. I haven't had to install a winmodem yet, but I hear it's hell to do in linux. Even better, invest in broadband.

Good luck from one newb to another!

Norrin

Last edited by Norrin; 08-18-2003 at 10:09 AM.
 
Old 08-18-2003, 09:08 AM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Well, Norrin explaned well. Although, I have to disagree in the part he gave write access to fstab. This is not a safe procedure .

Here are some examples for you to safely mount your win partitions at start up and make all users still being able to read and write to it, without giving write access to the file itselfs. Go into /etc and edit the file called fstab, adding the following lines:

Code:
/dev/hda1 /win98 vfat uid=500,gid=500,unmask=000,exec,dev,suid,rw 1 0
That's in the case you have win_c installed in your first partition. Let's say your win_d is in the second, simply:

Code:
/dev/hda2 /win98 vfat uid=500,gid=500,unmask=000,exec,dev,suid,rw 1 0
That would do the trick

Last edited by Mega Man X; 08-18-2003 at 09:09 AM.
 
Old 08-18-2003, 09:40 AM   #6
Norrin
Member
 
Registered: Aug 2003
Location: Georgia
Distribution: Red Hat 9
Posts: 33

Rep: Reputation: 15
Well, Norrin explaned well. Although, I have to disagree in the part he gave write access to fstab. This is not a safe procedure .

I'm sorry, I don't really know the best way to do things

I'm BRAND new to Linux, so I was messing around all last night trying to figure out how to get my second hard drive to mount on boot up. It wouldn't let me edit the fstab file in my normal user account, so I had to switch to root. I figured the file was write protected, so I made it writeable. I guess I probably didn't have to do that.

Thanks for your explanation though, I'll change that on my machine when I get home.

Norrin
 
Old 08-18-2003, 11:38 AM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Believe me, for somebody new, you are doing great my friend Norrin It took me 3 months to mount my drive, 1 month to play DVD's and I still cannot burn CD's as I want...hehe. You should be really proud of you
 
Old 08-18-2003, 01:19 PM   #8
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
dev folder has 7523 items is it normal?

I have just spent 4 hours reading the Red Hat manuals (That come with Linux) just the basic stuff.... I feel it has made a world of difference and I should have done it to start with, it actually has a section on mounting windows drives (Virtual and Physical) I now have my three virtual drives auto mounting... I feel pretty happy as this is pretty much my second day with linux on my system!

Thanks for the help and any newbie wanting to mount other drives I really recomend having a look at the basic manual files that come with Red Hat.

Thanks for all the help
 
  


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
How do I map network drives using NATIVE NetBIOS? tnandy Linux - Networking 9 01-24-2009 03:33 PM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 07:49 AM
Login Scripts don't MAP drives for win98 - Slackware 10 using Samba v3.0.5 teeno Linux - Networking 0 02-04-2005 07:00 AM
Map network drives jocast Linux - Networking 4 08-25-2004 07:38 PM
How to map network drives? (Mandrake 10.0) R00ts Linux - Newbie 12 04-01-2004 02:23 AM


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