I tried to compile my own kernel, because I was rather bored and felt like config my own kernel to suit my hardware. (I also needed the latest kernel source to build my hotkeys program for my wifi card) So, I got the latest source code, menuconfig worked and I left out the options which I knew I definately didn't need. So after that, I did make, and then make modules_install and both worked fine.
Got my new kernel in the arch/i386 directory and popped it into /boot. Then I continued to /etc/lilo.conf and cloned my current kernel option, but changed the kernel and label to my new one (preserved my old kernel).
Then I run lilo, installs the new options and reboot. On choosing my new kernel, it continues to load until I get a 'kernel panic- not syncing: No init found. Try passing init=option to kernel' error.
Here's my current lilo.conf file aswell.
The initrd-2.6.12-12mdk.img bit was actually initrd.img but I tried changing it to that still didn't work.
Know where I went wrong? Should I just use a default rpm kernel?
Got my new kernel in the arch/i386 directory and popped it into /boot. Then I continued to /etc/lilo.conf and cloned my current kernel option, but changed the kernel and label to my new one (preserved my old kernel).
Then I run lilo, installs the new options and reboot. On choosing my new kernel, it continues to load until I get a 'kernel panic- not syncing: No init found. Try passing init=option to kernel' error.
Here's my current lilo.conf file aswell.
Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/uk.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz
label="linux"
root=/dev/hda8
initrd=/boot/initrd.img
append="noapic splash=silent"
vga=788
image=/boot/vmlinuz-test
label="lintest"
root=/dev/hda8
initrd=/boot/initrd-2.6.12-12mdk.img
append="init=/boot/initrd.img noapic splash=silent"
vga=788
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda8
initrd=/boot/initrd.img
append=" noapic"
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda8
initrd=/boot/initrd.img
append="failsafe"
other=/dev/hda2
label="windows"
table=/dev/hda
The initrd-2.6.12-12mdk.img bit was actually initrd.img but I tried changing it to that still didn't work.
Know where I went wrong? Should I just use a default rpm kernel?