Mount: can't find cdrom in/etc/fstab or/etc/mtab, fstabmtab
My linux OS class is CentOS-6.5
First, set the CD/DVD option in the Virtual Machine option settings, and check the Connect at power on option.
Select Use ISO image file in connection: select the directory address of the image file.
Then enter the command: mount/mnt/cdrom output error in the/root directory: mount: you can't find cdrom in/etc/fstab or/etc/mtab. There are two solutions:
1. Run the following command: mount-t iso9660/dev/cdrom/mnt/cdrom./dev/cdrom indicates that hdc is the mount disk of the image file.
At this time, enter the command: ls-l/mnt/cdrom and press enter to display all the files in the iso file you want to mount. Now, the image is mounted successfully.
2. Modify the/etc/fstab file
First, edit the file fstab command: vi/etc/fstab and append a line of content in the file:/dev/cdrom/mnt/cdrom iso9660 defaluts 0 0
Then create the/mnt/cdrom command in the/root directory: mkdir/mnt/cdrom. Run the command: mount/mnt/cdrom and then enter the command: ls-l/mnt/cdrom: Press enter to display all the files in the iso file you want to mount. Now, the image is mounted successfully.
You must select the image file to be mounted...