WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] hvm reports "no bootable device" after install centos to sda
From: Xiaodong Jiang <jxd431@xxxxxxxxx>
Date: Tue, 01 Mar 2011 22:43:22 +0800
Delivery-date: Tue, 01 Mar 2011 06:44:33 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=R3uoPu+InAOrUGoXRt344WMIy1i6Q61hBvX7JdtuNAQ=; b=Jh/jP0vYJJdLNnloeaEGy/o8cIsZBhq9tdEJ8W2hNAsZrt3jB+QtWgXjO9dAOdLGwF /EAGUNHQqIX/QLFJTvjRYnsk1ygv//JOQ1w39efoWcfNMARhrBebhqYXR+esy8PEO3Ji YcUg6Si+v8iSxlES9AlEZuZfn0HSz4WjAg35c=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110221095956.GQ5345@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D582F0A.3030807@xxxxxxxxxxxxxxxx> <4D5832F7.1030000@xxxxxxxxxxx> <4D59CF76.90702@xxxxxxxxxxxxxxxx> <AANLkTin5cx-z3fREUNEKeA_nHRNDa10_djUm5st8soiB@xxxxxxxxxxxxxx> <20110221095956.GQ5345@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20101114 Lightning/1.0b3pre Thunderbird/3.1.3
 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] hvm reports "no bootable device" after install centos to sda, Xiaodong Jiang <=