Portál AbcLinuxu, 24. dubna 2024 23:03
/dev/hda1 = linux
/dev/hda4 = swap
V adresáři /etc/lilo.conf:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition
table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# 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
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda2
label = DOS
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends
V adresáři /boot:
celkem 2696
lrwxrwxrwx 1 root root 11 úno 2 22:40 boot.b -> boot-menu.b
-rw-r--r-- 1 root root 7988 bře 9 2002 boot-bmp.b
-rw-r--r-- 1 root root 7964 bře 9 2002 boot-menu.b
-rw-r--r-- 1 root root 226 úno 2 23:06 boot_message.txt
-rw-r--r-- 1 root root 6204 bře 9 2002 boot-text.b
-rw-r--r-- 1 root root 512 úno 2 23:02 boot.0300
lrwxrwxrwx 1 root root 17 úno 2 22:40 config -> config-ide-2.4.18
-rw-r--r-- 1 root root 33409 kvě 31 2002 config-ide-2.4.18
-rw-r--r-- 1 root root 728 bře 9 2002 chain.b
-rw------- 1 root root 18944 úno 28 14:54 map
-rw-r--r-- 1 root root 512 bře 9 2002 mbr.b
-rw-r--r-- 1 root root 656 bře 9 2002 os2_d.b
lrwxrwxrwx 1 root root 21 úno 2 22:40 System.map -> System.map-ide-2.4.18
-rw-r--r-- 1 root root 515922 kvě 31 2002 System.map-ide-2.4.18
-r-------- 1 root root 1061033 úno 2 23:00 vmlinuz
-rw-r--r-- 1 root root 1061033 kvě 31 2002 vmlinuz-ide-2.4.18
Nastavení /etc/liloconf:
#####
#
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
#
#####
boot = /dev/hda
map = /boot/map-bmp
#bitmap = /boot/boot-image/ins64a.bmp
#bmp-colors = 14,11,,15,9,0
#bmp-table = 21,287p,2,4,175p
#bmp-timer = 73,29,12,8,0
bitmap=/boot/boot-image/logo64a.bmp
bmp-colors=6,9,0,15,9,0
bmp-table=59,5,1,18,
bmp-timer=66,28,6,8,0
prompt
timeout = 305
delay = 100
lba32
default = linux
#####
#
#read-only
#mandatory
# password="linux"
#
#####
# message = /boot/boot_message.txt
# compact
# Override dangerous defaults that rewrite the
partition table:
change-rules
reset
#####
#
# VESA framebuffer console @ 1024x768x256
vga = 773
# 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
# End LILO global section
#
#####
#####
#
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends
#
#####
#####
#
# DOS bootable partition config begins
other = /dev/hda2
label = DOS
table = /dev/hda
# DOS bootable partition config ends
#
#####
Pochopitelně jsem adresáři /boot vytvořil nový /boot/boot-image a do něj jsem zkopíroval obrazy:
isn64a.bmp
logo64a.bmp
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.