Click to See Complete Forum and Search --> : file:/mnt/cdrom does not exist


bronyr
05-19-2004, 05:15 PM
here's what I have in /etc/fstab:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda5 none swap defaults 0 0

I had knoppix 3.3 and it all ran great, but couldn't access my pen drive. Now I have 3.4 with pen drive (when booting with drive inserted) but can't play or even use cdrom - any clues? thx, Tom in AZ

Icarus
05-19-2004, 05:33 PM
Looks to me that /dev/cdrom mounts to /cdrom not /mnt/cdrom

You can always mkdir /mnt /cdrom to solve to problem also

Dark Ninja
05-19-2004, 05:43 PM
Check this out -- it may help.

http://www.justlinux.com/forum/showthread.php?s=&threadid=127773

bronyr
05-20-2004, 03:17 AM
this is getting more complex. I added the missing /mnt to the above lines, so it's all like before except it's now:
/mnt/cdrom
and
/mnt/audo/cdrom
yes, /mnt/cdrom and /mnt/cdaudio do exist at the root


REason I'm not editing the exact copy of fstab is I can't! I used to be able to open Midnight Commander and simply copy and then paste into Kedit - can't do this anymore! Any reasons I can't copy and paste now?

mdwatts
05-20-2004, 11:43 AM
Originally posted by bronyr
this is getting more complex. I added the missing /mnt to the above lines, so it's all like before except it's now:
/mnt/cdrom
and
/mnt/audo/cdrom
yes, /mnt/cdrom and /mnt/cdaudio do exist at the root


REason I'm not editing the exact copy of fstab is I can't! I used to be able to open Midnight Commander and simply copy and then paste into Kedit - can't do this anymore! Any reasons I can't copy and paste now?

Have you reviewed the thread link Dark Ninja posted as it is on the exact same problem as yours. We don't really want to repeat everything that was already posted in that thread.

If you had searched the JL forums for 'knoppix cdaudio', you would have found that thread yourself. ;)

Hard to tell why copy and paste does not work for you as we have no idea what commands/mouse clicks you are using. Why not just open /etc/fstab directly in Kedit?

dysharmonic
05-22-2004, 05:50 AM
Did you create a cdrom directory in /mnt?

#mkdir /mnt/cdrom


To edit fstab, you could just launch a terminal program and su - as root. Use a text-based editor like pico or nano or vi.

#pico /etc/fstab

bronyr
05-25-2004, 01:14 AM
yes, I did search on knoppix cd audio, yes, I do have /mnt/cdrom dir, yes I did search on ninja's link to "mnt/cdrom can't be found". My previous reply was after I had done all 'homework.' Thanks for all your efforts guys helping here but I still can't cdaudio or cdrom. When I click on cdrom icon it acts as file manager; when I click on cdrom (within cdrom acting as file manager) it sez:
mount: mount point /mnt/auto/cdrom does not exist
here's fstab (edited via kwrite - BUT how do I open kwrite without having to log as root?)

# /etc/fstab: filesystem table.
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /mnt/dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /mnt/cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda5 none swap defaults 0 0

??? still no go on knoppix, otherwise great distro!

dysharmonic
05-25-2004, 09:01 AM
The error says that you don't have the cdrom folder under /mnt/auto. Try looking into it again, maybe it's not there.

And as for editing files in /etc directory, you'll have to get root permissions to be able to to that to any files in there. Usually normal users are restricted to only reading and executing those config files, but not writing changes to them.

mdwatts
05-25-2004, 10:16 AM
Originally posted by bronyr
(edited via kwrite - BUT how do I open kwrite without having to log as root?)


From a X terminall such as Konsole.

su -
<root password>

kwrite /etc/fstab

After saving the file and exiting kwrite, type

exit

to exit from 'su'.

bronyr
05-26-2004, 10:00 PM
this is a continuing challenge. I finally edited and changed/saved fstab:
# /etc/fstab: filesystem table.
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /mnt/dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /mnt/cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda5 none swap defaults 0 0

still no cd audio or even cdrom

While perusing through the files in file editor I came across automnt file, perhaps there are errors there, but can't figure out what's wrong. Heres' automount:


# Knoppix automounter file for Directory /mnt
floppy -fstype=auto,sync,exec,umask=000 :/dev/fd0
cdrom -fstype=auto,exec,ro :/dev/cdrom
# The following entries (if any) are auto-generated by knoppix-autoconfig

where else do I go from here? appreciate your help, guys, bronyr

dysharmonic
05-27-2004, 10:40 AM
What does

# ls -al /dev/cdrom

show?

Perhaps, your /dev/cdrom is not pointing to the right device which in this case should be /dev/hd[a-d] i.e. either /dev/hda, /dev/hdb, /dev/hdc or /dev/hdd, provided it's an ATAPI IDE and not a SCSI device.

BTW, where is your cdrom drive installed? Is it set as master or slave, and on which IDE channel, primary or secondary?

bs_texas
05-27-2004, 11:41 AM
You say you are editing fstab, but you don't indicate how you get the new fstab recognized.
Are you rebooting after editing?

(Just another thought on it...)

cybertron
05-27-2004, 12:45 PM
Originally posted by Fahrenheit451
What does

# ls -al /dev/cdrom

show?

Perhaps, your /dev/cdrom is not pointing to the right device which in this case should be /dev/hd[a-d] i.e. either /dev/hda, /dev/hdb, /dev/hdc or /dev/hdd, provided it's an ATAPI IDE and not a SCSI device.

BTW, where is your cdrom drive installed? Is it set as master or slave, and on which IDE channel, primary or secondary?

To add to this, I recently discovered that I did not have read permission on my combo drive as regular user. Make sure that all users have read permission on whatever shows up in the ls command above. In my case I had to do (as root):

chmod a+r /dev/hdc