CDROM refuses to mount, /dev/cdrom does not exist
Hi all,
I am running Knoppix 3.4 its grand, except for a little problem with the cdrom drive. My friend gave me a cd full of some great stuff I want to try in Linux... problem is I can not mount the cd. I enter in the command: Code:
root@RSWLinux:/home/shane# mount /dev/cdrom /cdrom I did some googling and I tried this and got what follows: Code:
root@RSWLinux:/home/shane# mount -t iso9660 /dev/cdrom /cdrom here is my fstab Code:
# /etc/fstab: filesystem table. i have had this cdrom drive work in the past... so i know that works on knoppix 3.3 i was able to mount for cd data but not audio any help is greatly appreated shane p.s. i tried adding /dev/cdrom/... nothing changes |
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 <--- setup for the logged in user ;-)
You can mount that thing as a user. Just issue shane@RSWLinux:/home/shane$ mount /cdrom Now, that is assuming you have a mount point named /cdrom. If you don't, then make one by issuing root@RSWLinux:/home/shane# mkdir /cdrom That should work, eh? |
Code:
shane@RSWLinux:~$ mount /cdrom |
Where is your cdrom located in your machine? Is it master or slave, and which controller? Issue as root
root@RSWLinux:/home/shane# /sbin/fdisk -l and that will show your hard drive(s). Then you should be able to tell from there what is you CD-ROM drive. What you got in that box? Are you making those symlinks, or is that something your distro does? Is Vector based off of Debian? Looks like you've got one hard drive, so your CD-ROM is most probably /dev/hdb and if so, did you try root@RSWLinux:/home/shane# mount /dev/hdb /cdrom |
What I am getting at, is that you may be missing the symlink from your actual CD-ROM device to /dev/cdrom, which is easily fixed by issuing
root@RSWLinux:/home/shane# ln -sf /dev/hdX /dev/cdrom where X stends for a letter a...d that is the block device for your CD-ROM. This is how your drives are labeled: /dev/hda - primary master /dev/hdb - primary slave /dev/hdc - secondary master /dev/hdd - secondary slave so during start up if you check dmesg you should see which is your CD-ROM. |
actually its knoppix.... i'm just bad about updating my profile
i tried your first suggestion: Code:
root@RSWLinux:/home/shane# /sbin/fdisk -l and furthur i tried to sym link: Code:
root@RSWLinux:/home/shane# ln -sf /dev/hdc /dev/cdrom |
interestingly I was looking through my system setup and i found this in the system>info center menu on KDE
under the SCSI tab: attached devices: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: COMPAQ Model: CD-ROM LTN486S Rev: YQS8 Type: CD-ROM ANSI SCSI revision: 02 is it possible this is an scsi cd rom? that would explain a lot... my last cdrom drive went belly up and i bought a new one, which did not work... so i got an older one from a friend of mine, this being it. but with the last one i was always able to mount it just fine, just never tried in knoppix. |
Okay, here's the plan. Issue
root@RSWLinux:/home/shane# cdrecord -scanbus just to be sure we got a scsi drive. If you get something like this Code:
bash-2.05b# cdrecord -scanbus It's late at night, I'm tired, and I use Slackware, which doesn't create a bunch of funky symbolic links but just uses the drive names. Anyway, this is how you mount the thing, if you do have a scsi drive at 0,0,0 -> First, make sure you have a mount point for the drive. Issue root@RSWLinux:/home/shane# mkdir /mnt/cdrom so that we can mount the drive and you can use it. Some guy who uses Knoppix might come around and straighten out your /etc/fstab file. If not, you and I can struggle through it after I get some sleep. ;-) I used to run Debian, and I have some Knoppix CD's around here, so the worst case scenario is no one who runs a Deb system shows up to help you, and I boot a Knoppix CD to figure out what they do... mumble, mumble, why can't everyone just run one Linux so everything is in the same place, the same way... Next, you issue root@RSWLinux:/home/shane# mount /dev/scd0 /mnt/cdrom and then you issue root@RSWLinux:/home/shane# ls -alc /mnt/cdrom to see if you got some filenames in there. Shane, you did put the CD in the drive before mounting it, didn't you? Good on yah! Okay, you should now have a mounted CD. As for whatever you were going to do with it with whatever gui app, I can't help you there. The power of Linux is at the command line - learn it, use it. Hey, go update your profile, will yah? Hit that user cp button at the top right of this page, then choose Edit Profile. Don't forget to save your changes, eh. Btw - when you issued root@RSWLinux:/home/shane# ln -sf /dev/hdc /dev/cdrom you created a symbolic link from the master drive on your secondary controller (dev/hdc) to /dev/cdrom - which from looking at your /etc/fstab, I'd say you linked the DVD-ROM to /dev/cdrom. So, yes, your /etc/fstab is pretty much all messed up. Of course, IMO it's messed up the way Knoppix did it to start with. If you want to get it straight, issue root@RSWLinux:/home/shane$ dmesg | less and look for lines that begin with hda, hdb, hdc, hdd like these Code:
hda: Maxtor 6Y060L0, ATA DISK drive I'm rambling now. Mount your CD and check out your friend's goodies, will yah? |
you my friend are awesome
no symbolic linking needed.... i issued this command and got the following.... Code:
root@RSWLinux:/home/shane# mount /dev/scd0 /cdrom as for issuing the dmesg | less command i got a very messed up looking output that seemed to be in the vi editor since i had to get out of it with :q to be able to use the commandline again Code:
t ready. chaning my profile now, thank you very very much shane |
Quote:
I am, however, excited that you can mount CD's. If you know a website with ftp access, I sure would like a few of those "goodies" below - edited your output. Or, I can receive up to 20MB per email attachment. ;-} Where I live there are very, very few Linux books - and they are all in Chinese. :/ Code:
root@RSWLinux:/home/shane# mount /dev/scd0 /cdrom Quote:
You can get any software you want for 3RMB (about 36 cents USD) - or free from a friend. ;-) Quote:
Do not issue $ dmesg | less from Vi - in fact, stay away from Vi every chance you get. Actually, Vi is probably a good editor - just haven't progressed to the point where I need anything more than pico, personally. If you want a command line, doesn't Knoppix run on the KDE (bloated) desktop environment? If so, there should be an icon that resembles a monitor with a shell overlay - that's a "shell" icon. Click it, and when you get in your shell, then you may issue commands. If all else fails, hit Ctrl+Alt+Backspace and kill X and you'll have a very nice cli. ;-) If you'd like to get a proper, working, /etc/fstab - ask Allen for help, and if he's too busy, post that dmesg mess and we'll get you going. I personally don't work as root unless I have to be super user. So all my mount points (and there are quite a few) can be mounted as a normal user. Quote:
books - read the Rute Users Tutorial and Exposition I don't know about insane - I just hate Micro$loth with a holy passion ! ! ! Quote:
Java time... |
How to know which drive for what logical name?
How to know which cd/dvd drive/rom/rw is for what logical name like /dev/cdrom or /dev/cdrom1 or /dev/dvd0 ???
Is there an optical drives device mapping report? Yes, there is: $ sudo lshw -C disk |
All times are GMT -5. The time now is 03:53 AM. |