LinuxQuestions.org
Review your favorite Linux distribution.
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 04-16-2002, 12:25 AM   #1
septhar
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore, Karnataka, India
Distribution: Red Hat
Posts: 7

Rep: Reputation: 0
Mounting CD


Hi,
I'm a newbie to Linux.
Recently I successfully installed RedHat Linux 7.2 on my PC at home. Now after installation I wanted to check out if the package sniffit was available on any of the CDs, but the mount command was failing. The message being displayed was that the device that I'm trying to mount is not a block device.
Could anybody help me out with this problem of mounting CD.

 
Old 04-16-2002, 01:18 AM   #2
kylo8787
Member
 
Registered: Jan 2002
Location: longview idaho
Distribution: slackware 8.1
Posts: 48

Rep: Reputation: 15
mount -t iso9660 /dev/xxx /xx

the first xxx is the device name like hdb the second xx is where to mount it to like /mnt/cdrom
 
Old 04-16-2002, 07:21 AM   #3
Eternal
Member
 
Registered: Feb 2002
Location: Austria
Distribution: LFS based opon debian or course
Posts: 38

Rep: Reputation: 15
Sorry to interrupt brutaly but isnt this a "wrong" forum
 
Old 04-16-2002, 08:48 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 11,958

Rep: Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113
Yes it is. Please do not post questions like this in the suggestions forum. I moved it.

--jeremy
 
Old 04-16-2002, 01:37 PM   #5
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
Had the same problem!! Red Hat 7.2 seems to have a bug with CD-rom by default!!

The solution is simple : type depmod -ae .

After that your CD will work (and in my case the floppy was also malfunctionning!! both issue were fixed with the command) .You dont have to use the command again. (Unless you reinstall!)

If you want to know what exactly the command does, cant help you there, I have been trying to understand it ever since I used it! But let it worked great!!

Hope this helps!
 
Old 04-16-2002, 09:01 PM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
From Redhat's support site:
Quote:
We have found an installer related bug in some hardware set-ups. After an installation of 7.2 or upgrade of an existing system, these units report "/dev/cdrom not a valid block device" causing the mount to fail and a possible system crash. Running the command as root "depmod -ae" should solve this issue. Additionally, upgrading to the latest kernel errata will solve this issue.
To view the bug report: Bugzilla 55071
For the kernel errata please visit: http://www.redhat.com/support/errata/RHSA-2001-142.html
And the Bugzilla report says this:
Quote:
Description of Problem:
/etc/rc.sysinit is missing a line that it needs in order to handle "hdx=ide-scsi" boot arguments. If you only have an ide CD burner it will probably only make it so that you can't use it to mount and read CDs - but if you have multiple ide CD drives it will cause them incorrect /dev/cdromx links and an incorrectly configured /etc/fstab. The result is that none of your ide CD drives will work. . . . well actually your cd-burner might still be able to burn, but you won't be able to mount or read any CD..
The depmod command is used to update the module dependency database, which keeps track of which modules rely on others (and therefore determines the module loading order).
 
  


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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 05:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 08:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 12:00 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 04:13 PM
mounting Cybergod1983 Linux - General 1 10-08-2001 04:28 PM


All times are GMT -5. The time now is 05:10 AM.

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