Published by expire0
Posted on October 01, 2014
I was looking to mount a live ISO image and view the files without running the cd. Maybe someone would like to do the same for various reasons. But I wanted to posted the steps I took to accomplish my goal.
sudo modprobe loop
sudo mkdir /media/ISOimage
sudo mount iso-image-name.iso /media/ISOimage/ -t iso9660 -o loop
cd /iso-images-directory
mkdir ~/extract-cd
**find the filesystem file. **
cp filesystem.squashfs ~/extract-cd/
cd to ~/extract-cd
unsquashfs filesystem.squashfs
you should see a new folder called squashfs-root/
sudo umount /media/ISOimage
Cdrom mount
locate the cdrom
dmesg | egrep -i –color ‘cdrom|dvd|cd/rw|writer’ or lsblk
find the device name and mount
mount -t iso9660 -o ro /dev/deviceName /path/to/mount/point