[one-users] can't install window on VM.

Shi Jin jinzishuai at gmail.com
Tue Mar 15 06:41:49 PDT 2011


I think you don't have a OS disk yet so you want to just boot into the CD.
To do that, you need to specify boot=cdrom in the template.
Take a look at http://www.opennebula.org/documentation:rel2.0:template

On Tue, Mar 15, 2011 at 12:07 AM, Khoa Nguyen <vankhoa011 at gmail.com> wrote:

> Hj Shi jin
> .I'm newbie .I don't know what you say.  Can you help me step by step ?
> Thank you.
>
>
>
> On Mon, Mar 14, 2011 at 8:40 PM, Shi Jin <jinzishuai at gmail.com> wrote:
>
>> most likely you need to specify the driver of the disk, raw or qcow2.
>>
>> Shi
>>
>> On Mon, Mar 14, 2011 at 3:27 AM, Khoa Nguyen <vankhoa011 at gmail.com>wrote:
>>
>>> Hi all
>>>
>>> I try to install winserver on VM but have problem . I don't know why.
>>> I register a winserver.img and register it.
>>>
>>> oneadmin1 at oneadmin-desktop:/srv/cloud/images/winserver$ cat
>>> winserver.img
>>> NAME          = "Winserver2003"
>>> TYPE          = CDROM
>>> PATH          = /srv/cloud/images/winserver/winserver2003.iso
>>> DESCRIPTION   = "Win server 2003"
>>>
>>> oneadmin1 at oneadmin-desktop:/srv/cloud/images/winserver$ oneimage list
>>>   ID     USER                 NAME TYPE              REGTIME PUB PER
>>> STAT  #VMS
>>>    0 oneadmin        Winserver2003   CD   Mar 11, 2011 09:01  No  No
>>> used     1
>>>
>>> After  create a WM with template.
>>>
>>> oneadmin1 at oneadmin-desktop:/srv/cloud/images/winserver$ cat
>>> winserver.one
>>> NAME   = winserver
>>> CPU    = 0.1
>>> MEMORY = 128
>>>
>>> DISK   = [ image = "Winserver2003" ]
>>>
>>> NIC    = [ NETWORK = "Small network" ]
>>>
>>> FEATURES=[ acpi="no" ]
>>>
>>> #CONTEXT = [
>>> #    hostname    = "$NAME",
>>> #    ip_public   = "PUBLIC_IP",
>>> #    files      = "/path/to/init.sh /path/to/id_dsa.pub",
>>> #    target      = "hdc",
>>> #    root_pubkey = "id_dsa.pub",
>>> #    username    = "opennebula",
>>> #    user_pubkey = "id_dsa.pub"
>>> #]
>>> GRAPHICS = [
>>>   type = "vnc",
>>>   listen = "localhost",
>>>   port = "5902",
>>>   keymap="es"]
>>>
>>> But when i try to connect VM by vnc. It's display
>>> Booting from Hard Disk...
>>> Boot failed : could not read the boot disk.
>>> FATAL: no bootable device.
>>>
>>> I think file template is wrong. But I can't slove it. Please help me.
>>>
>>> Thank you for advance.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Nguyễn Vũ Văn Khoa
>>> Đại học Khoa Học Tự Nhiên TP HCM
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> Shi Jin, Ph.D.
>>
>>
>
>
> --
> Nguyễn Vũ Văn Khoa
> Đại học Khoa Học Tự Nhiên TP HCM
>
>
>


-- 
Shi Jin, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110315/3ab61b9e/attachment-0003.htm>


More information about the Users mailing list