Debian This forum is for the discussion of Debian 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-03-2004, 04:35 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Location: Germany, Konstanz
Distribution: Debian, Fedora, SuSE, Knoppix
Posts: 6
Rep:
|
/dev/cdrom is not a valid block device
 I´m usin Debian 3.0 woody r2 and i´m trying to mount my cdrom, but it doesn´t work. I´m getting the message: /dev/cdrom is not a valid block device. I updated my kernel to 2.4.23 in hope it will fix the problem, but the problem is also there. Can somebody help me?
Greetings from Germany!
|
|
|
04-03-2004, 07:20 AM
|
#2
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
Is there a CD in the drive? If yes, does it have data on it? Media must be in the drive for it to mount, and blank media cannot be mounted. Audio CDs also don't need to be mounted, iirc (I don't usually play audio CDs on my PC, so I'm not sure).
If none of these is the problem, what is the setting in /etc/fstab for this device? Please post the line here.
|
|
|
04-03-2004, 08:30 AM
|
#3
|
Member
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78
Rep:
|
Are you using scsi-emulation or not? What device is /dev/cdrom pointing to? if you're using scsi-emu it will be something like /dev/scd0 instead of /dev/hdx. you can install sg3-utils and run sg_map to see what scsi devices are loaded. I'd check the symlinks and make sure /dev/cdrom is pointing to the right device
|
|
|
04-03-2004, 12:04 PM
|
#4
|
LQ Newbie
Registered: Apr 2004
Location: Germany, Konstanz
Distribution: Debian, Fedora, SuSE, Knoppix
Posts: 6
Original Poster
Rep:
|
Quote:
Originally posted by motub
Is there a CD in the drive? If yes, does it have data on it? Media must be in the drive for it to mount, and blank media cannot be mounted. Audio CDs also don't need to be mounted, iirc (I don't usually play audio CDs on my PC, so I'm not sure).
If none of these is the problem, what is the setting in /etc/fstab for this device? Please post the line here.
|
Yes, there is a data CD in the drive!
|
|
|
04-03-2004, 12:08 PM
|
#5
|
LQ Newbie
Registered: Apr 2004
Location: Germany, Konstanz
Distribution: Debian, Fedora, SuSE, Knoppix
Posts: 6
Original Poster
Rep:
|
Quote:
Originally posted by augamecock
Are you using scsi-emulation or not? What device is /dev/cdrom pointing to? if you're using scsi-emu it will be something like /dev/scd0 instead of /dev/hdx. you can install sg3-utils and run sg_map to see what scsi devices are loaded. I'd check the symlinks and make sure /dev/cdrom is pointing to the right device
|
I will try this. My idea was the same that it depends on the scsi-emu. But i hadn´t any idea how to check this.
Thank you!
|
|
|
04-03-2004, 12:25 PM
|
#6
|
LQ Newbie
Registered: Apr 2004
Location: Germany, Konstanz
Distribution: Debian, Fedora, SuSE, Knoppix
Posts: 6
Original Poster
Rep:
|
Quote:
Originally posted by motub
Is there a CD in the drive? If yes, does it have data on it? Media must be in the drive for it to mount, and blank media cannot be mounted. Audio CDs also don't need to be mounted, iirc (I don't usually play audio CDs on my PC, so I'm not sure).
If none of these is the problem, what is the setting in /etc/fstab for this device? Please post the line here.
|
Here is my /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdb2 / ext2 errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
|
|
|
04-03-2004, 12:27 PM
|
#7
|
LQ Newbie
Registered: Apr 2004
Location: Germany, Konstanz
Distribution: Debian, Fedora, SuSE, Knoppix
Posts: 6
Original Poster
Rep:
|
Quote:
Originally posted by motub
Is there a CD in the drive? If yes, does it have data on it? Media must be in the drive for it to mount, and blank media cannot be mounted. Audio CDs also don't need to be mounted, iirc (I don't usually play audio CDs on my PC, so I'm not sure).
If none of these is the problem, what is the setting in /etc/fstab for this device? Please post the line here.
|
Here is my /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdb2 / ext2 errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
|
|
|
04-03-2004, 12:47 PM
|
#8
|
Member
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78
Rep:
|
ok... if you're using scsi-emulation your device will be something like /dev/scd0. if not it will be something like /dev/hdc.
do this..
mine looks like this
Quote:
lrwxrwxrwx 1 root root 11 Mar 27 10:16 /dev/cdrom -> /dev/cdrom0
|
since it's pointing to /dev/cdrom0 I did the same thing on it
Quote:
lrwxrwxrwx 1 root root 8 Mar 27 10:16 /dev/cdrom0 -> /dev/hdc
|
of course I don't use scsi-emulation. Once you find out the actual device.. try mounting it with (as root)
Code:
mount -t iso9660 /dev/hdc /cdrom
I think you need to make sure /dev/cdrom is a symlink to the right device
|
|
|
04-04-2004, 05:11 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Distribution: debian sarge, 2.6.6, and ALSA finally works!!
Posts: 18
Rep:
|
Hi there
I'm on my 3rd day of debian, but I have noticed on my install that I do not have a /dev/cdrom but I do have /cdrom.
Maybe try mounting /cdrom and see if that works ( it works for me ).
Still no cd audio though, am still huting for that one.
|
|
|
All times are GMT -5. The time now is 04:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|