[root at xen xen]# xm create -c vm02 Using config file "./vm02". Started domain vm02 Loaded initial symtab at 0xffffffff8064bbe4, strtab at 0xffffffff80697538, # entries 12820 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.72 (XEN3_DOMU) #0: Sat Aug 9 17:41:48 PDT 2008 builds at wb30 :/home/builds/ab/HEAD/amd64/200808090002Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/XEN3_DOMU total memory = 512 MB avail memory = 487 MB mainbus0 (root) hypervisor0 at mainbus0: Xen version 3.1 vcpu0 at hypervisor0: Intel 686-class, 3200MHz, id 0xf41 vcpu0: 32 page colors xenbus0 at hypervisor0: Xen Virtual Bus Interface xencons0 at hypervisor0: Xen Virtual Console Driver xencons0: using event channel 2 xenbus0: using event channel 1 unknown type vkbd at xenbus0 id 0 not configured xbd0 at xenbus0 id 51712: Xen Virtual Block Device Interface xennet0 at xenbus0 id 0: Xen Virtual Network Interface xennet0: MAC address 00:16:3e:66:84:3c unknown type vfb at xenbus0 id 0 not configured xbd0: 8220 MB, 512 bytes/sect x 16836057 sectors raidattach: Asked for 8 units Kernelized RAIDframe activated Searching for RAID components... boot device: xbd0 root on xbd0a dumps on xbd0b mountroot: trying lfs... mountroot: trying ffs... mountroot: trying ext2fs... mountroot: trying nfs... mountroot: trying smbfs... mountroot: trying ntfs... unknown type vkbd at xenbus0 id 0 not configured mountroot: trying msdos... mountroot: trying cd9660... mountroot: trying coda... no file system for xbd0 (dev 0x8e00) cannot mount root, error = 79 root device (default xbd0a): dump device (default xbd0b): file system (default generic): root on xbd0a dumps on xbd0b mountroot: trying lfs... mountroot: trying ffs... mountroot: trying ext2fs... mountroot: trying nfs... mountroot: trying smbfs... mountroot: trying ntfs... mountroot: trying msdos... mountroot: trying cd9660... unknown type vfb at xenbus0 id 0 not configured mountroot: trying coda... no file system for xbd0 (dev 0x8e00) cannot mount root, error = 79 root device (default xbd0a): / use one of: xbd0[a-p] xennet0 md0[a-p] ddb halt reboot root device (default xbd0a): dump device (default xbd0b): file system (default generic): root on xbd0a dumps on xbd0b mountroot: trying lfs... mountroot: trying ffs... mountroot: trying ext2fs... mountroot: trying nfs... mountroot: trying smbfs... mountroot: trying ntfs... mountroot: trying msdos... mountroot: trying cd9660... mountroot: trying coda... no file system for xbd0 (dev 0x8e00) cannot mount root, error = 79 root device (default xbd0a): dump device (default xbd0b): file system (default generic): / use one of: generic lfs ffs ext2fs nfs smbfs ntfs msdos cd9660 coda ddb halt reboot file system (default generic): generic lfs use one of: generic lfs ffs ext2fs nfs smbfs ntfs msdos cd9660 coda ddb halt reboot file system (default generic): lfs root on xbd0a dumps on xbd0b cannot mount root, error = 5 root device (default xbd0a): xbd0a dump device (default xbd0b): xbd0b file system (default lfs): lfs root on xbd0a dumps on xbd0b cannot mount root, error = 5 root device (default xbd0a): /dev/xbd0a use one of: xbd0[a-p] xennet0 md0[a-p] ddb halt reboot root device (default xbd0a): xbd0d dump device (default xbd0b): xbd0e file system (default lfs): xbd0f use one of: generic lfs ffs ext2fs nfs smbfs ntfs msdos cd9660 coda ddb halt reboot file system (default lfs): ffs root on xbd0d dumps on xbd0e cannot mount root, error = 5 root device (default xbd0d): ext2fs use one of: xbd0[a-p] xennet0 md0[a-p] ddb halt reboot root device (default xbd0d): xbd0a dump device (default xbd0b): xbd0b file system (default ffs): ext2fs root on xbd0a dumps on xbd0b cannot mount root, error = 5 root device (default xbd0a): Thanks a bunch, it work, however i'm stuck with the error above. any idea? Thanks, - Augustin On Tue, Aug 12, 2008 at 5:58 AM, TAIRA Hajime <centos at pantora.net> wrote: > Hi, > > You had a mistake. If you want to boot from kernel image. > Didn't set builder='hvm'. Please try to use following configuration. > > kernel="/boot/netbsd/netbsd-XEN3_DOMU" > #builder='hvm' > name = "vm02" > maxmem = 512 > memory = 512 > vcpus = 1 > #bootloader = "/usr/bin/pygrub" > on_poweroff = "destroy" > on_reboot = "restart" > on_crash = "restart" > vfb = [ "type=vnc,vncunused=1,keymap=en-us" ] > disk = [ "tap:aio:/var/lib/xen/images/vm02.img,wd0d,w" ] > vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ] > #cdrom='/dev/hda' > #ne2000=0 > #boot='d' > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20080812/603714cd/attachment-0004.html>