12. 重启系统,修改 LILO 配置文件

重启系统。 如果您遇到问题,您可以使用刚刚制作的启动软盘。 要做到这一点,您可能需要修改您的 BIOS 的启动顺序为A:, C.

您应该修改文件/etc/lilo.conf以防您以后想再次运行 LILO。 这是一个文件可能看起来像什么样的例子
boot=/dev/hda                 # Install LILO on first hard
                              # disk.
map=/boot/map                 # Location of "map file".
install=/boot/boot.b          # File to copy to floppy's
                              # boot sector.
prompt                        # Have LILO show "LILO boot:"
                              # prompt.
timeout=50                    # Boot default system after 5
                              # seconds. (Value is in tenths of
                              # seconds.)
image=/boot/vmlinuz           # Location of Linux kernel. The
                              # actual name may include a version
                              # number, for example
                              # "vmlinuz-2.0.35".
    label=linux               # Label for Linux system.
    root=/dev/hda1            # Location of root partition on
                              # new hard disk. Modify this as
                              # appropriate for your system.
    read-only                 # Mount partition read-only at
                              # first, to run fsck.

仅适用于Slackware。 使用 image=/vmlinuz