testing with your own linux kernel is pretty safe, you just need to know a bit of lilo

The whole linux booting involves 2 files(essentially), the kernel file(the zmImage file after the make) and the initrd(initial root disk). As a result, you can configure lilo to have entries to either boot the currently working one, or your newly created one.