LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting partition on LRH 9 (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-partition-on-lrh-9-a-75126/)

DraaX 07-23-2003 03:37 AM

mounting partition on LRH 9
 
I just recently installed RedHat 9 in a dual boot environment with windows xp pro. For never having used linux in my life the installation went quite smooth.

I have figured out how to mount my vfat partition (not the windows system partition) using "Terminal" .

My problem is getting Linux to automatically mount this partition on bootup, not just because my desktop background is on it, but because I know it must be possible and I want to do it! :cool: This is the command i mounted it with.

"mount -t vfat /dev/hda5 /mnt/Windows"

Everything worked fine except that it doesn't mount it on boot.
PLease help

:newbie:

michaelk 07-23-2003 03:59 AM

Welcome to linux.

To mount your XP partition at boot you will need to add a line in the /etc/fstab file. You will need to be root to edit this file. You can use any text editor that is installed. If you selected to install the documentation you can use the online man pages for help with commands.
man mount
man fstab
It will explain all of the options for mounting.

/dev/hda5 /mnt/Windows vfat user,umask=000 0 0

BTW Try searching for the answer first. Most beginner type questions have been answered lots of times. And so you will get an answer faster then waiting for someone to post an answer.

DraaX 07-23-2003 04:11 AM

The partition that I am trying to mount is not my Windows XP boot partition, but a vfat partition with media and data to share between Linux and Windoze.
I am going to asume that that doesn't matter and the command will stay the same.
Thx for the help michaelk!!

michaelk 07-23-2003 04:22 AM

The command will stay the same.

Manarius 07-23-2003 06:56 AM

I can't even figure out how to mount it in terminal! RH says its there in Hardware search...but to mount it!?

Skyline 07-23-2003 07:08 AM

hI Manarius

You need to use a text editor form the terminal

If your using KEDIT it would be

SU
Root password

KEDIT /etc/fstab

This will bring up a KEDIT screen with your /etc/fstab file open

Just append somethin glike this to the bottom

Remember to put a carriage return at the bottom of your last entry.

/dev/hda5 /mnt/Windows vfat user,umask=000 0 0


All times are GMT -5. The time now is 08:52 AM.