LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 09-28-2003, 09:04 PM   #1
MandrakeDave
LQ Newbie
 
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16

Rep: Reputation: 0
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!
 
Old 09-28-2003, 11:55 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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?
 
Old 09-29-2003, 07:53 AM   #3
MandrakeDave
LQ Newbie
 
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16

Original Poster
Rep: Reputation: 0
/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.
 
Old 09-29-2003, 08:19 AM   #4
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
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!
 
Old 09-29-2003, 09:22 AM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
 
Old 09-29-2003, 11:15 AM   #6
MandrakeDave
LQ Newbie
 
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16

Original Poster
Rep: Reputation: 0
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!
 
Old 09-29-2003, 11:40 AM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
 
Old 09-29-2003, 05:19 PM   #8
MandrakeDave
LQ Newbie
 
Registered: Sep 2003
Location: JAX-Area, FL
Distribution: Mandrake LE2005
Posts: 16

Original Poster
Rep: Reputation: 0
And I was able to add the 'modprobe ppa' line to my /etc/rc.d/rc.local file for my zip drive. Thanks, wonderpun!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems auto-mounting usb drives in kernel 2.6.13.3 dizzi Slackware 8 10-29-2005 01:41 PM
Auto mounting drives with write access at startup hongman Linux - Newbie 7 02-27-2005 11:32 AM
Mounting Hard drives at startup Marvel Fedora 4 11-29-2004 03:30 AM
Auto mounting Linux smb share on Windows at startup neranjana Linux - Networking 1 07-02-2004 06:56 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:21 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