[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen LiveCD scripts: mount cannot mount the squashfs filesystem image?


  • To: Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.