public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Mounting squashfs fails
@ 2009-08-03 12:44 lurker
  2009-08-04  4:50 ` Andrew Gaffney
  0 siblings, 1 reply; 2+ messages in thread
From: lurker @ 2009-08-03 12:44 UTC (permalink / raw
  To: gentoo-catalyst

A few days ago I made a few small changes (just to the root overlay) to
a catalyst project of mine and re-ran from livecd2 stage. For some
reason boot now fails during init:

[...]
>> Mounting squashfs filesystem
mount: mounting /dev/loop0 on /newroot/mnt/livecd failed: Invalid argument
!! Failed to $1: failing back to the shell...
BusyBox v1.7.4 [...]

If I then, from the ash shell that you're thrown into, run "mount -o
loop -t squashfs /newroot/mnt/cdrom/image.squashfs /newroot/mnt/livecd"
I get the same error as above (invalid argument). Nothing appears in dmesg.

I've tried upgrading catalyst from 2.0.6 to 2.0.6.905, and genkernel
(the one used "inside" the catalyst project) from 3.4.10-r2 to
3.4.10.905, but nothing helps. Not that I expected it to do anything
since the changes I made since my last successful build cannot possibly
have anything to do with any of the bugs fixed in the newer versions.

How can I troubleshoot this further?




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-catalyst] Mounting squashfs fails
  2009-08-03 12:44 [gentoo-catalyst] Mounting squashfs fails lurker
@ 2009-08-04  4:50 ` Andrew Gaffney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Gaffney @ 2009-08-04  4:50 UTC (permalink / raw
  To: gentoo-catalyst

On 08/03/2009 07:44 AM, lurker wrote:
>>> Mounting squashfs filesystem
> mount: mounting /dev/loop0 on /newroot/mnt/livecd failed: Invalid argument

This is caused either by having an too-old kernel with squashfs-tools-4.0 or a 
too-new kernel with squashfs-tools-3.x. If you're using a >=2.6.29 kernel, 
you'll need squashfs-tools-4.0 to create the squashfs image.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer            Catalyst/Genkernel + Release Engineering Lead



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-04  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 12:44 [gentoo-catalyst] Mounting squashfs fails lurker
2009-08-04  4:50 ` Andrew Gaffney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox