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

Re: [Xen-users] Solaris dom0, prebuilt domU?


  • To: Michael Jinks <mjinks@xxxxxxxxxxxx>
  • From: Mike Kazantsev <mk.fraggod@xxxxxxxxx>
  • Date: Sat, 10 Jan 2009 12:22:45 +0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 09 Jan 2009 23:26:32 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=W8m4E/wo/LkhinaWvN/0CUdW3mpv4N6hNpFagxznkrXzg/CdHNIYp+BDxxzaEkB9Aj JnG9RRNZpMViuvuYvR4PkdyfADELQxnYhjK79nweCD7d0vaFyvMFsDwHA2iDe06BN/Hu SgwJM+A+VzAv/Zaq+rilhnef6EabGT4742OtY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, 10 Jan 2009 00:43:13 -0600
Michael Jinks <mjinks@xxxxxxxxxxxx> wrote:

> But I'm not sure how to do that (Can I just dd it into a
> zfs volume?  Surely not?)

That's really just a loopback image with an ext3/reiserfs or xfs, you
can mount it in a usual way, just like an ISO or initrd image:

 mount /path/to/file.img /some/path -o loop

After that, it's just "cp -ax", or "rsync -axH" (so it'll save some
space by preserving hardlinks).

> and once I solve that problem, how do I
> create the xml config file that virt-install would create automatically
> if I were booting from an ISO image?

Sorry, but I'm completely unfamiliar with solaris virt-install utility,
but it's name suggests installing, while you have (or can easily
create otherwise) a working rootfs - there's no need to "install"
anything at all, so prehaps it's just not the right tool for the task.

While native OS tools are probably made to ease the maintenance, you
can always write configuration file by hand (or use one from jailtime
tarball), then use xen-tools to create domU from it.

-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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®.