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.
OK...
Slackware 10.1
I did a clean install, formatting the harddrive, checking for bad blocks and all. Everything went fast and smooth.
However, just as before (in the previous thread) one cdrom is listed and noticed, the other is not even seen (btw, its the one that isn't seen that is the one I didi the install with)
A data disc can be read in cdrom, but will not eject.
and audio cd won't do anything and tells me:
**********
mount: wrong fs type, bad option, bad superblock on /dev/cdrom
missing codepage or other error
...in some cases...
...try dmesg...
please check the disk is entered correctly
**********
This tells me that both CD drives are detected. I do not know why only one was configured. I also can not tell which one is being seen.
You need to unmount the data CD before it will eject. Audio CDs can not be mounted because they do not contain a valid filesystem.
You do not mention which drive i.e. the writer or the ROM drive is working. To see the what /dev/cdrom is actually linked to look at the output of the command:
ls -l /dev/cdrom
You can always add an fstab entry for the other device like
/dev/hdd /mnt/cdrom2 iso9660 noauto,owner,ro 0 0
You will need to create the mount point. Change hdd to hdc if the writer is the device not configured.
You need to unmount the data CD before it will eject.
The data cd will not unmount. I get an error stating that "unmount /dev/cdrom Failed!"
Quote:
You do not mention which drive i.e. the writer or the ROM drive is working. To see the what /dev/cdrom is actually linked to look at the output of the command:
ls -l /dev/cdrom
/dev/cdrom -> /dev/hdc
ok, so the other cdrom is being seen as hdd (through dmesg), but is not configured.
Quote:
You can always add an fstab entry for the other device like
/dev/hdd /mnt/cdrom2 iso9660 noauto,owner,ro 0 0
the fstab entry is confounding me. for the cdrom that is currently working (except for the unmounting part) the fstab line is:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
instead of /dev/hdc /mnt/cdrom
as described in the other thread, I tried " #mkdir /dev/cdrom1 " then added a line for it in fstab, but that didn't work. I feel like I'm missing a step.
So what do you think about that first part of the fstab line? Everything I've been reading has described it as needing to be " /dev/hd* "
add this line to the fstab file
/dev/hdd /mnt/cdrom2 iso9660 noauto,owner,ro 0 0
The /dev/cdrom is a link that points to the actual device /dev/hdc. In this case it is just creating a device name that has more meaning then /dev/hdc. The devices (/dev/hdc /dev/cdrom) are interchangable.
1 - Be sure that there are two different directories inside /mnt where you'll mount your devices. For example /mnt/cdrom and /mnt/cdrom1. If these directories doesn't exist, create them;
2 - Remove any symbolic link to cdrom drives thay may exist in your /dev directory. You'll create them again in step 3;
3 - Create new (and correct) symbolic links to your devices, using the ln command. Type the following at the prompt:
Notice that, since you have 2 devices, you need 2 separate lines in fstab.
5 (optional) - If you want to give permissions for every user (not only root) being able to mount or umount the cdrom, add the users option to the fstab, like this:
6 - To test your configuration, put cds in the drives and mount them:
Code:
# mount /dev/cdrom
# mount /dev/cdrom1
It's not necessary to specify details such as file system or where to mount, since these information are already in fstab.
7 - To umount the cds, use:
Code:
# umount /dev/cdrom
# umount /dev/cdrom1
Before umounting, be sure that no user or application is using the device. And if you are at the prompt, you must be out of the directories /mnt/cdrom or /mnt/cdrom1, i.e. none of these dirs can be your current directory when umounting. To be sure you are out, just type cd /.
Good luck!
Ander
P.S.: If you prefer, when creating the dirs and links in steps 1 and 3 you can use the names cdrw and cdrom instead of cdrom and cdrom1 respectively. It sounds more friendly (at least for me!). Obviously you'll have to adapt the lines in fstab.
Last edited by AnderWinkler; 03-01-2005 at 09:19 PM.
OK, its working now.
Thank you for the explain on /dev/cdrom vs /dev/hdd
I like to understand at least somewhat what I'm typing in.
There is still an issue with /mnt/cdrom not wanting to unmount. I tried it out as the first thing after starting x. I put a disc in *************
EDIT
Nevermind. I was just being dumb. I think i was replying while Ander was and...y'know...its getting late and all...
END EDIT
HOWEVER:
my whole system has FROZEN three times since I did this latest install about 4 hours ago.
I'm getting a whole slew of errors from fsck.
Should i start a new thread here, or do you think this would be more for the hardware forums?
Thanks again all.
-Michael
Last edited by redbeansnrice; 02-27-2005 at 09:46 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.