The Linux Bootdisk HOWTO 中译版(22) cp /boot/boot.b /mnt/boot 最後,随附你的 kernel , copy 你在上一节所编写的 LILO 组态档。它们两者可以被放在根目录下。 cp bdlilo.conf KERNEL /mnt LILO 所需的每一项现在都在 kernel filesystem上,所以你已准备好去执行它。 LILO 的 -r 旗号(flag)被用作安装 boot loader 在某个其它的 root 上: lilo -v -C bdlilo.conf -r /mnt LILO 应该可以在无错的情况下执行,在此之後,你可以看看你的 kernel filesystem ,应该长得像这样: -------------------------------------------------------------------------------- total 361 1 -rw-r--r-- 1 root root 176 Jan 10 07:22 bdlilo.conf 1 drwxr-xr-x 2 root root 1024 Jan 10 07:23 boot/ 1 drwxr-xr-x 2 root root 1024 Jan 10 07:22 dev/ 358 -rw-r--r-- 1 root root 362707 Jan 10 07:23 vmlinuz boot: total 8 4 -rw-r--r-- 1 root root 3708 Jan 10 07:22 boot.b 4 -rw------- 1 root root 3584 Jan 10 07:23 map dev: total 0 0 brw-r----- 1 root root 2, 0 Jan 10 07:22 fd0