rebooting with new kernel

i've compiled the new kernel (as i stated in the other thread)...
i must confess that this is my first time... i'm kernel compiling virgin rebooting with new kernel

the max i've done was rpm -Uvh somekernel.rpm

so my question now is:
i add the kernel to the lilo.conf, ok... something like:

default=linux26

image=/boot/vmlinuz-2.4.26
label=linux26
initrd=/boot/initrd-2.4.26
read-only
append="root=LABEL=/"
(i got to create the initrd-2.4.26 removing it from modules.conf, since i didn't understand exactly how it would work without it)

the questions are... let's suppose this kernel is broken and don't even boot...
1) what should i do? maybe first copying old lilo.conf to lilo.conf.backup and requesting DC to login as single-user and copy lilo.conf.backup to lilo.conf, "$lilo -v" and reboot?
(is there a way to automatically make lilo set the default boot to the old one after the first boot?)
2) how are the chances that it corrupts my actual filesystem, making me loose data?

thanks

 

 

 

 

Top