[one-users] I am getting following error when i tried to install CentOS VM with an ISO file and an empty Datablock. Boot failed: Could not read from CDROM (code 0004) No bootable device.

Duverne, Cyrille cyrille.duverne at euranova.eu
Tue May 26 05:14:34 PDT 2015



Hello Vivek,

 

Could you tell which version of OpenNebula you're running ?

Could you paste the template you're using to instantiate your VM ?

 

If you just want to run a basic CentOS image, you can use the one
available on OpenNebula's Marketplace (available from Sunstone).

 

Enjoy

CyD

At Wednesday, 29/04/2015 on 18:04 VIVEK THALORA wrote:

  Hi,

I am a newbie to OpenNebula, from the past one week i am trying to
bring up a Virtual Machine by using an ISO file (CENTOS-6.6-Minimal)
and an empty datablock. I was doing it through Opennebula Sunstone & I
was referring following website
(http://www.whotouchedmygun.com/2014/03/17/create-a-vm-image-in-opennebula/)
for the help. But after completion when i tried to start the VM i am
getting following error, Boot failed: Could not read from CDROM (code
0004) No bootable device. 
In my case KVM Hypervisor,Opennebula Server all are on the same server
and storage is local hard disk. Please suggest me if anything i need
to modify. I couldn't get a proper solution on my internet search, or
if there is any other alternate approach for the fulfillment of the
same goal please suggest. Any solution from your side will be greatly
appreciated.

The output of file /var/lib/one/datastores/0/9/deployment.0 is,
        one-9
        
                1024
        
        524288
        
                hvm
                
        
        
                /usr/libexec/qemu-kvm
                
                        
                        
                        
                        
                
                
                        
                        
                        
                
                
                        
                        
                        
                        
                
                
                        
                        
                
                
        
        
                
        

 If required please find the output of the following commands,

[root at virtsvr02 ~]# file /var/lib/one/datastores/0/9/*
/var/lib/one/datastores/0/9/deployment.0: ASCII text
/var/lib/one/datastores/0/9/disk.0: symbolic link to
`/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e'
/var/lib/one/datastores/0/9/disk.1: symbolic link to
`/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4'
/var/lib/one/datastores/0/9/disk.2: # ISO 9660 CD-ROM filesystem data
'CONTEXT '
/var/lib/one/datastores/0/9/disk.2.iso: symbolic link to
`/var/lib/one/datastores/0/9/disk.2'

[root at virtsvr02 ~]# ls ltr /var/lib/one/datastores/0/9/*
lrwxrwxrwx 1 oneadmin oneadmin 58 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.0 ->
/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e
lrwxrwxrwx 1 oneadmin oneadmin 58 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.1 ->
/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4
-rw-r--r- 1 oneadmin oneadmin 374784 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.2
lrwxrwxrwx 1 oneadmin oneadmin 34 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.2.iso >
/var/lib/one/datastores/0/9/disk.2
-rw-rw-r- 1 oneadmin oneadmin 1051 Apr 29 11:06
/var/lib/one/datastores/0/9/deployment.0

[root at virtsvr02 ~]# file /var/lib/one/datastores/1/*
/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4: QEMU QCOW
Image (v3), 7340032000 bytes
/var/lib/one/datastores/1/c012276cfb37c4306ab33d11d722d28d: QEMU QCOW
Image (v2), 10737418240 bytes
/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e: # ISO 9660
CD-ROM filesystem data 'CentOS 7 x86_64 ' (bootable)

[root at virtsvr02 ~]# ls ltr /var/lib/one/datastores/1/*
-rw-r--r- 1 oneadmin oneadmin 870252544 Apr 23 05:53
/var/lib/one/datastores/1/c012276cfb37c4306ab33d11d722d28d
rw-r--r- 1 oneadmin oneadmin 197120 Apr 24 09:34
/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4
rw-r--r- 1 oneadmin oneadmin 666894336 Apr 24 09:42
/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e

Thanks & Regards,
Vivek P V


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20150526/bfd02a96/attachment.htm>


More information about the Users mailing list