Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #28009

mounting older squashfs as loop dev problem

From Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid>
Newsgroups comp.os.linux.misc
Subject mounting older squashfs as loop dev problem
Date 2019-08-28 20:49 +0000
Message-ID <gso7n8F4uaeU1@mid.individual.net> (permalink)

Show all headers | View raw



I am trying to mount a squash filesystem within a iso as such:

root@aptosid:/home/kirk# mount -o loop /mnt/sda4/iso/SimplyMEPIS-DVD_6.5.02_32.iso /mnt/iso
mount: /mnt/iso: WARNING: device write-protected, mounted read-only.
root@aptosid:/home/kirk# mount -o loop /mnt/iso/mepis/mepis /mnt/sfs
mount: /mnt/sfs: unknown filesystem type 'squashfs3'.

Note the "unknown filesystem type 'squashfs3'"
I know this is a older ISO created with a older version of squashfs.
If I do the same on a more current ISO I have no problems mounting the squashfs
as a loop device:

root@aptosid:/home/kirk# mount -o loop /mnt/sda4/iso/heads-0.4-i386-live.iso /mnt/iso
mount: /mnt/iso: WARNING: device write-protected, mounted read-only.
root@aptosid:/home/kirk# mount -o loop /mnt/iso/live/filesystem.squashfs /mnt/sfs
root@aptosid:/home/kirk# ls -al /mnt/sfs
total 39
drwxr-xr-x  22 root root   331 Mar 26  2018 .
drwxr-xr-x  77 root root  4096 Aug 24 07:45 ..
drwxr-xr-x   2 root root  2226 Mar 26  2018 bin
drwxr-xr-x   2 root root   149 Mar 26  2018 boot
drwxr-xr-x   3 root root    26 Mar 26  2018 data
drwxr-xr-x   2 root root    27 Mar 26  2018 dev
drwxr-xr-x 107 root root  3334 Mar 26  2018 etc
drwxr-xr-x   8 root root   172 Mar 26  2018 .git
drwxr-xr-x   3 root root    29 Mar 26  2018 home
drwxr-xr-x  18 root root   339 Mar 26  2018 lib
-rw-r--r--   1 root root 35199 Mar 26  2018 LICENSE
drwxr-xr-x   2 root root     3 Mar 26  2018 media
drwxr-xr-x   2 root root     3 Mar 26  2018 mnt
drwxr-xr-x   2 root root     3 Mar 26  2018 opt
drwxr-xr-x   2 root root     3 Mar 26  2018 proc
drwx------   3 root root    93 Mar 26  2018 root
drwxr-xr-x   6 root root   104 Mar 26  2018 run
drwxr-xr-x   2 root root  3084 Mar 26  2018 sbin
drwxr-xr-x   2 root root     3 Mar 26  2018 srv
drwxr-xr-x   2 root root     3 Mar 26  2018 sys
drwxrwxrwt   2 root root     3 Mar 26  2018 tmp
drwxr-xr-x  10 root root   174 Oct 22  2015 usr
drwxr-xr-x  11 root root   172 Mar 26  2018 var

The kernel is as such:

root@aptosid:/home/kirkus# uname -a
Linux aptosid 4.19.37 #1 SMP Sun Aug 11 12:52:55 EDT 2019 i686 GNU/Linux

Compiled as such:

root@aptosid:/home/kirk# grep SQUASH /boot/config-* | grep 4.19.37
/boot/config-4.19.37:CONFIG_SQUASHFS=y
/boot/config-4.19.37:CONFIG_SQUASHFS_FILE_CACHE=y
/boot/config-4.19.37:# CONFIG_SQUASHFS_FILE_DIRECT is not set
/boot/config-4.19.37:# CONFIG_SQUASHFS_DECOMP_SINGLE is not set
/boot/config-4.19.37:# CONFIG_SQUASHFS_DECOMP_MULTI is not set
/boot/config-4.19.37:CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
/boot/config-4.19.37:CONFIG_SQUASHFS_XATTR=y
/boot/config-4.19.37:CONFIG_SQUASHFS_ZLIB=y
/boot/config-4.19.37:CONFIG_SQUASHFS_LZ4=y
/boot/config-4.19.37:CONFIG_SQUASHFS_LZO=y
/boot/config-4.19.37:CONFIG_SQUASHFS_XZ=y
/boot/config-4.19.37:# CONFIG_SQUASHFS_ZSTD is not set
/boot/config-4.19.37:CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
/boot/config-4.19.37:# CONFIG_SQUASHFS_EMBEDDED is not set
/boot/config-4.19.37:CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3

What do I need to do to be able to mount these older squashfs as a loop dev?


Back to comp.os.linux.misc | Previous | NextNext in thread | Find similar | Unroll thread


Thread

mounting older squashfs as loop dev problem Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2019-08-28 20:49 +0000
  Re: mounting older squashfs as loop dev problem Anssi Saari <as@sci.fi> - 2019-08-29 15:28 +0300

csiph-web