Cannot mount Squashfs

Detlef Lechner Detlef.Lechner at gmx.net
Fri Feb 5 19:03:14 UTC 2010


Hello Werner,

On Fri, 2010-02-05 at 11:52 +0100, Werner Schram wrote:
[...]
> I should have posed my question better. I was wondering if your goal
> was to extract files from the squashfs file, 

No.

> or if you want to change
> the content of the squashfs-image, 

No.

> or maybe something else.

Yes. I would like to mount this filesystem to be able to use the
mathematics software package 'sage' as a user.

> >> but maybe the unsquashfs
> >> command from the squashfs-tools package can help you get better results.
> >
> > I cannot imagine how that could function.
> 
> unsquashfs extracts the contents of the file to a target directory.
> Because squashfs-tools is developed and distributed seperately from
> the kernel module, it might be able to handle squashfs images which
> you can't mount.

This is not my primary target. I would think that I can use the package
sage without extracting contents of the file. In much the same way as
one does when using a Knoppix CD.

> If you install squashfs-tools (sudo apt-get install squashfs-tools),
> you can use the unsquashfs command to extract the files from the
> squashfs-image:
> 
> unsquashfs /home/detlef/Naturwissenschaften/Mathematik/sage-4.3.1.sqfs -d /tmp/x
> 
'~$ sudo
unsquashfs /home/detlef/Naturwissenschaften/Mathematik/sage-4.3.1.sqfs
-d /tmp/sage;
Parallel unsquashfs: Using 1 processor
Lseek failed because Invalid argument
read_block: failed to read block @0x17e8ba3dd317cc05
read_uids_guids: failed to read id table block
FATAL ERROR aborting: failed to uid/gid table'

> Possibly you can specify which files you want to extract. 

No.
   
> I'm
> currently at a location at which I don't have a test machine handy to
> check that. If you use the -ls option, you can list the files inside
> the image:
> 
> unsquashfs /home/detlef/Naturwissenschaften/Mathematik/sage-4.3.1.sqfs -ls

':~$
unsquashfs /home/detlef/Naturwissenschaften/Mathematik/sage-4.3.1.sqfs
-ls;
Parallel unsquashfs: Using 1 processor
Lseek failed because Invalid argument
read_block: failed to read block @0x17e8ba3dd317cc05
read_uids_guids: failed to read id table block
FATAL ERROR aborting: failed to uid/gid table'

Regards,
Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100205/5072bc55/attachment.pgp>


More information about the ubuntu-users mailing list