I finally got brave enough to compile my first kernel (2.6.16.27 - source from kernel.org). I followed Alien's kernel compile guide at
http://alien.slackbook.org/dokuwiki/...kernelbuilding with a couple of deviations (I didn't use wget to dl the source and .config)
Using xconfig, I took my time and was very careful in configuring the new kernel. It took long enough that I had to save my progress a couple of times and come back to it later, so when I was finally done I had several *.config files. I deleted all but the most recent (2.6.16.27.config), and the one that was simply ".config". After compiling and installing the new kernel, I got a kernel panic. I noted the error (could not mount root file system), and rebooted with the old kernel, and got the same error! after a bunch of reading and googling I think the problem with the old kernel is I didn't change the "image" in lilo.conf to "vmlinuz.old". Which if I understand correctly means that both options in lilo are actually trying to boot from the
new kernel.
I booted up with Slax, intending to edit lilo.conf, and get it so I could at least boot from the old kernel, but after editing lilo.conf, and running lilo I get:
Code:
root@slax:/mnt/disc0part3/etc# lilo
Fatal: creat /boot/map~: Read-only file system
I'm logged in as root, but I can't figure out how to re-run lilo.
If any one can tell me how to restore my old kernel I'd really appreciate it. Once that's done, I assume I just need to make sure I have my root file system compiled into my kernel (thought I did, but apparently not).
If I'm missing anything else, or if you need any other info please let me know.
Anyway thanks for the help.