Hi, I have a script that I use to build a custom LiveCD that has been working since 2008. Now and then an issue crops up. I am currently getting this error: >> Mounting squashfs filesystem mount: mounting /dev/loop0 on /newroot/mnt/livecd failed: Invalid argument !! Failed to $1; failing back to shell... BusyBox v1.7.4 (2009-08-12 17:29:57 BST) built-in shell (ash) Enter 'help' for a list of build-in commands. /bin/ash: can't access tty; job control turned off # The last known good build that I had was around the 5th Aug, and now nothing I can do will help. I have tried: kernel versions >=2.6.29 with squashfs-tools-4.0 kernel version < 2.6.29 with squashfs-tools.3.x Nothing I can do will resolve this problem. Does anyone have any clues as to what I can do? Apparently its been fixed for the 'autobuild' process, perhaps someone from there can offer some advice? Thanks, Richard. Reproducible: Always Steps to Reproduce:
*** Bug 281305 has been marked as a duplicate of this bug. ***
ok, I've found the issue. If you use mksquashfs with both the -always-use-fragments and -nopad option, Genkernel can't mount the filesystem. If you use one or the other on its own its all ok, but both together and it borks on mounting the squashfs filesystem :-(
ok, further testing concludes: -always-use-fragments -nopad = bad -always-use-fragments = good -nopad = bad Ok, so it seems that the "nopad" option is causing problems :-( But hey, at least my problems is solved now :-) I guess we can close this bug if we don't care about the "nopad" problem? Rich
Nope, not really.