Next Previous Contents

9. 其它

9.1 参考资料

9.2 感谢

9.3 回馈

任何意见都很欢迎.

9.4 译注: 以 NT Loader 启动 FreeBSD

因译者的电脑中除了 Windows NT 4.0 及 Linux 之外,还装了 FreeBSD 2.2,於是就仿照上面的做法试试 NT Loader 有没有办法启动 FreeBSD. 我的 FreeBSD 装在 /dev/sda2, 也就是 FreeBSD 的 /dev/sd0s2. 按照上面的做法我先将 /dev/sda2 的 boot sector 存成一档案:

# dd if=/dev/sda2 of=/bootsect.bsd bs=512 count=1

并将它拷贝到 C:\ 下.再於 boot.ini 中加入

C:\BOOTSECT.BSD="FreeBSD"

不料这个方法竟然失败了,无法启动 FreeBSD!

一方面觉得失望,一方面又不死心.忽然想到,lilo 也可以拿来启动 FreeBSD. 於是,又做了下面的实验,进入 Linux 後,将 /etc/lilo.conf 改为:

boot = /dev/fd0
install = /boot/boot.b
vga = normal

other = /dev/sda2
      label = FreeBSD
      table = /dev/sda
      loader = /dev/os2_d.b

放入一格式化过的磁片,再跑 lilo -v.然後将磁片的启动磁区变成一档案:

# dd if=/dev/fd0 of=/bootsect.bsd bs=512 count=1

并放到 C:\ 下.移去磁片後重新开机,在 NT Loader 的选单下选择 FreeBSD,接著就看到:

  LILO loading FreeBSD
  >> FreeBSD BOOT @ 0x10000: 639/65536 k of memory
  Usage: [[0:][fd](0,a)]/kernel][-abcCdhrsv]
  Use 1:sd(0,a)/kernel to boot sd0 if it is BIOS drive 1
  Use ? for file list or press Enter for defaults
  Boot:

成功了!!


Next Previous Contents