debian6 xen4.0安装 guest半虚拟化--debootstrap安装
上一篇介绍了全虚拟化的安装方法,这一篇来用xen-tools来自动安装一个半虚拟化的虚拟机,还是使用上一篇全虚拟化的机器,同时和xen-hvm运行在同一台机器上。 安装xen-tools工具 apt-get install xen-tools 先配置/etc/xen-tools/xen-tools.conf文件,内容如下: lvm = lvm-xen install-method = debootstrap size = 30Gb memory = 4096Mb swap = 2048Mb fs = ext4 dist = squeeze image = full gateway = 10.1.6.254 netmask = 255.255.255.0 broadcast = 10.1.6.255 dhcp = 1 genpass = 1 genpass_len = 8 hash_method = sha256 kernel = /boot/vmlinuz-2.6.32-5-amd64 initrd = /boot/initrd.img-2.6.32-5-amd64 arch = amd64 mirror = http://mirrors.163.com/debian ext3_options = noatime,nodiratime,errors=remount-ro ext2