All of lore.kernel.org
 help / color / mirror / Atom feed
* problem creating a new domain
@ 2004-10-17 23:09 Sanjay Kumar
  2004-10-18 13:20 ` M.A. Williamson
  0 siblings, 1 reply; 7+ messages in thread
From: Sanjay Kumar @ 2004-10-17 23:09 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-22  1:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-17 23:09 problem creating a new domain Sanjay Kumar
2004-10-18 13:20 ` 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

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.