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.
...if you get an error like this while trying to mount the drive, this indicates at least, that it is the correct drive...
If you would try to access the wrong drive you would get an error: not a valid block-device...
Be sure to use a data-CD - preferrably one of your installation-CDs, because you know that they are working.
to verify everything the error message mentioned, issue:
mount
and see if it reports something already mounted on /mnt/cdrom - but even if that is the case, this should not cause an error like this...
Despite what I was just saying: you get an indication from the error-message, telling you: the error might be caused by your system using ide-scsi emulation and you are trying to access that drive as an ide-drive.
The output of those commands I was asking for also indicates this!
This was the output you gave:
root@paul:~# ls -l /proc/scsi
total 0
dr-xr-xr-x 2 root root 0 Aug 10 08:34 ide-scsi/
-r--r--r-- 1 root root 0 Aug 10 08:34 scsi
dr-xr-xr-x 2 root root 0 Aug 10 08:34 sg/
dr-xr-xr-x 2 root root 0 Aug 10 08:34 usb-storage-0/
If all else failed until now - give this a shot:
try to access the drive as if it is an scsi-drive - the mount command to do that is almost the same, except for the device...:
mount -t iso9660 /dev/scd0 /mnt/cdrom
or it could be:
mount -t iso9660 /dev/scd1 /mnt/cdrom
...see what that gives you
I might not have been on the wrong track after all...
Yes the cd that Iam trying is actually another linux cd. I just tried another cd and I am still getting the same error message. I know the cdrom works I'v been ablel to boot off of it is there any possibility it has to do with my partitioning scheme, I have a boot manager and windows 98 installed on another partition?
This is the output of the last command that you gave meroot@paul:~# mount -t iso9660 /dev/scd1 /mnt/cdrom
mount: /dev/scd1: unknown device
root@paul:~# mount: /dev/scd1: unknown device
-bash: mount:: command not found
root@paul:~# oot@paul:~# mount -t i
I'm almost at my whits end here - the most obvious reason now could be - the driver for iso9660 is compiled as a module and did not get loaded - thus the kernel does not know how to deal with your CD...
please give the output of (and please include the command itself and separate each from the other):
lsmod
cat /etc/lilo.conf --> if you are using lilo as bootloader
cat /etc/grub.conf --> if you are using grub as bootloader
ls -l /lib/modules/`uname -r`/kernel/drivers/cdrom/
ls -l /lib/modules/`uname -r`/kernel/fs/
ls -l /lib/modules/`uname -r`/kernel/fs/isofs/
cat /proc/filesystems
copy and paste that - so you get it right...
all this will help to determine how your kernel is set up and what to do in case the module is not loaded...
I have the same problem. When I click the cdrom icon, I get a cannot mount error. However, if I found that if I went to a console and su, then try to mount the drive via the console, it works.
oops - Cedrik - you just suggested the opposite of what I was going to suggest - and which is already in the config-file...
He is using ide-scsi already - by commenting it out - everything else will be correct now...
Please correct me, when I'm wrong!
paul62:
Please answer these questions:
Is your CDROM a burner or is it just a "normal" CDROM-drive?
(if it is no burner - you do not need to use ide-scsi - which you actually do!)
Which kernel are you using ? (you get that by issuing: uname -r )
try mounting again! - this time use also this command - which I gave to you but you did not post the output for:
mount -t iso9660 /dev/scd0 /mnt/cdrom
IF that succeeds - tell us!
IF not: edit the file /etc/lilo.conf --> comment out the line that says:
append="hdc=ide-scsi"
by putting # in front of it - so it will look like this:
#append="hdc=ide-scsi"
after ! you have done this - issue the command:
lilo -v
then reboot and look if it is working now...
What this does is this: the "append=...." statement tells the kernel to use scsi-emulation for your CDROM - so it will be accessible as /dev/scd0 (it should be...)
Your current configuration is set up to see your CDROM as a normal ide-drive (as /dev/hdc ).
By commenting out the line that tells the kernel to treat your drive as scsi we are making sure, that the configuration is correct and in sync with the boot-options...
on my current system i have scsi-emulation setup for both my dvd drive and my cd-rw, when scsi-emualtions kicks in it doesn't use scd0 or scd1, however it does use sr0 and sr1, you might want to give this a try
mount -t iso9660 /dev/sr0 /mnt/cdrom
or
mount -t iso9660 /dev/sr1 /mnt/cdrom
..it was /dev/scd0 ... and so on on my system - that is why I used that - you could be right!
lets wait what he gets out of my last suggestion...
Do you know, what the difference actually is - between /dev/scd? and /dev/sr? - I think i tried both and
1.) /dev/scd? worked
2.) I think it was suggested that this was the correct device-file to use
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.