I guess it is a live-usb.
You can access the filesystem using three mount commands. Here the steps.
1. Create the mount points:
Code:
mkdir /mnt/liveusb
mkdir /mnt/squashfs
mkdir /mnt/rootfs
2. Mount.
2a. The usb stick first (this can also be done in another way):
Code:
mount /dev/sdb1 /mnt/liveusb
2b. You must have a squashfs filesystem, mount it:
Code:
mount -t squashfs /mnt/liveusb/LiveOS/squashfs.img /mnt/squashfs
2c. Mount the root image:
Code:
mount -o loop /mnt/squashfs/LiveOS/rootfs.img /mnt/rootfs
The root filesystem is now mounted in /mnt/rootfs.
To unmount:
Code:
umount /mnt/rootfs
umount /mnt/squashfs
umount /mnt/liveusb
rmdir /mnt/rootfs
rmdir /mnt/squashfs
rmdir /mnt/liveusb
Of course, adapt the directories to what you have.