Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xend refuses to start
Christoph Egger wrote:
disk = [ 'tap:aio:/xen/windows/winxp.img,ioemu:xvda,w',
'phy:/dev/cd0a,ioemu:xvdc:cdrom,r' ]
I think, here is the problem. blktap is not available for NetBSD.
Use 'file:/xen/windows/winxp.img,ioemu:xvda,w'.
(It is still not available with upcoming Xen 3.3 where I factored
out Linux specific code into separate files and made the rest build
on NetBSD.)
Thanks Christoph. It was indeed the disk option.
I can boot WinXP just fine now.
For the (google) record, this is my XEN config file to boot Windows XP
on NetBSD 4.99.x
#Kernel and memory size
kernel = '/usr/local/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '512'
vcpus=1
pae=0
acpi=0
apic=0
#usb = 1
#usbdevice = 'tablet'
#cpus = ''
device_model = '/usr/local/libexec/qemu-dm'
disk = [ 'file:/xen/windows/winxp.img,ioemu:hda,w',
'phy:/dev/cd0a,ioemu:hdb:cdrom,r' ]
# Hostname and Networking
name = 'winxp'
vif = [ 'type=ioemu, bridge=bridge0, mac=00:00:00:ff:fe:01' ]
dhcp = 'off'
# Behaviour
#boot = 'd' #d is cdrom boot, c is disk boot.
boot = 'c' #d is cdrom boot, c is disk boot.
nographic='0'
vnc = '1'
#vncviewer = '1'
vnclisten = '127.0.0.1'
sdl='0'
stdvga='0'
serial='pty'
ne2000='0'
audio=1
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
Cheers,
Marcin
Home |
Main Index |
Thread Index |
Old Index