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

Re: [Xen-users] HVM Linux just installed but does not do its first boot

To: Сергей Лукашевич <lukash33@xxxxxxxxx>
Subject: Re: [Xen-users] HVM Linux just installed but does not do its first boot
From: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Date: Mon, 09 Jul 2007 14:41:36 +0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 08 Jul 2007 22:39:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <41911183727739@xxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <41911183727739@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (Windows/20070326)
Hi,

If I remember correctly, booting from scsi disks is not yet supported
for HVM domains. Try using 'hda' instead of 'sda'.

-------------------
Yosuke

Сергей Лукашевич wrote:
> Just successfully installed SLES9.3-32bit as file-backended HVM domU.
> 
> Everything went OK, the distributive partitioned its "harddisk" into root and 
> swap OK, have its grub installed into sda boot sector, but I could not make 
> to boot no one single first time after installation. Every domU boot gives 
> the following screen for a short time and dies:
> 
> 
> 
> Booting from Hard Disk...
> 
> Boot from Hard Disk failed: could not read the boot disk
> 
> FATAL: No bootable device.
> 
> 
> 
> I beleive this it QEMU output, is not it?
> 
> So when I place a Knopix (bootable linux) CD image into domUs cdrom, my domU 
> does recognise the /dev/sda disk just fine: I could run even fdisk, fsck, and 
> mount.
> 
> 
> 
> here is the domU config file I used:
> 
> 
> 
> --------------------------------------------
> 
> import os, re
> 
> arch = os.uname()[4]
> 
> if re.search('64', arch):
> 
>     arch_libdir = 'lib64'
> 
> else:
> 
>     arch_libdir = 'lib'
> 
> 
> 
> kernel = "/usr/lib/xen/boot/hvmloader"
> 
> builder='hvm'
> 
> memory = 512
> 
> vcpus=2
> 
> name = "sles9.3-32bit"
> 
> vif = [ 'type=ioemu, mac=aa:a0:01:ad:a0:a0, bridge=xenbr0' ]
> 
> disk=['file:/IMG/sles9.3-32bit.disk,sda,w']
> 
> #disk=['file:/IMG/sles9.3-32bit.disk,sda,w','file:/ISO/Knoppix-5.0.1.iso,hdc:cdrom,r']
> 
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> 
> #boot="d"
> 
> sdl=1
> 
> vnc=0
> 
> vncunused=1
> 
> vncconsole=0
> 
> stdvga=0
> 
> --------------------------------------------
> 
> 
> 
> I am not a novice in Linux and do not suspect I made a mistake installing it 
> for some 1000th time. So why disk not recognised by XEN? Could not find an 
> answer so far.
> 
> 
> 
> Environment: XEN3.1, dom0 runs SLES9.3-64bit, SUN X4600 server.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


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

<Prev in Thread] Current Thread [Next in Thread>