LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to mount a CD-Rom in Slackware 8.0 (https://www.linuxquestions.org/questions/slackware-14/how-to-mount-a-cd-rom-in-slackware-8-0-a-19376/)

slacker007 04-24-2002 07:25 PM

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:Pengy:

akohlsmith 04-24-2002 08:23 PM

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).

trickykid 04-24-2002 10:14 PM

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

vfs 04-25-2002 02:01 PM

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.

slacker007 04-25-2002 03:15 PM

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


All times are GMT -5. The time now is 01:18 AM.