[one-users] Problem Boot Order Image
Dian Sukmono Aji
tandatanya at gmail.com
Tue Oct 21 21:15:56 PDT 2014
Hai,
I've Succeed install opennebula on single machine. Next step i create VM on sunstone by uploading Ubuntu ISO cd source and create empty RAW Datablock. Second step is trying to install Ubuntu 14.04 on the datablock. After strugeling with boot order, i finnaly manage to boot on ISO cd Ubuntu image by forcing the cd to target as hda and force to boot with :
RAW=[
DATA="
<os>
<boot dev='cdrom'/>
</os>
",
TYPE="kvm" ]
had to add above lines on context.
Now after the install finish i want to create VM with that datablock but after boot, it said no boot faile : no a bootable disk.
This is template from VM where i installed the ubuntu to the datablock :
AUTOMATIC_REQUIREMENTS !(PUBLIC_CLOUD = YES)
CONTEXT
DISK_ID 2
ETH0_DNS 8.8.8.8
ETH0_GATEWAY 10.1.20.1
ETH0_IP 10.1.20.59
ETH0_MAC 02:00:0a:01:14:3b
ETH0_MASK 255.255.255.0
ETH0_NETWORK 10.1.20.0
NETWORK YES
TARGET hdb
CPU 1
DISK
0
CLONE NO
CLONE_TARGET SYSTEM
DATASTORE default
DATASTORE_ID 1
DEV_PREFIX hd
DISK_ID 0
IMAGE ISO Ubuntu Server 14.04.1 LTS
IMAGE_ID 10
IMAGE_UNAME onengadmin
LN_TARGET NONE
READONLY YES
SAVE NO
SIZE 572
SOURCE /var/lib/one//datastores/1/f061e7368909905227e0c02df28d8533
TARGET hda
TM_MAD shared
TYPE CDROM
1
CLONE YES
CLONE_TARGET SYSTEM
DATASTORE default
DATASTORE_ID 1
DEV_PREFIX hd
DISK_ID 1
IMAGE Disk RAW 10GB
IMAGE_ID 14
IMAGE_UNAME onengadmin
LN_TARGET NONE
READONLY NO
SAVE NO
SIZE 10240
SOURCE /var/lib/one//datastores/1/e9c405962e0a842a448c64f550354cc7
TARGET hdc
TM_MAD shared
TYPE FILE
GRAPHICS
LISTEN 0.0.0.0
PORT 5934
TYPE VNC
MEMORY 1024
NIC
AR_ID 0
BRIDGE br0
IP 10.1.20.59
MAC 02:00:0a:01:14:3b
NETWORK priv-net
NETWORK_ID 0
NETWORK_UNAME oneadmin
NIC_ID 0
VLAN NO
RAW
DATA <os> <boot dev='cdrom'/> </os>
TYPE kvm
TEMPLATE_ID 11
VMID 34
and this is the template from i'm trying to boot the datablock :
AUTOMATIC_REQUIREMENTS !(PUBLIC_CLOUD = YES)
CONTEXT
DISK_ID 1
ETH0_DNS 8.8.8.8
ETH0_GATEWAY 10.1.20.1
ETH0_IP 10.1.20.60
ETH0_MAC 02:00:0a:01:14:3c
ETH0_MASK 255.255.255.0
ETH0_NETWORK 10.1.20.0
NETWORK YES
TARGET hda
CPU 1
DISK
CLONE YES
CLONE_TARGET SYSTEM
DATASTORE default
DATASTORE_ID 1
DEV_PREFIX hd
DISK_ID 0
IMAGE Ubuntu 14.04.1
IMAGE_ID 15
IMAGE_UNAME onengadmin
LN_TARGET NONE
READONLY NO
SAVE NO
SIZE 10240
SOURCE /var/lib/one//datastores/1/dca998a00ad0109e93e23a0588070017
TARGET hdb
TM_MAD shared
TYPE FILE
GRAPHICS
LISTEN 0.0.0.0
PORT 5941
TYPE VNC
MEMORY 1024
NIC
AR_ID 0
BRIDGE br0
IP 10.1.20.60
MAC 02:00:0a:01:14:3c
NETWORK priv-net
NETWORK_ID 0
NETWORK_UNAME oneadmin
NIC_ID 0
VLAN NO
TEMPLATE_ID 15
VMID 41
Please inlight me.
More information about the Users
mailing list