Page 1 of 1

VBoxManage convertfromraw - Fatal: No bootable medium found!

Posted: 7. May 2009, 22:55
by divyenpatel
Hi,

I am trying to convert my OpenSolaris 2008.11 xen image running on the top of OpenSolaris 2008.11 dom0 to VDI format.
Converted to VDI using following command


divyen@divyen-laptop:~/ec2-img$ VBoxManage convertfromraw opensolaris_2008_11_ami.img opensolaris_2008_11_ami.vdi
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Converting from raw image file="opensolaris_2008_11_ami.img" to file="opensolaris_2008_11_ami.vdi"...
Creating dynamic image with size 10485761024 bytes (10001MB)...
divyen@divyen-laptop:~/ec2-img$

When I tried to boot it up this VDI on Virtual Box 2.2.2, I am getting following error.
"Fatal: No bootable medium found! system halted."

Is there anything special I need to do for the conversion?

Thanks and Regards,
Divyen Patel

Re: VBoxManage convertfromraw - Fatal: No bootable medium found!

Posted: 7. May 2009, 23:34
by divyenpatel
Additional Details.

divyen@divyen-laptop:~/ec2-img$ VBoxManage showhdinfo opensolaris_2008_11_ami.vdi
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

UUID: 660b66e1-c2de-49e4-bb02-b452d3f734c9
Accessible: yes
Logical size: 10000 MBytes
Current size on disk: 3166 MBytes
Type: normal (base)
Storage format: VDI
Location: /home/divyen/ec2-img/opensolaris_2008_11_ami.vdi
divyen@divyen-laptop:~/ec2-img$

Re: VBoxManage convertfromraw - Fatal: No bootable medium found!

Posted: 8. May 2009, 19:18
by divyenpatel
more details....

created raw image with this command.
dd if=/dev/zero of=imagefile.img bs=1k seek=10000k count=1

Is there any specific block size i need use. I am able to boot this image on opensolaris 2008.11 rc2 dom0 environment without any issue.


Thanks and Regards,
Divyen Patel

Re: VBoxManage convertfromraw - Fatal: No bootable medium found!

Posted: 8. May 2009, 19:24
by divyenpatel
more details ....

$ du -skh opensolaris_2008_11_ami.img
2.8G opensolaris_2008_11_ami.img

$ VBoxManage internalcommands listpartitions -rawdisk opensolaris_2008_11_ami.img
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

$