WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] problem creating a new domain

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] problem creating a new domain
From: Sanjay Kumar <ksanjay@xxxxxxxxxxxxx>
Date: Sun, 17 Oct 2004 19:09:03 -0400
Delivery-date: Mon, 18 Oct 2004 03:13:32 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>