Re: [BUG?] SQUASHFS error: Major/Minor mismatch

Geert Uytterhoeven
2009-01-12T14:49:56Z

On Mon, 12 Jan 2009, Matthias Kaehlcke wrote:
> i get the following error when trying to mount a squashfs partition on
> an ARM system (edb9302) with linux 2.6.29-rc1:
>
> mount /dev/mtdblock6 /mnt/
> SQUASHFS error: Major/Minor mismatch, older Squashfs 3.1 filesystems
> are unsupported
> mount: mounting /dev/mtdblock6 on /mnt/ failed: Invalid argument
>
> the image has been created using mksquashfs v3.4:
>
> mksquashfs . /tmp/rootfs.squfs -le -noappend

You have to use a version of mksquashfs that creates file systems with the v4.0
layout, i.e. from the squashfs-tools on SourceForge.net:

git-cvsimport -v -d :pserver:anonymous@squashfs.cvs.sourceforge.net:/cvsroot/squashfs squashfs

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010