|

楼主 |
发表于 2004-6-28 22:15:07
|
显示全部楼层
修改/etc/lilo.conf
只是先修改,不要执行lilo,也不要重启
参考我的这段:
- # LILO configuration file
- # generated by 'liloconfig'
- #
- # Start LILO global section
- boot = /dev/hda
- #compact # faster, but won't work on all systems.
- prompt
- timeout = 300
- # VESA framebuffer console @ 1024x768x64k
- vga = 791
- # Normal VGA console
- # vga = normal
- # VESA framebuffer console @ 1024x768x64k
- # vga=791
- # VESA framebuffer console @ 1024x768x32k
- # vga=790
- # VESA framebuffer console @ 1024x768x256
- # vga=773
- # VESA framebuffer console @ 800x600x64k
- # vga=788
- # VESA framebuffer console @ 800x600x32k
- # vga=787
- # VESA framebuffer console @ 800x600x256
- # vga=771
- # VESA framebuffer console @ 640x480x64k
- # vga=785
- # VESA framebuffer console @ 640x480x32k
- # vga=784
- # VESA framebuffer console @ 640x480x256
- # vga=769
- # ramdisk = 0 # paranoia setting
- # End LILO global section
- # Linux bootable partition config begins
- image = /boot/kernel-2.6.7 <---在这里添加新内核选项
- root = /dev/hda11
- label = Slackware-2.6
- read-only
- append="video=vesafb:ywrap,mtrr" <---vesa
- initrd=/boot/initrd-1024x768 <----initrd-1024x768稍后会提到如何制作。
- image = /boot/vmlinuz
- root = /dev/hda11
- label = Slackware
- read-only # Non-UMSDOS filesystems should be mounted read-only for checking
- # Linux bootable partition config ends
- # Windows bootable partition config begins
- other = /dev/hda1
- label = Windows
- table = /dev/hda
- # Windows bootable partition config ends
复制代码 |
|