All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Larson <plars@linuxtestproject.org>
To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@hp.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: using domain0 file as root disk for domU
Date: Sat, 16 Jul 2005 09:36:17 -0500	[thread overview]
Message-ID: <42D91B61.8080105@linuxtestproject.org> (raw)
In-Reply-To: <516F50407E01324991DD6D07B0531AD54FA8D9@cacexc12.americas.cpqcorp.net>

Magenheimer, Dan (HP Labs Fort Collins) wrote:

>I know I've seen this before but can't find it...
>
>Can someone provide a pointer to (or if simple,
>just a quick reply) how to use a domain0 file as
>a root disk for a domU?
>
>I am able to mount the file as a loopback device:
>
>mount -o loop,offset=512 -t ext2 /var/xen/sda /mnt
>
>But how do I specify it in xmdefconfig?  I tried:
>
>disk = [ 'phy:/mnt,hda1,w' ]
>
>disk = [ '/mnt,hda1,w' ]
>  
>
disk = [ 'file:/var/xen/sda,hda1,w' ]

Make sure you unmount it in dom0 first! :)

Thanks,
Paul Larson

  parent reply	other threads:[~2005-07-16 14:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-16 13:11 using domain0 file as root disk for domU Magenheimer, Dan (HP Labs Fort Collins)
2005-07-16 13:19 ` Sascha Retzki
2005-07-16 14:36 ` Paul Larson [this message]
2005-07-18 14:23 ` Ryan Harper
  -- strict thread matches above, loose matches on Subject: below --
2005-07-17 22:29 Magenheimer, Dan (HP Labs Fort Collins)
2005-07-18  5:21 You, Yongkang
2005-07-18 20:28 Magenheimer, Dan (HP Labs Fort Collins)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42D91B61.8080105@linuxtestproject.org \
    --to=plars@linuxtestproject.org \
    --cc=dan.magenheimer@hp.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.