Can't Mount cdrom
Hi,
I tried to mount my cd with the following command,i've searched the forum regarding this but nothing helped me mout /dev/cdrom and the error i got is mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab and my cat /etc/fstab is Code:
# Code:
/dev/sda2 / ext3 rw 0 0 |
malickhat,
Add Code:
/dev/cdrom /mnt/cdrom udf,iso9660 users,noauto,ro 0 0 The options users,noauto,ro allow any user to mount and unmount cdroms, it not automouted at boot and cdroms are mounted read only. If you don't trust your users, you can add other options, like noexec, to prevent programs on optical media from being run. |
mount /dev/cdrom
This command is not the complete command to mount a filesystem. Issuing this command will search for an entry for /dev/cdrom in the fstab, and in your case since this is missing, it will kick you out with this error. Complete mount command is: mount /dev/cdrom /mnt/cdrom And if you want this to be mounted on system reboot too, as in the entry in the fstab and do "mount -a". This mount -a will re-read the fstab and remount what ever file system is not mounted. So once you do mount -a and then a df -h, you must see your cdrom mounted on /mnt/cdrom . If not, check your fstab for a typo. Cheers!!! |
Quote:
|
[QUOTE=abi0909;3601362]mount /dev/cdrom
Quote:
Quote:
|
malickhat,
There is no /de on the front of the line. You must be the root user to edit that file or use sudo on the front of the editor command. |
Quote:
|
All times are GMT -5. The time now is 11:53 PM. |