生成和执行 Singularity RDK

整理自  Building and Running Singularity RDK 1.1.pdf。

版本:
2008-10-08 [001]: 初稿。

1. 系统需求

2. 准备工作

2.1. 创建桌面快捷方式和 Singularity 生成环境

执行 RDK 的根目录下的 configure.cmd 文件可以在桌面上创建一个快捷方式。这个快捷方式将进入用于生成 Singularity 的命令提示行。它包含所有的环境变量等配置。

2.2. 配置

配置 Loopback 连接主要用于网络引导 Singularity。

  1. 使用添加新硬件安装 Microsoft Loopback Network Adapter (Microsoft 环回适配器)。
  2. 配置环回连接的 IPv4 地址:10.99.99.1。子网掩码:255.255.255.0。默认网关、DNS 服务器保持空白。

3. 生成 Singularity

使用 MSBuild 生成 Singularity:

msb Distro\Tiny.proj
  • Tiny – Kernel, volume manager, shell.
  • Small – “Tiny” plus network stack, disk drivers
  • BVT – verification suite
  • SPECweb99 – SPECweb99 suite and benchmarks
  • World – Everything

清理生成:

msb /t:Clean Distro\Tiny.proj

生成 World 大约需要数小时。生成的结果位于 \base.obj。生成日志:\base.obj\MSBuildLogs。

4. 执行 Singularity

4.1. 在 Virtual PC 中执行 Singularity

   1: copy boot\pxe.vmc mypc.vmc
   2: boottest.cmd [/net] mypc.vmc    // /net 开启 Virtual PC 网络启动

如果你看到这样的画面(图 4.1-1),那么恭喜你,一个最前卫的操作系统出现在你的面前。

图 2.2.2-1

图 4.1-1

4.2. 在另一台 PC 上执行 Singularity

4.2.1. 系统需求

  • Pentium II 或更先进的处理器
  • 512MB 或更多的内存

4.2.2. 从网络启动

待补充...

4.2.3. 从 CD-Rom 启动

待补充...

posted on 2008-10-08 13:40  Fisher.W  阅读(434)  评论(0)    收藏  举报