免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7773 | 回复: 4
打印 上一主题 下一主题

[FreeBSD] FreeBSD Xen 3.0 配置指南(zt) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-24 14:53 |只看该作者 |倒序浏览
原文转自http://www.horuslee.com/2006/03/freebsd_xen_30.html
FreeBSD Xen 3.0 配置指南

这个是从一个老外的站点上弄来的,希望能对想在FreeBSD下使用Xen 3.0的朋友起到点帮助。
This file is extremely dated at this point.

One should be able to build by running the setup script and then running the build
script on a machine running freebsd.

Also be aware that I have done nothing to fix bugs here in over 8 months. Currently
my efforts are going towards getting FreeBSD -CURRENT up and running on xen 3.0.

- Kip Macy 05.12.25
FreeBSD HOWTO

This assumes that you are running Xen 2.0 testing

Running the current image:
1) download kernel, mdroot-5.3-small.gz, freebsd.sample, and xenargs.sample
2) uncompress the kernel and mdroot (the mdroot requires 406MB uncompressed)
3) export the mdroot as a loopback device:
> /sbin/losetup /dev/loopa /var/mdroot
(This may not work if you have an older losetup - FC2 is known to work)
4) localize the freebsd.sample to your environment
5) run the xenargs.sample script
6) There is no root password
-- If you have problems you can boot into single user mode (look at the options in
freebsd.sample) and edit /etc/rc.conf to reflect your environment

Building the current image:
1) on a machine running FreeBSD 5.3 download i386-xeno.tgz
# cd /sys
# tar xzf ~/i386-xeno.tgz
# cd conf
(assumes csh)
# foreach file ( ../i386-xeno/sys/conf/*.i386-xeno )
foreach? ln -s $file
# cd ../i386-xeno/conf/
----- # create compile directory -------
# config XENCONF
Kernel build directory is ../compile/XENCONF
Don't forget to do a ``make depend''
# cd ../../include/
----- # link in xen interface headers -------
# ln -s /t/niners/users/xen/xen-2.0-testing.bk/xen/include/public hypervisor-ifs
# cd ../compile/XENCONF
# make kernel-depend
----- # build kernel -------
# make -j4 kernel
<...>
linking kernel.debug
text data bss dec hex filename
2057881 135964 179472 2373317 2436c5 kernel.debug
objcopy --strip-debug kernel.debug kernel

论坛徽章:
0
2 [报告]
发表于 2006-07-25 20:46 |只看该作者
内核编译?

论坛徽章:
0
3 [报告]
发表于 2006-10-31 17:16 |只看该作者
看完还是不太懂,有没人试过

论坛徽章:
0
4 [报告]
发表于 2006-11-15 14:18 |只看该作者
LnBSD请多说一点,我很很很很很很很很很有兴趣在BSD做一些XEN的小改进。

论坛徽章:
0
5 [报告]
发表于 2007-06-01 20:05 |只看该作者
有谁在CentOS5上用xen安装上freebsd的么,有的话请给个介绍
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP