[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] hvm reports "no bootable device" after install centos to sda


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Xiaodong Jiang <jxd431@xxxxxxxxx>
  • Date: Tue, 01 Mar 2011 22:43:22 +0800
  • Delivery-date: Tue, 01 Mar 2011 06:44:33 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=M/Ddd/shb2muZGrUHqmUdrgX5UmVjnkjdTC6DIed30lzsXvIyrhBabS+1nqS/Jo7ST B9vReTnsu7AUumQDcUwY9re5nZgXerRDQri2z5ISssg6xbkU+jGdFhW2CWqrGjUgjg4n DGINU7jhp+VImV5QRbHtLx9AXAVoHnTMRCrAQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

 I have install a hvm domU from centos iso file. While finished to
installation, I reboot this hvm domU and boot it without iso dvd. Use
vnc client to connect to screen and it seems that:
-----------------------------------------------------
No bootable device
Boot from hard disk failed: could not read the boot disk
-----------------------------------------------------

My xen domU configuration file seems like the following:
-------------------------------------------------------
server ~ # cat /xen/configs/centos
#  -*- mode: python; -*-
import os, re
arch_libdir = 'lib'
arch = os.uname()[4]
if os.uname()[0] == 'Linux' and re.search('64', arch):
    arch_libdir = 'lib64'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
shadow_memory = 8
name = "centos"
vcpus=1
vif = [ 'type=ioemu, bridge=eth0' ]
disk = [ 'phy:/dev/sda6,sda,w'
#,'file:/root/downloads/CentOS-5.5-x86_64-bin-DVD/CentOS-5.5-x86_64-bin-DVD-1of2.iso,hdc:cdrom,r'

]
#cdrom = 'dev/hdc'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="dc"
sdl=0
opengl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd=''
vncconsole=1
stdvga=0
serial='pty'
usbdevice='tablet'
monitor=1
on_reboot = 'restart'
on_crash = 'restart'
-------------------------------------------------------

How to resolve this problem?

-- 
Xiaodong Jiang
jxd431@xxxxxxxxx


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.