I am trying to get a domU working with pyhsical devices exported from
dom0, but the boot of domU always fails with the following message in
Booting from Hard Disk...
Boot from Hard Disk failed: could not read the boot disk
FATAL: No bootable device
Xen 3.1.0 was installed from source and is running under Debian Etch.
Kernel Version 2.6.18. On the device, which I want to export is also a
Debian Etch installed.
The config of the domU looks like the following:
import os, re
arch = os.uname()
if re.search('64', arch):
arch_libdir = 'lib64'
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
memory = 1024
name = "ExampleHVMDomain"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/sdb1,ioemu:sda1,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
I already tried a lot of different values for disk, but each try ends
with the same message. Example tries:
disk = [ 'phy:/dev/sdb1,sda1,w' ]
disk = [ 'phy:/dev/sdb,ioemu:sda,w' ]
disk = [ 'phy:/dev/sdb,ioemu:sda,w', 'phy:/dev/sdb1,ioemu:sda1,w' ]
disk = [ 'phy:sdb1,ioemu:sda1,w' ]
I think I just made a beginner's mistake and I hope someone is able to
point me in the right direction. If you need any further information,
please let me know.
Thanks in advance.