LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2003, 01:43 PM   #1
777JR
LQ Newbie
 
Registered: Nov 2003
Location: Elmer,Louisiana. U.S.
Distribution: Slackware 9.1
Posts: 9

Rep: Reputation: 0
mounting & unmounting?


I just installed Slack 9.1 I am a newbie to Slack and I have used RH 9 for the last two months. I am trying to find where I am able to manage my drives(mounting & unmounting) also need to find out how to get them to automount( if I can)?
 
Old 12-11-2003, 02:03 PM   #2
tipaul
Member
 
Registered: Apr 2003
Location: Laval, Quebec, Canada
Distribution: Ubuntu
Posts: 121

Rep: Reputation: 15
Exclamation mount vs automount

There's a big difference between mounting and auto-mounting!

Because for enabling auto-mounting, you must patch the kernel and recompile it!

But for mounting, you must know your drives and edit (as root) the file /etc/fstab .

you must insert a line for cdrom:

/dev/hdx /mnt/cdrom iso9660 noauto,users,ro 0 0

where /dev/hdx is:
/dev/hda -> Drive is connected to Primary IDE as Master.
/dev/hdb -> Drive is connected to Primary IDE as Slave.
/dev/hda -> Drive is connected to Secondary IDE as Master.
/dev/hda -> Drive is connected to Secondary IDE as Slave.

Samething for Windows partition except you must specify the partition # after the drive (/dev/hda1 -> which is the first harddrive and second partition as partitionning start at 0!). The line would look like:

/dev/hda1 /mnt/win vfat auto,users,rw 0 0

NB: vfat is for FAT32 partition (as with Windows98). auto will mount the partition at bootup. users is for enabling access for users. rw = read and write enabled...

If you want to mount a Windows XP/NT/2000..etc... parition, then you must replace vfat with ntfs and also the "rw" for "ro"... Because write access to your NTFS partition could damage-it!

Another NB: you must create the directory in the /mnt before mounting something in it... Like doing mkdir /mnt/cdrom for the upper example of the cdrom... All this always under ROOT user!!!!
 
Old 12-11-2003, 05:27 PM   #3
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
typo?

I think you made some typos here:
Code:
where /dev/hdx is:
/dev/hda -> Drive is connected to Primary IDE as Master.
/dev/hdb -> Drive is connected to Primary IDE as Slave.
/dev/hda -> Drive is connected to Secondary IDE as Master.
/dev/hda -> Drive is connected to Secondary IDE as Slave.
It should read as:
Code:
where /dev/hdx is:
/dev/hda -> Drive is connected to Primary IDE as Master.
/dev/hdb -> Drive is connected to Primary IDE as Slave.
/dev/hdc -> Drive is connected to Secondary IDE as Master.
/dev/hdd -> Drive is connected to Secondary IDE as Slave.
The secondary master and slave devices should be hdc and hdd, respectively
 
Old 02-08-2004, 04:26 AM   #4
bigbacon
LQ Newbie
 
Registered: Sep 2003
Distribution: slack 9
Posts: 3

Rep: Reputation: 0
Another question answered with out even asking... Thanks guys. You really make this too easy for us n00bs
 
  


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 and Unmounting issues kronuskaos Linux - Hardware 14 11-24-2005 04:32 AM
New hdd, difficulties mounting (well, unmounting :P) hexbox Linux - Hardware 2 09-04-2004 01:36 PM
Mounting and unmounting in Linux... Tommi Linux - Newbie 3 07-05-2003 09:02 PM
Mounting and unmounting in redhat. Tommi Linux - General 3 04-22-2003 08:08 AM
Mounting and unmounting Hidden Dragon Linux - General 20 09-01-2002 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration