LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2001, 06:30 PM   #1
Sveede
LQ Newbie
 
Registered: May 2001
Posts: 18

Rep: Reputation: 0
Arrow


I am running rh 7.1 on a cyrix mediaGX platform, i have had a CDROM connected all the time, as i installed RH from it. I also have used the CDROM without any complications before.

All of a sudden, mount reports: /dev/cdrom is not a block device (try -o loop).

i tried -o loop, then mount reports:
mount: no such device or address.
FAT bread failed
mount: you must specify file system type


or

/dev/loop0 no such device or address
FAT bread failed
mount: you must specify file system type


Any clues?
 
Old 05-31-2001, 07:11 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
for mount to work it needs 3 things
1. a device to mount it from (/dev/hd#)
2. the filesystem type of the media (vfat, ext2, iso9660)
3. a dir to mount it to

an example on the cmdline should look something like:
"mount /dev/hdd -t iso9660 /mnt/cdrom"
check if mounts manually, then correct the line in /etc/fstab:

in /etc/fstab theres a line with the roughly same contents, lookin smptin like:
/dev/hdd /mnt/cdrom iso9660 defaults 0 0

just substitute the device ure cdrom is at from the example. look in dmesg or /var/log/messages for the line mentioning the cd.

*the "loop" part btw is used by mount or losetup to ask it to mount a file containing a filesystem, like a boot image for a custom bootdisk or an .iso file. this isnt needed for a regular cdrom.
 
Old 06-01-2001, 01:04 PM   #3
Sveede
LQ Newbie
 
Registered: May 2001
Posts: 18

Original Poster
Rep: Reputation: 0
Unhappy

Thanks... but i had no luck


The fstab file says:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner 0 0


and my logs/messages says:
localhost upfstab: unexpected file type for /dev/cdrom
 
Old 06-01-2001, 01:27 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
didja add/remove/reconfig any ide devices recently?

Check through the boot messages (dmesg) or just grep through /var/log/boot.msg for /dev/hd and see if you cd got probed.
 
Old 06-01-2001, 01:37 PM   #5
Sveede
LQ Newbie
 
Registered: May 2001
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks, but I havent' added any devices to the machine, and i looked through boot.log and dmesg, but i can only find what i stated in previous posts.

At the time the cd stopped working, i was mounting/umounting it a lot, because i was looking for somehting on a bunch of cds without labels. could this have something to do with it?
I remember getting some funky "missed interrupt"s from hda0 at the time, which locked up the whole box.

 
Old 06-01-2001, 01:44 PM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
missed interrupts from hda0? maybe ide0 - the controller

Bad controller/configuration? What's the chipset on the mobo? There's some good kernel support for older hardware.
 
Old 06-01-2001, 02:11 PM   #7
Sveede
LQ Newbie
 
Registered: May 2001
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up RESOLVED

I figured it out!

/dev/cdrom was empty, so i added the symbolic link to /dev/hdb (my cd).

and all was calm

Thanks all, sorry for being such a newbie
 
  


Reply



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 On
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
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 03:05 PM
kernel: cdrom: open failed username17 Linux - Software 7 08-11-2005 10:05 PM
[Suse 9.3] Automount cdrom/dvd failed PatrickV SUSE / openSUSE 1 04-19-2005 04:50 AM
cdrom boot failed cttc Linux - Software 3 04-12-2002 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:15 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
Open Source Consulting | Domain Registration