Hands-on steps to detect, mount and unmount a physical CD or an ISO image from the command line. 15.11.2025 | reading time: 2 min A CD-ROM still shows up in many labs and legacy systems; knowing how to mount it from the shell saves time and avoids surprises. Quick demo session Follow this short session that creates a mount point, mounts the device, shows the listing and then unmounts; everything is shown as if typed on a terminal: ``` $ sudo mkdir -p /mnt/cdrom $ sudo mount -t iso9660 /dev/sr0 /mnt/cdrom $ mount | grep /mnt/cdrom /dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime) $ ls /mnt/cdrom README.txt install.sh $ sudo umount /mnt/cdrom ``` When devices and files differ If the drive node is different use `/dev/cdrom` or check `lsblk` or `blkid` to find the device name; to mount an ISO image file use `mount -o loop /path/to/image.iso /mnt/iso` and remember optical media are usually read only so write options are irrelevant. Options, automation and safety For desktop users `udisksctl mount -b /dev/sr0` lets a nonroot user mount devices via policy, while fstab entries can automate mounts at boot with an UUID or device path; always unmount with `umount` before ejecting to avoid data loss and check `dmesg` if the kernel reports errors. Tools that help in practice Use `lsblk` to inspect block devices, `blkid` to query filesystem types, and `eject` to open the tray; together they speed troubleshooting when the drive is noisy or the disc is unreadable. Finish and next steps Mounting a CD-ROM is a small, concrete skill that ties device detection, filesystems and permissions together; practice the commands on a test system and consider advancing your knowledge toward certifications such as CompTIA Linux+ or LPIC-1 with focused exam prep at bitsandbytes.academy. Join Bits & Bytes Academy First class LINUX exam preparation. setup storage filesystem utilities