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