Click to See Complete Forum and Search --> : my cdrom won't mount
my fstab:
/dev/hda5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,nosuid,noauto,exec,user,nodev
0 0
/dev/cdrom2 /mnt/cdrom2 iso9660 ro,nosuid,noauto,exec,user,nodev
0 0
/dev/sda /mnt/floppy vfat nosuid,noauto,nodev,user 0 0
/dev/hda1 /mnt/windows vfat noauto,user,exec,umask=0,codepage=850,iocharset=is o8
859-1 0 0
/dev/zip /mnt/zip vfat nosuid,noauto,nodev,user 0 0
none /proc proc defaults 0 0
/dev/hda7 /usr ext2 defaults 1 2
/dev/hda6 swap swap defaults 0 0
chinacat.gamehenge:/ /mnt/bedroom nfs rw 0 0
the drive i want to mount is /dev/cdrom
/dev/cdrom2 works fine
/dev/cdrom is symlinked to /dev/hdc
dmesg tells me that:
hdc: PCRW804, ATAPI CD/DVD-ROM drive
that's semicorrect, it is a PCRW804...its a cdrw not a dvd...don't know if that matters...
also, scsi is emulated for the drive:
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PHILIPS Model: PCRW804 Rev:1.1
Type: CD-ROM ANSI SCSI revision: 02
when i type in:
mount /dev/cdrom /mnt/cdrom
it says:
mount: you must specify the filesystem type
anyone know what's up? thanks.
fateswarm
11-13-2001, 12:16 AM
First, instead of iso9660 you can just put "auto"!
Second, have you actually put any *data* cd in it to mount? with no cd or audio cds(these need different way) it won't mount.
:)
hhihihi... I had the same problem yesterday, I then realized that it won't mount an audio cd that way :)
there's a data cd in the drive
it just won't mount it...
i don't know what the problem is
Keyser Soze
11-13-2001, 01:09 AM
what version?
bdg1983
11-13-2001, 06:27 AM
If you are using scsi emulation, then /dev/hdc should be symlinked to /dev/scd0.
rm /dev/cdrom
ln -s /dev/hdc /dev/scd0
And then change fstab to read
/dev/scd0 /mnt/cdrom ......
Keyser Soze
11-13-2001, 06:54 AM
I was just asking because if you are using the new version of redhat and have updated, it needs to the module dependancies rerun.
Originally posted by Logon Name Gone:
<STRONG>If you are using scsi emulation, then /dev/hdc should be symlinked to /dev/scd0.
rm /dev/cdrom
ln -s /dev/hdc /dev/scd0
And then change fstab to read
/dev/scd0 /mnt/cdrom ......</STRONG>
okay...i removed /dev/cdrom
i then typed:
ln -s /dev/hdc /dev/scd0
it says /dev/scd0 already exists...so i assume you meant:
ln -s /dev/scd0 /dev/cdrom
to make a symlink to scd0 from cdrom...
i change my fstab to:
/dev/scd0 /dev/cdrom.........
& when i try to mount /dev/scd0 /dev/cdrom it says:
mount: /dev/scd0 is not a valid block device
hmm... :confused:
teeitup
11-13-2001, 01:50 PM
I think you need to read the man pages on fstab and mount.
Are you trying to mount as root or user?
Users CANNOT mount devices. They CAN mount mountpoints listed in fstab.
A user would use the command: mount /mnt/cdrom
This mount point HAS to be in fstab with the user option set.
If you use the full command at the CLI (as root) you have to specify the file system type: mount -t iso9660 /dev/cdrom /mnt/cdrom
The man page for mount is very good and should be read more than once to get all the details.
Good Luck,
my methods of mounting aren't the problem here...i just can't figure out what /dev/ my cdrom is on...
i know how to mount drives...it just won't work... :D
[ 13 November 2001: Message edited by: gcb ]
teeitup
11-13-2001, 02:16 PM
This was your original post:
when i type in:
mount /dev/cdrom /mnt/cdrom
it says:
mount: you must specify the filesystem type
anyone know what's up? thanks.
Based on this you failed to give a file system type and it told you so.
Your error didn't say no such device, not a block device, or any error that indicated some other problem.
I responded to what you wrote, I made no assumptions.
my bad...but that's not what it says now...
since i changed my /dev/cdrom symbolic link to point to /dev/scd0 when i type in 'mount /dev/cdrom /mnt/cdrom' it says /dev/cdrom is not a valid block device....
Linuxcool
11-14-2001, 03:10 AM
If you installed Red Hat 7.2, then as root run the command depmod -ae.
Keyser Soze
11-14-2001, 03:20 AM
echo echo echo echo, is this thing on?
nope...it's mandrake 8.0 but i just installed a new kernel a few days ago (2.4.14)...that's when my drive stopped mounting...but why would it not be working? it's displayed in dmesg as hdc...it's also displayed in dmesg as using scsi emulation...i have the scsi_mod & ide-scsi modules loaded...i also have 'append=" hdc=ide-scsi quiet"' in my lilo.conf file...
Ch2i5
11-14-2001, 04:11 PM
Hey, you all know I'm a newbie here, well I heard that Mandrake 8.1 had some super mount thing, so it would be like Windows, and auto mount my cdrom, well, one I can't mount anything, cause I just get errors, like check your fstab thingy, and 2, it isn't auto checking my cd rom for me.
try starting a new thread on the board...=)
okay...since i can't get the drive to work...how can i make it not scsi emulated so i can at least try to use the drive as ide...kinda a waste of a cdrw though...it stinks.
jdctx
11-15-2001, 05:31 AM
After boot you should look in /var/log/messages and /var/log/dmesg if the cdrom is identified correctly.
Also do a cat /proc/interrupts and cat /proc/devices and see what it says. It might give you some hints as to the problem
oh, yes...it's identified correctly...but it still doesn't mount...
uh, why didn't somebody tell me i needed to install the scsi cdrom module, sr_mod.o??? :D duh! anyway, yipee it finally works...thanks to all who offered help!..