Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor network networking outlook problem processor recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
mount partitions automatically

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
maxmelbin's Avatar
Senior Member with 361 posts.
 
Join Date: Jun 2004
Experience: I am a Tech
29-Jul-2004, 05:39 PM #1
Unhappy mount partitions automatically
how do make all partitions to mount automatically in Linux , red hat
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
29-Jul-2004, 08:10 PM #2
you need to go into your /etc/fstab file and add what you want there
do a #man fstab if you are unsure as to what you need to add, the format is fairly easy to follow though
usr_208's Avatar
Member with 54 posts.
 
Join Date: Jul 2004
Experience: Windows: Advaced ; Linux: Trying
29-Jul-2004, 10:04 PM #3
red hat, you will have to do it manually, if you want them to mount automatically, try something like SuSe out. it mounts for you. also i think Mandrake does if you look in /mnt/ they are already there. but mounting on your own is much better.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
30-Jul-2004, 12:55 AM #4
Red hat can mount it automatically usr...its in the fstab file...fstab is loaded automatically when you boot into linux. If you have the partition in the fstab file it will mount the drive automatically (as long as you have it configured right)...then you just have to cd to wherever you told it to mount..and it will be miraciously there.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
saikee's Avatar
Distinguished Member with 2,835 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
30-Jul-2004, 07:45 AM #5
Loading a Suse can take anything between 1/2 to 3/4 hours. Tsunam suggested route of amending the fstab takes minutes.
usr_208's Avatar
Member with 54 posts.
 
Join Date: Jul 2004
Experience: Windows: Advaced ; Linux: Trying
30-Jul-2004, 08:31 AM #6
ok well if you mean automatically on each boot up after you set up the fstab file then yeah, of course i knew that. i just meant that suse automatically mounted any partitions you have period. so does mandrake. but the good thing is, i dont want all my damn partitions mounted right of the bat, so red hat lets you add them where you want em.
saikee's Avatar
Distinguished Member with 2,835 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
30-Jul-2004, 08:45 AM #7
I think in Suse the partitions are named as Data1, Data2, Data3 ....etc. It can be one heck of a mess to tell one from the other as I have 10 distros plus Xp in mine. Newer distros tend to be keen to mount every partition. Knoppix doesn't seem to miss anything out.
maxmelbin's Avatar
Senior Member with 361 posts.
 
Join Date: Jun 2004
Experience: I am a Tech
30-Jul-2004, 11:12 AM #8
thanx guys , i will try editing the /etc/fstab file
hope i find out how to add the new lines by man .....
another help .. how do u get a list of all partitions in red hat ....
in Solaris these partitions will be listed under /dev/rdsk , cannot find anything similar here...
Regards
Max
saikee's Avatar
Distinguished Member with 2,835 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
30-Jul-2004, 11:45 AM #9
fdisk -l
usr_208's Avatar
Member with 54 posts.
 
Join Date: Jul 2004
Experience: Windows: Advaced ; Linux: Trying
30-Jul-2004, 01:13 PM #10
i did this for my two mounts.

/dev/hdb1 /mnt/save vfat auto,users,umask=0003,uid=500,gid=500 0 0
/dev/hdb2 /mnt/files ntfs auto,users,umask=0003,uid=500,gid=500 0 0

can't get the ntfs to work yet even though i patched the kernel w/ kernel-ntfs-2.4.20-31.9.i686.rpm
usr_208's Avatar
Member with 54 posts.
 
Join Date: Jul 2004
Experience: Windows: Advaced ; Linux: Trying
30-Jul-2004, 01:20 PM #11
nevermind. fixed it. i rebooted. and then noticed that the /mnt folder i had put them in belonged to the root and not my user. so i changed permissions.

[root@HOUSE jason]# chown -R jason:jason /mnt


man linux rocks when you get it right
maxmelbin's Avatar
Senior Member with 361 posts.
 
Join Date: Jun 2004
Experience: I am a Tech
30-Jul-2004, 03:13 PM #12
i am still waiting for it to rock ....
i am slowly moving to linux' s dreamworld
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
30-Jul-2004, 05:06 PM #13
Glad that you are moving into the linux mentality max. It is a amazing OS if you are willing to give it the time to learn. SInce you do start over from basically square 1
comprookie20's Avatar
Senior Member with 158 posts.
 
Join Date: Jan 2004
Location: Ft.Lauderdale Fl.
Experience: Advanced
31-Jul-2004, 01:48 PM #14
Or you could do mount /dev/hda1 or whatever when you wanted it mounted,takes a second.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 05:54 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.