SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how do you mount a cd-rom in slack 9.1 as a regular user?....i know how to do it as root, but that gets quite annoying....having to su over all the time.....
thanks for your time....and i know the answer is something simple....lol...
i tried that, it didnt seem work....i even rebooted....lol....how do you restart that service when you change fstab?...
here id my fstab....just so you one could see it...and on the sam topic...how do i automount a windows network share?...i tried in the last line...but no love...
try first checking where your /dev/cdrom actually points to by
ls -l /dev/cdrom
then edit your /etc/fstab according to that device to see it it works.
After that as root
rm /dev/cdrom and
ln -s /dev/xxx /dev/cdrom
this should re-extabilish a right link if missing
Hope this helps
Ciao
i had that problem with slack-8.1 and here is the solution i also applied in 9.0 ;
like mentioned above , find your cdrom link;
ls -l /dev/cdrom
as root ; cdrecord -scanbus tells you about your cdrom device;
mine is 0,0,0 therefore /dev/sr0 (on account of scsi emulation i think);
so i did ln -sf /dev/sr0 /dev/cdrom do not forget the space after -sf
check your link again
i also changed permissions with chmod a+rw /dev/cdrom
let us know , good luck
What's the mount command you are issuing? With the correct fstab (looked right above) and if the symlinks are correct, a simple 'mount /mnt/cdrom' should do it.
Is the cd drive a cd/rw or dvd combo drive, if it is perhaps appending "hdd=ide-scsi" in lilo will help. I then created a cdrom icon in kde and I just click to mount. Though you still have to umount or eject.
Also changing noauto to auto should automatically mount the cd drive, though I don't know if this will be a problem without a cd in the drive.
first, make sure you are mounting the correct device; check output of dmesg for the device name
now, make sure that device has proper permissions; do chmod 777 /dev/hdx
what kernel version are you running? if you are using a 2.4.x kernel, add the line append hdx=ide-scsi to your lilo.conf file (somewhere near the top); if you are using 2.6.x, use append hdx=ide-cd
if you use ide-scsi, your cd drive is going to be /dev/sr0; do chmod 777 /dev/sr0; now make a symlink like so: ln -s /dev/sr0 /dev/cdrom; if using ide-cd, do ln -s /dev/hdx /dev/cdrom
do chmod 777 /dev/cdrom
do chmod 777 /mnt/cdrom
now edit your fstab and add this line
/dev/cdrom /mnt/cdrom iso9660 noauto,user 0 0
now you should be able to say mount /mnt/cdrom and mount as a user
i could stand on my head and sing, "the sound of music"....would that help?...
this is irritating....i have spent days on what should have taken about 15 minutes(if even that, regardless of the operating system)....it still does not work right....hrmmmm....hrmmmm....hrmmmm.....
please does anybody "know"?.... no guesses please!!!!!
the only thing i didn't mention in my previous post was to do chmod 777 /dev/sr0 if you have ide-scsi emulation enabled
while i was definitely not making any guess in my last post, i know it was a lot of information, so i could have missed some specific command
okay, so i will need information (and will probably include lots of copying and pasting to this forum)
what kernel are you using? do uname -r to find out
do you have ide-scsi emulation enabled? check lilo.conf, and also post the dmesg lines that regard to the detection of the harddrives, cddrives, etc.
post output of file /dev/cdrom
post output of ls -l /dev/cdrom, ls -l /dev/sr0, ls -l /dev/hdx (where hdx is your cd device)
finally, post your fstab (if you have changed it from your previous fstab posting)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.