Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-24-2004, 08:40 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Colorado
Distribution: RHL 7.3
Posts: 1

Rep: Reputation: 0
How to mount drives and partitions

I am a real Linux newbie and am experimenting with Red hat Linux, but a fairly advanced Windows user. My immediate question is how to mount a dos partition which resides on the same drive as Linux. I have downloaded a number of Linux applications using my DOS-based ISP and moved them to the Windows partition on my Linux machine over the network. Now I want to install them on Linux. IF there were a way to use my network with Linux, this probably wouldn't be necessary.


I tried "mount -t vfat /dev/hdb1/windows" and several variations. All return an error.

"/windows" is a directory on my Linux partition. I'd like this to happen automatically, without having to use the shell command, but am a little nervous about modifying fstab.

System information follows:
System Description

Small home network using Linksys Phoneline adaptor cards, running 10 mbs. Main PC is HP pavilon, 3.0 gig, 512 ram, 120 gig hd, running Windows XP Home, SP1. Linux machine is a Dell pentium, 128 meg of memory, First drive: 1.2 Gig, formatted as DOS, running Win98, SP2: second drive: 4.2 gig partioned as 2.0 gig primary Dos, second 2.2 gig partioned as Linux, running Red Hat Linux 7.3 with KDE GUI.
Old 07-24-2004, 09:02 PM   #2
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
you have to tinker with /etc/fstab. Here's my fstab:

# <fs> <mountpoint> <type> <opts> <dump/pass>

/dev/hdb1 /boot ext2 noauto,noatime 1 1
/dev/hdb3 / reiserfs noatime 0 0
/dev/hdb4 /home reiserfs defaults 0 0
/dev/hdb2 none swap sw 0 0
/dev/hda2 /fat-d vfat users,rw,umask=000 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0

Notice the /fat-d? that's my FAT32 partition that i purposely set up at the Windows side of my harddisk. It's for general file sharing purposes(like you).


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
Hard Drives / Partitions? ctroyp Linux - Newbie 5 10-26-2005 03:50 PM
Partitions with 2 Hard Drives gblasius Linux - Newbie 6 09-27-2005 10:40 AM
new partitions on new hard drives Sticktendo Linux - Newbie 18 01-01-2005 05:16 AM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 05:30 PM
viewing partitions and drives gag Linux - Newbie 4 11-09-2003 12:59 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration