WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen LiveCD scripts: mount cannot mount the squashfs filesystem image?
From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
Date: Wed, 2 Sep 2009 13:33:17 -0300
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Sep 2009 09:34:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=fd0kJiIGNJibynX2MFVQbccfbNo25mHFbC2lbP15DyI=; b=n9MLiqLo6HEWEs2enM+jsOKGQ/eCSIkvJoXCCfC3DVs1QAiH8vmPdSsZxxm3UWe60/ l+SuOv2OpWLw3ES7SqlElXzsuu1zrIWq/xCRVnRCRMYJ9KeAaxli0CI1g2QgZ6Cb8sI5 lGfeYVhQzwmni+6UmmPq0A7HxeqzZCMzDktOA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g/PAPuY+R0M7IQTmb0Y+KSzpq0eqzp7WliQ3ADUZkC59tUE90u+Xk/oa1NNFB65U1T OtdNXl1izWTWiFa3Wa1U37UIIlFHTdG4p7XcLi89zAPZ9F3wVTtlh6j3/2QiCMaXRfsE Vo3+GiSxzp73bPCKabJuQ+epzWaaWmFkWLIkU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E9E9BAC7D3459C40BAA714735552E0E4511700C00E@xxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <E9E9BAC7D3459C40BAA714735552E0E4511700C00E@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Joshua,

 I have build the Xen Live CD (Debian dom0) within a Ubuntu 8.10, using the live-helper 1.0.3 backported from Jaunty... What is your live-helper version?

 Just to be sure, look the Debian Kernel versions within the i386/chroot dir and the grub's menu.lst file at the xenlivecd-0.8.2/stuff dir.

Cheers!
Thiago

2009/9/2 Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
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, & debootstrap.
- Checked my squashfs-tools package, and it's 3.3, producing SquashFS 3.1 images.
- 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 scenes.

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.

Thanks!,

--J
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>