- 论坛徽章:
- 0
|
回复 109# Gray1982
编译支持xen的linux内核
git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
cd linux-2.6-xen
git checkout -b xen/next-2.6.32 origin/xen/next-2.6.32
wget -O .config http://pasik.reaktio.net/xen/ker ... 0-xen-stable-x86_64
make oldconfig
make -j4 bzImage && make -j4 modules && make modules_install
depmod -a 2.6.32.57
cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.32.57
cp -a System.map /boot/System.map-2.6.32.57
cp -a .config /boot/config-2.6.32.57
dracut initramfs-2.6.32.57.img 2.6.32.57
安装虚拟机
virt-install -n 4241-v4096 --vcpus=4,maxvcpus=8 -l http://192.168.3.200/centos6 --disk /dev/vbd/4241-v4096 -r 4048 --network=BRIDGE,bridge=eth0,mac=00:16:3E:38:04:60 --network=BRIDGE,bridge=eth1,mac=00:16:3E:38:7B:61 -x " ks=http://192.168.3.200/s6 ksdevice=eth0 ip=192.168.4.96 netmask=255.255.255.0 dns=8.8.8.8 gateway=192.168.4.1" --nographics
|
|