Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-28-2003, 09:04 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16
Rep:
|
Auto-mounting drives at startup
I have a non-GUI installation of Mandrake 9.1 which I would like to be able to automount my drives (filesystem is automatically mounted upon insertion of disk, I presume), but I don't know how. Can anyone tell me?
Also, I have a parallel zip drive which I have been able to "modprobe ppa" and use successfully, but do not want to have to type in the modprobe command everytime I want to use the drive. How can I add this to boot? I don't have a very good idea of common Linux files yet, so please be specific in any explanations
Thanks a mil!
|
|
|
|
09-28-2003, 11:55 PM
|
#2
|
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
your floppy and cd-rom should get mounted automatically since mandrake has the supermount feature. The same is usually true for zip drives. Have you tried if putting in a floppy or zip mounts it automatically?
What does you /etc/fstab look like?
|
|
|
|
09-29-2003, 07:53 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16
Original Poster
Rep:
|
/etc/fstab
/dev/hda6 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda5 /home ext2 defaults 1 2
/dev/hdc /mnt/cdrom auto usr,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,sync,codepage=850,noauto,exec 0 0
none /proc proc defaults 0 0
/dev/hda1 swap swap defaults 0 0
/dev/sda4 /mnt/zip auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,exec 0 0
Hmm, I guess that means the zip is in there already, but still nothing auto-mounts.
|
|
|
|
09-29-2003, 08:19 AM
|
#4
|
|
Member
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323
Rep:
|
Umm ok, I actually don't quite remember Mandrake and where is its modules file, but you can open /etc/rc.d/rc.local and the modprobe ppa line to the end of rc.local, that should do it. You can also try adding the line to /etc/modules.conf if it exists. Good luck! 
|
|
|
|
09-29-2003, 09:22 AM
|
#5
|
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
hm. Mandrake didn't enable supermount for you. Backup your fstab and then as root do
supermount -i enable
and then reboot. This should enable supermount and the system behave the way you want it.
The 'auto' in your fstab means auto-filesystem detection, not that it automounts.
|
|
|
|
09-29-2003, 11:15 AM
|
#6
|
|
LQ Newbie
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16
Original Poster
Rep:
|
Quote:
Originally posted by quatsch
The 'auto' in your fstab means auto-filesystem detection, not that it automounts.
|
I kinda thought so...but what's the "noauto" mean?
The supermount -i enable command worked perfectly...Thanks, quatsch!
|
|
|
|
09-29-2003, 11:40 AM
|
#7
|
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
No prob.
the noauto option means that it is not going to be automatically mounted when you start up the system or do mount -a. It is useful for partitions that you don't want to be mounted all the time for whatever reasons or for file systems that might or might not be there at boot time - like floppies and zipdrives.
The supermount feature does the mounting for you when it detects a removable media in one of the relevant drives.
|
|
|
|
09-29-2003, 05:19 PM
|
#8
|
|
LQ Newbie
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16
Original Poster
Rep:
|
And I was able to add the 'modprobe ppa' line to my /etc/rc.d/rc.local file for my zip drive. Thanks, wonderpun! 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|