LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-23-2003, 03:37 AM   #1
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Rep: Reputation: 16
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! 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

 
Old 07-23-2003, 03:59 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,362

Rep: Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454
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.
 
Old 07-23-2003, 04:11 AM   #3
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
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!!
 
Old 07-23-2003, 04:22 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,362

Rep: Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454Reputation: 5454
The command will stay the same.
 
Old 07-23-2003, 06:56 AM   #5
Manarius
LQ Newbie
 
Registered: Jul 2003
Location: Grantham, PA, US
Distribution: Ubuntu 8.1 w/ KDE4
Posts: 20

Rep: Reputation: 0
I can't even figure out how to mount it in terminal! RH says its there in Hardware search...but to mount it!?
 
Old 07-23-2003, 07:08 AM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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
 
  


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
Mounting partition peaceslp Linux - Software 4 09-28-2005 01:08 PM
Mounting a partition 1veedo Linux - Hardware 6 12-19-2004 06:40 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM
Partition mounting Rex_chaos Linux - General 11 09-24-2001 05:35 AM

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

All times are GMT -5. The time now is 07:22 AM.

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
Open Source Consulting | Domain Registration