PDA

View Full Version : How to mount my cdrom ??



Braim
05-20-2004, 03:16 PM
I have installed a knoppix from a cdrom.

Now, i started my computer and I have not access to the cdrom.
Someone can tell me how to mount my cdrom ??

Please help me.

Braim
05-20-2004, 03:33 PM
I think the content of the /etc/fstab file is important ??

Here is it...


# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdb1 / 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/cdrom1 /cdrom1 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/hdb2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdb3 /mnt/hdb3 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdb4 /mnt/hdb4 vfat noauto,users,exec,umask=000 0 0


Please help me ....

How can I read a disk put on my cdrom or dvdrom ??

m_yates
05-20-2004, 03:34 PM
su
mount /dev/cdrom /cdrom

Will mount the cdrom. You can read the contents in the directory /cdrom. The command:

eject

will un-mount and eject the cdrom.

Braim
05-20-2004, 03:38 PM
Thanks m_yates

But when I try the command I get the message that only root is able to do this.
And I also want that all users can do this.
Is this possible ??

When I try the command in root it doesn't work too. :(


Thanks

Cardador
05-20-2004, 03:43 PM
Brain

Try mount /dev/scd0 /cdrom
I also messed my cd mounting and I get it to work again using the above command. Put it also in your fstab.

For the 2nd cd drive, just use scd1 and cdrom1.

Bye!

Braim
05-20-2004, 03:45 PM
Brai[b]m[/c]

Try mount /dev/scd0 /cdrom
I also messed my cd mounting and I get it to work again using the above command. Put it also in your fstab.

For the 2nd cd drive, just use scd1 and cdrom1.

Bye!

Thanks;

With mount /dev/scd0 /cdrom it works but on root only. Now how to allow user to do this ??
Thanks
Braim

Cardador
05-20-2004, 06:32 PM
I also can only do it as root from the command line, but if you put it in /etc/fstab, you will be able to mount it normally in Konqueror. In Konqueror, go to devices, then you will see something like cdrom (scd0). Click it and it should mount your cd. This way you dont have to use the command line.

My lines in /etc/fstab related to the cdroms are:
/dev/scd0 /cdrom iso9660 user,unhide,defaults,ro,noexec,noauto 0 0
/dev/scd1 /cdrom1 iso9660 user,unhide,defaults,ro,noexec,noauto 0 0

Keep in mind that you must reboot after changing the fstab file!

Hope this helps!

rhpot1991
05-20-2004, 06:55 PM
I had a problem similar to this with knoppix 3.3, fixed it mostly in this thread: http://www.knoppix.net/forum/viewtopic.php?t=7415&highlight=

I never got a chance to work on the Icons and automounting, so I'm not sure if the directions for that will work or not, but at least you will be able to mount your cd's.