LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting CD (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-cd-18611/)

septhar 04-15-2002 11:25 PM

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.

:newbie:

kylo8787 04-16-2002 12:18 AM

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

Eternal 04-16-2002 06:21 AM

Sorry to interrupt brutaly but isnt this a "wrong" forum :confused:

jeremy 04-16-2002 07:48 AM

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

--jeremy

BoldKiller 04-16-2002 12:37 PM

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!

DMR 04-16-2002 08:01 PM

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).


All times are GMT -5. The time now is 11:24 PM.