[xen-tools-discuss] questions about booting
Brent Bolin
brent.bolin at gmail.com
Wed Sep 1 20:54:59 CEST 2010
what os should be listed in /etc/xen/guest.cfg
kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64'
root at lenny:~# uname -a
Linux lenny 2.6.32-5-xen-amd64 #1 SMP Thu Aug 12 15:17:50 UTC 2010
x86_64 GNU/Linux
kernel = '/boot/vmlinuz-2.6.32-5-amd64'
ramdisk = '/boot/initrd.img-2.6.32-5-amd64'
root at lenny:~# uname -a
Linux lenny 2.6.32-5-amd64 #1 SMP Thu Aug 12 13:01:50 UTC 2010 x86_64 GNU/Linux
should the guest be running a xen kernel or does it matter?
Also how does all this work with no /boot/grub/* in the guest
#
# Configuration file for the Xen instance lenny, created
# by xen-tools 4.2beta1 on Sun Aug 29 20:48:13 2010.
#
#
# Kernel + memory size
#
#kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64'
#ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64'
kernel = '/boot/vmlinuz-2.6.32-5-amd64'
ramdisk = '/boot/initrd.img-2.6.32-5-amd64'
vcpus = '1'
memory = '512'
#
# Disk device(s).
#
root = '/dev/xvda2 ro'
disk = [
'file:/disk/xen/domains/lenny/disk.img,xvda2,w',
'file:/disk/xen/domains/lenny/swap.img,xvda1,w',
]
#
# Physical volumes
#
#
# Hostname
#
name = 'lenny'
#
# Networking
#
vif = [ 'ip=192.168.0.100,mac=00:16:3E:EE:0E:05' ]
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
More information about the xen-tools-discuss
mailing list