[one-users] How to boot from .img

Khoa Nguyen vankhoa011 at gmail.com
Wed Apr 6 19:37:26 PDT 2011


hi all
I have just created a .img file which contains ubuntu.  On cluster node, It
runs when  i type " sudo qemu -m 512 -hda ubuntu.img -boot c . But
I try to create a VM  from ubuntu.img  on front end but it display :

ata0 master: QEMU HARDDISK ATA-7 Hard-Disk
ata1 master: QEMU DVD-ROM...
booting from Hard Disk
Noot failed: not a bootable disk
Fatal: no bootable

File template:


NAME   = ubuntu9.10
CPU    = 1
MEMORY = 1024
#OS      = [ BOOT   = hd ]



DISK   = [
  type        = "os",
  source   = "/srv/cloud/images/ubuntu/ubuntu.img",
  target   = "hda",
  readonly = "no" ]


NIC    = [ NETWORK = "Small network" ]

FEATURES=[ acpi="no" ]


GRAPHICS = [
  type = "vnc",
  listen = "localhost",
  port = "5903"]

It's created by file template which similar with ttylinux.img but can't
boot. Anybody know? please help me.
thank you.

-- 
Nguyễn Vũ Văn Khoa
Đại học Khoa Học Tự Nhiên TP HCM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110407/bd79bde7/attachment-0002.htm>


More information about the Users mailing list