TechSpot

Linux kernel installation

By Mictlantecuhtli
Feb 6, 2004
Topic Status:
Not open for further replies.
  1. Phantasm66

    Phantasm66 TS Rookie Posts: 6,504   +6

    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.
  2. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Topic Starter Posts: 4,916   +9

    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.
  3. me(who else?)

    me(who else?) TS Rookie Posts: 433

    Sorry, I didn't realize that was the partition number, it was set correctly before. I actually only have 1 RH9 partition.
  4. me(who else?)

    me(who else?) TS Rookie Posts: 433

    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).
  5. Nodsu

    Nodsu TS Rookie Posts: 9,431

    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.
  6. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Topic Starter Posts: 4,916   +9

    Did you compile the kernel with appropriate filesystem and ramdisk support?
  7. me(who else?)

    me(who else?) TS Rookie Posts: 433

    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?
  8. Phantasm66

    Phantasm66 TS Rookie Posts: 6,504   +6

    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.
  9. Phantasm66

    Phantasm66 TS Rookie Posts: 6,504   +6

    Here is an example file attached. To use it, you would rename to .config instead of .txt.
  10. me(who else?)

    me(who else?) TS Rookie Posts: 433

    Thanks Phant! I didn't even think of using the old config file!:blackeye: Hopefully that will fix a couple of my problems.
  11. Phantasm66

    Phantasm66 TS Rookie Posts: 6,504   +6

    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.
     
  12. me(who else?)

    me(who else?) TS Rookie Posts: 433

    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.
  13. Phantasm66

    Phantasm66 TS Rookie Posts: 6,504   +6

  14. me(who else?)

    me(who else?) TS Rookie Posts: 433

    To soon to celebrate yet! My mouse is gone now, and I still can't get WLAN, but it can't be THAT hard to fix.
  15. me(who else?)

    me(who else?) TS Rookie Posts: 433

    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?
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.