lipeng.sang on 2009-7-18 19:51 wrote:>
> ------------------------------------------------------------------------
>
> 主题:
> snv_118 domu creation problem
> 发件人:
> lipeng sang <Lipeng.Sang@sun.com>
> 日期:
> Tue, 14 Jul 2009 18:48:54 +0800
> 收件人:
> xen-discuss@opensolaris.org
>
> 收件人:
> xen-discuss@opensolaris.org
>
>
> Hi,
>
> I'd like to create domu about solaris at snv_118.
> But it can't boot after install domu.
> Please help to check wheather my configuration has problem or xen's
bug.
>
> Thanks in advanced.
> Sang lipeng
>
>
> My configuration is as below:
> virsh # dumpxml solaris
> <domain type='xen' id='-1'>
> <name>solaris</name>
> <uuid>707bd327-8414-17bb-cd1d-f4c51032c69e</uuid>
> <bootloader>/usr/lib/xen/bin/pygrub</bootloader>
> <os>
> <type>linux</type>
> </os>
> <memory>1048576</memory>
> <vcpu>1</vcpu>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>restart</on_crash>
> <distro name='solaris'/>
> <clock offset='localtime'/>
> <devices>
> <interface type='ethernet'>
> <target dev='vif-1.0'/>
> <mac address='00:16:3e:0c:df:c8'/>
> </interface>
> <disk type='file' device='disk'>
> <driver name='file'/>
> <source file='/export/home/mydomu.img'/>
> <target dev='xvda'/>
> </disk>
> </devices>
> </domain>
>
>
> The detail information is as below:
>
> Installing Additional Software
>
|-1%--------------25%-----------------50%-----------------75%--------------100%|
>
> Pausing for 30 seconds at the "Summary" screen. The wizard
will
> continue to
> the next step unless you select "Pause". Enter 'p' to
pause. Enter 'c' to
> continue. [c] c
>
>
> Pausing for 90 seconds at the "Reboot" screen. The wizard will
> continue to
> the next step unless you select "Pause". Enter 'p' to
pause. Enter 'c' to
> continue. [c] c
>
> bootadm: missing /boot/grub on root: /a/
>
This looks strange, why /a is missing /boot/grub? Backend filesystem is
full...?> syncing file systems... done
> rebooting...
> libvir: Xen Daemon error : GET operation failed:
> libvir: error : invalid argument in virDomainLookupByUUIDString
>
> Guest installation complete... restarting guest.
> virDomainCreate() failed POST operation failed: (xend.err "Boot loader
> didn't return any data!")
>
Pygrub cannot find the kernel file to boot if you don't have a
/boot/grub in your root disk.
Max> Domain installation may not have been
> successful. If it was, you can restart your domain
> by running 'virsh start solaris'; otherwise, please
> restart your installation.
> Tue, 14 Jul 2009 13:36:53 ERROR virDomainCreate() failed POST
> operation failed: (xend.err "Boot loader didn't return any
data!")
> Traceback (most recent call last):
> File "/usr/bin/virt-install", line 511, in ?
> main()
> File "/usr/bin/virt-install", line 497, in main
> dom.create()
> File "libvirt.py", line 240, in create
> if ret == -1: raise libvirtError ('virDomainCreate() failed',
dom=self)
> libvirtError: virDomainCreate() failed POST operation failed: (xend.err
> "Boot loader didn't return any data!")
> bash-3.2# virsh start solaris
> libvir: Xen Daemon error : POST operation failed: (xend.err "Boot
loader
> didn't return any data!")
> error: Failed to start domain solaris
>
> bash-3.2# virsh start solaris
> libvir: Xen Daemon error : POST operation failed: (xend.err "Boot
loader
> didn't return any data!")
> error: Failed to start domain solaris
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xen-discuss mailing list
> xen-discuss@opensolaris.org
>
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org