All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sanjay Kumar <ksanjay@cc.gatech.edu>
To: xen-devel@lists.sourceforge.net
Subject: problem creating a new domain
Date: Sun, 17 Oct 2004 19:09:03 -0400	[thread overview]
Message-ID: <4172FB8F.7070602@cc.gatech.edu> (raw)

Hi Folks,
I am using xen1.2.
I create the disk image as described in the Xen2.0 user manual chapter 5.

#dd if=/dev/zero of=vm1disk         bs=1k seek=6144k  count=1
#losetup /dev/loop1 vm1disk
#mkfs -t ext3 /dev/loop1
#mount /dev/loop1 /mnt

#cp -ax /<directory>/  /mnt/         /* I do this instead of copying the 
whole / directory because I don't want some of the directories in Dom 1 */

I modify /mnt/etc/fstab to put /dev/sda1 to root

# umount /dev/loop1

then I put this line in /etc/xc/defaults  (I used a copy of it called dom1)

vbd_list = [ ('phy:loop1','sda1','w' ) ]


After this I try to create the dom1 by saying but I get an error.

#xc_dom_create.py   -D vmid=1 -f dom1
Parsing config file 'dom1'
VM image           : "/boot/xenolinux.gz"
VM ramdisk         : ""
VM memory (MB)     : "64"
VM IP address(es)  : "130.207.98.36; 169.254.1.1"
VM block device(s) : "phy:loop1,sda1,w"
VM cmdline         : 
"ip=130.207.98.36:169.254.1.0:130.207.98.1:255.255.255.0::eth0:off 
root=/dev/sda1 ro 4 VMID=1 usr=/dev/sda6"
Error looking up phy:loop1


Can someone please help me with this error?

Thanks,
Sanjay





-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

             reply	other threads:[~2004-10-17 23:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-17 23:09 Sanjay Kumar [this message]
2004-10-18 13:20 ` problem creating a new domain M.A. Williamson
2004-10-19 21:34   ` Sanjay Kumar
2004-10-20 14:54     ` Matthieu PATOU
2004-10-20 19:27       ` Sanjay Kumar
2004-10-20 21:12         ` Matthieu PATOU
2004-10-22  1:16           ` Ian Pratt

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=4172FB8F.7070602@cc.gatech.edu \
    --to=ksanjay@cc.gatech.edu \
    --cc=xen-devel@lists.sourceforge.net \
    /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.