From f9a67c38be0595f82b8169a0fdb232bf3e42cf17 Mon Sep 17 00:00:00 2001 From: Hugh Ratsch Date: Tue, 18 Feb 2025 18:25:26 -0600 Subject: [PATCH] updated notes --- src/rhcsa.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 +``` +