Quote:
The lilo.conf file has places for:
image
root
label
|
Maybe Slackware does not use an initrd - I've never used Slackware and I'm not familiar anymore with lilo and how to tell it to use one - it surely is possible.
grub's configuration has a similar structure:
first come:
default --> the section/kernel you want to boot by default
timeout --> in seconds, before the default is booted
optionally:
splashimage --> a background-image for the menu
root --> the partition where grub's files are. This is where the /boot directory is - in grub's notation:
it starts to count from 0 for harddisk/partition
(hd0,1) for example means: first harddisk,second partition
next come as many
sections as you need,each consisting of:
title --> the name you want to see in the menu
kernel --> the name of the file which is your kernel (often just vmlinuz - or your own name
followed, on the same line, by the options the kernel needs to know - such as where the filesystems / will be found and more
possibly a
third line - if you use an
initrd
Example of grub.conf, the sections separated by empty lines:
Code:
default 0
timeout 2
splashimage=(hd0,0)/grub/splash.xpm.gz
root (hd0,0)
# my default - and currently only - kernel installed here
title=Gentoo-2.6.31
kernel /vmlinuz-2.6.31-gentoo root=/dev/hda3 video=radeonfb:vesa:1024x768-16@60
# only this is strictly necessary to boot the same kernel
title=Gentoo-2.6.31-plain
kernel /vmlinuz-2.6.31-gentoo root=/dev/hda3
# an older entry I kept to remind me of the syntax
#title=Gentoo-vesafb
#kernel /kernel-2.6.14-gentoo-r5 root=/dev/hda5 video=vesafb:ywrap,pmipal
# another old entry I kept to remind me of the syntax for initrd for the splash
#title=Gentoo with FB
#kernel /vmlinuz root=/dev/hda5 video=uvesafb:ywrap,pmipal,1024x768-16@60,mtrr:3 splash=verbose,fadein,theme:emergence quiet CONSOLE=/dev/tty1
#initrd /boot/fbsplash-emergence-1024x768
# windows, which I don't have anymore - just kept the lines
#title=Windows XP
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
HTH