lilo.conf quick question
Im installing a new kernel and I need to know how to add this new kernel to the lilo.conf ifle. It is kernel version 2.6.7... this is my current config, how would I add the new kernel to it? (P.S. I am a total NewB so any general tips would be usefull too:P) Like, what is the map file? What are initrd files and when would I use them? (Do I need to make one for the new kernel?)
How did you install the new kernel. The stanza
The image= line contains the name of the kernel to boot. The initrd= line refers to the ram-disk file which corresponds to the same kernel.
However if this isn't the case, this should work.
initrd=/<name of new initrd>.img
Re: lilo.conf quick question
Ok, let's take this one step at a time:
boot=place where lilo is installed (/dev/hda=beginning of 1st harddrive)
root=place where the operating system files are
map=used for kernel debugging purposes
message=message printed when booting?(not required)
delay, timeout=number of (mili?)seconds before automatically booting
vga=video setting(usually not required)
default=label of the OS to automatically boot after timeout
image=the kernel to boot (if /vmlinuz, then it is probably a symbolic link to the real kernel)
label=the display name at bootup
read-only=mount the root as non-writtable
initrd=this points to a "root image". this root image is mounted before your Real root filesystem. (this is used incase your Real root is somehow damaged)
So you probably want an entry something like this:
After you make the changes, you'll have to run lilo again.
|All times are GMT -5. The time now is 08:05 PM.|