This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Xen LiveCD scripts: mount cannot mount the squashfs filesyst

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen LiveCD scripts: mount cannot mount the squashfs filesystem image?
From: Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
Date: Wed, 2 Sep 2009 10:51:36 -0400
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Wed, 02 Sep 2009 07:53:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHKK9m5vZMlYndKbkueoe4QAbMqbA==
Thread-topic: Xen LiveCD scripts: mount cannot mount the squashfs filesystem image?
Bumped into this oddity when trying to build the Linux half of my livedvd 
project.  Testing in both a VM booting the ISO, and burning the ISO to an 
actual disc and booting it yields the same results:

Error from /live.log is:
Begin: Running /scripts/live-premount ... done.
Begin: Running /scripts/live-realpremount ... done.
Begin: Mounting "/live/image/live/filesystem.squashfs" on 
"/filesystem.squashfs" via "/dev/loop0" ... mount: mounting /dev/loop0 on 
//filesystem.squashfs failed: No such device

Debian Bug #540000 is one of the few bugs that is both fairly recent, and 
directly relates to this.  Unfortunately, the original creator of the bug 
didn't provide a whole lot of information regarding his setup or such.  I've 
since sent in my own observations, but I'll have to see if that offers the 
Debian maintainer any idea as to what's wrong.

Some things I've checked:

- Tested both Lenny & Sid versions of live-helper, live-initramfs, & 
- Checked my squashfs-tools package, and it's 3.3, producing SquashFS 3.1 
- Manually attempting to mount the squashfs root fails with a similar error as 
above, "invalid argument", but nothing comes up in dmesg, and I don't have 
strace available in the minitroot environment to see what's going on behind the 

Anyone got something else to try?  I've mostly run the amd64 scripts 
one-by-one, modifying 10-init-lh_config.sh to pass different mirror parameters 
to lh_config, and tried both cdebootstrap and debootstrap, but neither seems to 
work.  I am putting my guest disk image into the chroot environemtn, so the 
resultant filesystem.squashfs is ~1.5GB, but I doubt that's an issue because 
the booting system has 8GB of memory to play in.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>