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


Re: [Xen-users] booting domU with multiple concatenated ramdisks?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] booting domU with multiple concatenated ramdisks?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 2 Apr 2008 11:56:30 +0100
Cc: wferi@xxxxxxx
Delivery-date: Wed, 02 Apr 2008 03:57:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87zlsduyvy.fsf@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <87zlsduyvy.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> Some bootloaders (eg. syslinux) have to ability to load multiple
> ramdisks, effectively concatenating them.  This makes it very easy
> to augment ramdisks, like eg. customizing an installer.  Can I do
> something similar with XEN?  Separating the ramdisk cpio arhives with
> commas in the config file didn't work...

I don't think this is currently possible.  There was some work done by a 
developer in adding the ability to load multiple modules with the domain 
builder (for supporting GNU HURD) but I don't know what happened to it.  I 
don't *think* it was actually checked in.

What do you actually require here?  Do you *literally* just need concatenation 
of the ramdisks in memory?  Some metadata too?  It's probably not very hard 
to hack pygrub to build a compound "ramdisk" image containing the 
concatenated contents of multiple files (possibly with some other goop in 
there) in a file, then pass *that* to the domain builder.  It would be harder 
to modify the domain builder itself to load multiple files directly.


Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

Xen-users mailing list