[one-users] Can't log on into Windows XP virtual machine

Daniel Molina dmolina at opennebula.org
Wed Nov 7 05:40:31 PST 2012


Hi,

On 30 October 2012 04:25, Hoàng Thái Xuân Khoa <htxuankhoa at gmail.com> wrote:

>  Hello everyone,
>
> I use OpenNebula 3.6 & Ubuntu 12.04 (desktop & server). I was successfully
> deploy & log on into ttylinux virtual machine. After that, I decided deploy
> Windows XP to cluster nodes, the WinXP virtual machine in “runn” state.
> But, when I try to log on into Windows XP after deployed via OpenNebula, I
> got the error:
> “Boot failed: could not boot into hard disk.
> Fatal error: no bootable device”.
>
> So, I decided to log on Windows XP not via OpenNebula, I used this
> command:
> kvm -m 1024 /path/to/WinXP.img
> and I successfully logged on Windows XP and used it normally. I don't
> understand why? Why when i used OpenNebula to deploy to cluster nodes, it's
> state is "runn" but i can't log on. Can someone give me a hint for this
> problem?
>
> I installed Windows XP by these command:
> qemu-img create -f raw WinXP.img 6G
> kvm -cdrom /path/toWinXP.iso -m 1024 -boot d /path/to/WinXP.img
>
> This is my image template & virtual machine template:
>
> // IMAGE TEMPLATE
> NAME = "WinXP"
> PATH = /path/to/WinXP.img
> TYPE = OS
> PUBLIC = YES
> RESTRICTED_DIRS = "/etc/"
> DESCRIPTION = "WinXP for testing purpose when using OpenNebula to deploy a
> private cloud."
>
> // WINXP VIRTUAL MACHINE TEMPLATE
> NAME = WinXP
> CPU = 1
> MEMORY = 1024
> OS = [ BOOT = hd ]
> DISK = [IMAGE_ID = 2]
> DISK = [
> type = fs,
> size = 1024,
> format = ntfs,
> target = hda]
> GRAPHICS = [
> TYPE = "vnc",
> LISTEN = "0.0.0.0",
> PORT = "5920" ]
> NIC = [ NETWORK = "RANGEDLAN" ]
> FEATURES = [ acpi = "yes" ]
>


It looks like it cannot find a bootable device. You can specify this device
in the OS section (ROOT) [1]. Since you added a second disk with the target
hda the first disk (IMAGE_ID=2) will be hdb.

Hope this helps


[1]
http://opennebula.org/documentation:rel3.8:template#os_and_boot_options_section


>
> Thanks you in advance.
>
> --
> Hoàng Thái Xuân Khoa
> Ho Chi Minh city, Vietnam
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121107/d61f8236/attachment.htm>


More information about the Users mailing list