 
- UID
- 852665
|
许多Linux爱好者都希望能够在保留Windows9x作系统的同时,安装Linux。为了能够在多个作系统的自动选择,就需要一个启动管理器,Linux带了一个很好的启动管理器---lilo。 所以在安装多个作系统时,你只需先安装其它作系统,最后安装Linux,并将lilo安装在主引导扇上,这样重新启动系统时,将出现lilo:等待你选择你要启动的作系统。
如何配置linux启动管理器lilo?
根据需要修改/etc/lilo.conf文件,然后执行/sbin/lilo让设置生效。下面是一个lilo.conf文件的示例:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
image=/boot/vmlinuz-2.2.5-15
label=linux
root=/dev/hda1
initrd=/boot/initrd-2.2.5-15.img
read-only
other=/dev/hda2
label=windows
其中,timeout是用来设置lilo等待输入的时间,在此表示如果5秒不选择的话就进入default;
default选项用来指定默认启动哪个系统;
image小节用来指定linux的启动信息,包括启动位置,名字--linux;
other小节用来指定其他作系统的启动信息,包括启动位置、名字。 |
|