Linux kernel installation

Status
Not open for further replies.
He may simply have the grub config wrong, and be pointing at the wrong partition.

My dedicated Linux box is currently running 2.6.8.1. I downloaded the source code from www.kernel.org and built it.
 
I'd recommend testing these boot settings from GRUB's own command line. It tells right away if partition type isn't correct or kernel image not found. You can get to "edit" mode by pressing 'e' when selecting the boot kernel.
 
Sorry, I didn't realize that was the partition number, it was set correctly before. I actually only have 1 RH9 partition.
 
I changed the partition number, but now I get in the boot a little whiles before I get a series of errors about RAMDISKS and bad blocks (which doesn't happen under 2.4).
 
RH9 will need a huge amount of tweaking to get 2.6 kernel running on it. As you can see from this thread it is pretty tricky to do it even in FC1.
 
Originally posted by me(who else?)
I changed the partition number, but now I get in the boot a little whiles before I get a series of errors about RAMDISKS and bad blocks (which doesn't happen under 2.4).
Did you compile the kernel with appropriate filesystem and ramdisk support?
 
I honestly don't know, I'll make sure I compile them in tonight when I retry it.

edit: How do I identify what ramdisk support I need to add? I know my partition is ext3, but it would probably be safer to add ext2 as well, wouldn't it?
 
you should try to load in a config file from the samples given in the kernel source code included with the OS (under /usr/src/kernelname/configs/) when you run make xconfig. it will have a proper selection configuration already there, which can be used to build a kernel that will do everything need it to.
 
Thanks Phant! I didn't even think of using the old config file!:blackeye: Hopefully that will fix a couple of my problems.
 
You could always tweak the file as well a little, here and there. You should also save your config before compiling, so if it works well you can build from it again.
 
I tried just that and lo and behold, it works! I don't have any WLAN support though, so I'm compiling that in right now.
 
Mouse works now, and the 2.6 kernel is noticably more responsive!:grinthumb However, it's giving me errors upon booting about iptables not working. I've installed the latest version, but still no dice. Any thoughts?
 
Status
Not open for further replies.
Back