diff --git a/src/rhcsa.md b/src/rhcsa.md index 7a86117..fc6b384 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -722,4 +722,15 @@ sudo less /var/log/dnf.rpm.log # Display the dnf log sudo dd if=/dev/sr0 of=/optical-rhel.iso bs=1M # Create an ISO image of the optical drive sudo dd if=/dev/sr0 of=/optical-rhel.iso bs=1M status=progress # Create an ISO image of the optical drive with progress -``` \ No newline at end of file + +### mounting an iso image using /etc/fstab +```bash +sudo nano /etc/fstab + +# Add the following line to the fstab file: +/path/to/iso /mnt/iso iso9660 defaults 0 0 + +sudo mount -a # Mount the ISO image +sudo umount /mnt/iso # Unmount the ISO image +``` +