LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-24-2002, 07:25 PM   #1
slacker007
LQ Newbie
 
Registered: Apr 2002
Posts: 11

Rep: Reputation: 0
Talking How to mount a CD-Rom in Slackware 8.0


Hi Guys,

Ok, iv got something weird going on here. I have got Slackware 8.0 installed and working. I installed it off my cdrom. but now it will not mount in KDE.

I have tried entering this:

/dev/hdc /mnt/cdrom ISO9660 ro,noauto,user 0 0

in the /ect/fstab folder

when i try to mount in the bash i get this error: no final newline at the end of /ect/fstab?

What is this? what kind of line do i need to place in the folder?

Please explain clearly, in very very new to linux and I do not know my way around linux yet.

thanks
Daryl
 
Old 04-24-2002, 08:23 PM   #2
akohlsmith
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 114

Rep: Reputation: 15
do what it says!

make sure there is a blank line at the end of the fstab file.

If you're just mounting a cd the odd time, there's no need for the fstab line:

mount /dev/hdc /mnt -t iso9660 -o ro,noauto

You don't need user 0.0 because it defaults to the user it's run as (which unless your mount is suid root, will be root).
 
Old 04-24-2002, 10:14 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
also from a command line you can just enter this to mount the cd..

first create a /mnt/cdrom directory.. then,

$ mount /dev/cdrom /mnt/cdrom # mounts the cd
$ cd /mnt/cdrom # cd's into the directory of the cd
$ ls -al # lists all the contents of the cdrom
 
Old 04-25-2002, 02:01 PM   #4
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
DO it, as root:

ln -sf /dev/hdc /dev/cdrom

echo '/dev/cdrom /cdrom iso9660 noauto,user,ro 0 0' >> /etc/fstab

chmod 666 /dev/hdc

exit

Login as a common user and type:

mount /cdrom

Ta-Da!

HTH

vfs.
 
Old 04-25-2002, 03:15 PM   #5
slacker007
LQ Newbie
 
Registered: Apr 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks ITs working

Thanks to all those who posted, i was able to get the cdrom working. Glad this forum is working :-)
 
  


Reply



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
Cannot Mount CD-ROM Kenji Miyamoto Linux - Hardware 5 07-09-2005 02:30 AM
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
Multiple cd-rom icons from one cd-rom mount CEG Linux - General 5 02-04-2004 07:04 PM
can't mount cd-rom snocked Slackware 33 09-22-2003 02:26 AM
Slackware 9 CD-ROM mount benchcomptons Linux - Software 0 08-06-2003 09:24 PM

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

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