LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2003, 04:20 PM   #1
namrepus
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
cannot mount cdrom


Hi
I run debian 2.4.21-xfs
I decided to try a newer kernel image: 2.4.22-1-686
everything seems to work fine when I boot with the older image, but I'm having problems with the newer one.

I'll just cover one problem for now.
I cannot mount my cdrom...and yes I was root, and yes I have mountpoints defined.
I could guess that some modules didnt load, but thats just a guess, I dont know enough to make even an educated guess.
here's the commands I tried and the output I got:

bash-2.05b# who
root tty1 Dec 10 14:47

bash-2.05b# mount /cdrom
mount: /dev/cdrom is not a valid block device

bash-2.05b# mount -t iso9660 /dev/cdrom /cdrom
mount: /dev/cdrom is not a valid block device

bash-2.05b# ls /
bin cdrom1 floppy initrd.img lost+found morphix sbin var
boot dev home java miniroot proc tmp vmlinuz
cdrom etc initrd lib mnt root usr

bash-2.05b# ls -al /dev/cdrom
lrwxrwxrwx 1 root root 9 Oct 10 21:20 /dev/cdrom -> /dev/scd0

bash-2.05b# ls -al /dev/scd0
brw-rw---- 1 root cdrom 11, 0 May 31 2001 /dev/scd0

bash-2.05b# mount /dev/scd0 /cdrom
mount: /dev/scd0 is not a valid block device

bash-2.05b# mount -t iso9660 /dev/scd0 /cdrom
mount: /dev/scd0 is not a valid block device

bash-2.05b# cat /etc/fstab
/dev/hda6 / ext3 defaults 0 1
/dev/hda7 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /mnt/auto/floppy auto defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom auto defaults,ro,user,noexec 0 0
/dev/cdrom1 /cdrom1 auto defaults,ro,user,noexec 0 0
# Added by morphix during install
/dev/hda1 /mnt/hda1 vfat noauto,users,exec 0 0
# Added by morphix during install
/dev/hda5 /mnt/hda5 vfat noauto,users,exec 0 0
# Added by morphix during install
/dev/hda6 /mnt/hda6 ext3 noauto,users,exec 0 0
# Added by morphix during install
/dev/hda7 none swap defaults 0 0
# Added by morphix during install
/dev/hda8 /mnt/hda8 vfat noauto,users,exec 0 0
bash-2.05b# exit

If you need more info to help, just ask.
 
Old 12-10-2003, 04:34 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Do a lsmod and see if these are loaded/
Code:
ide-scsi               11008   0 
scsi_mod              107596   1  [ide-scsi]
ide-cd                 32256   0
If not, check and see if you are passing hd<X>=ide-scsi to the kernel through your boot loader.
 
Old 12-10-2003, 08:01 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
........ and after you've done that check

dmesg | less

the block device could be ??

/dev/sr0

(0=zero)
 
Old 12-11-2003, 12:00 PM   #4
namrepus
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks you guys, ide-scsi wasn't loaded.
took me 2 min. to fix.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
cant mount cdrom solarcontrol Linux - Hardware 10 01-16-2005 01:34 PM
Cannot Mount Cdrom? bobr Linux - General 1 05-08-2004 03:29 PM
cdrom won't mount stupidclese Linux - Newbie 2 02-03-2004 03:40 AM
Cdrom mount robbinsar Linux - Hardware 12 05-01-2003 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration