|
以下为/etc/lilo.conf文件内容
append=" vt.default_utf8=1"
boot = /dev/sda
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
prompt
timeout = 1200
change-rules
reset
vga = 773
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda9
label = Linux
read-only
# Linux bootable partition config ends
安装slackware13时候安装lilo的默认配置,结果起来后默认引导XP
google一下,说的lilo的配置文件跟我的不太一样,我的找不到default选项,可能不是slackware13的版本。
于是我把两个#之间内容换了个顺序,即
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda9
label = Linux
read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
然后运行/sbin/lilo -v
成功实现默认引导linux |
|