also @ TechSpot: Study suggests majority of Windows 8 users ignore Metro apps

Linux kernel installation

Discussion in 'The Alternative OS' started by Mictlantecuhtli, Feb 6, 2004.

  1. me(who else?) Newcomer, in training Posts: 433

  2. Phantasm66 Newcomer, in training Posts: 6,504

    AFAIK, the 2.4 kernel comes with RH9, not the 2.6 kernel. I think RH9 will not boot with a 2.6 kernel without errors, even if the kernel build was fine. If you want a new kernel, you will have to build from 2.4 source.

    If you want to use 2.6 source code to build a 2.6 kernel and boot from that, download Fedora Core 2 and upgrade your RH9 to that.


    However, if you are getting an error loading bzImage, then you have incorrectly install the kernel. Please take us through what you did. And use 2.4 source for RH9. Maybe try again, and if you still get problems post back here with each step you did.

    Installing a new kernel is easy so just let us know the steps you took (post commands if possible.) But if you following everything in that guide, then most like you have a mistake in your grub or lilo config.
  3. me(who else?) Newcomer, in training Posts: 433

    So I should d/l the 2.4 kernel and patch it to 2.6, or is it going to be utterly impossible to do? Oh well, I guess I'll stick with 2.4. I was going to compile ACPI into the kernel for my laptop, I guess I'll see if it's available in 2.4
  4. Phantasm66 Newcomer, in training Posts: 6,504

    If its RH9, I would stick with 2.4.
  5. Mictlantecuhtli TS Special Forces Posts: 4,916   +9

    So you have two partitions of RH9?

    That grub.conf file shows 2.6.8.1 installation being in the second partition, is that correct?

    In addition, having kernel parameter "root=LABEL=/" can cause problems too if you have two Linux partitions with the same name (it'd try to boot from the first one).
  6. Phantasm66 Newcomer, in training Posts: 6,504

    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.
     
  7. Mictlantecuhtli TS Special Forces 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.
  8. me(who else?) Newcomer, in training Posts: 433

    Sorry, I didn't realize that was the partition number, it was set correctly before. I actually only have 1 RH9 partition.
  9. me(who else?) Newcomer, in training 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).
  10. Nodsu Newcomer, in training 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.
  11. Mictlantecuhtli TS Special Forces Posts: 4,916   +9

    Did you compile the kernel with appropriate filesystem and ramdisk support?
  12. me(who else?) Newcomer, in training 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?
  13. Phantasm66 Newcomer, in training Posts: 6,504

    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.
  14. Phantasm66 Newcomer, in training Posts: 6,504

    Here is an example file attached. To use it, you would rename to .config instead of .txt.
  15. me(who else?) Newcomer, in training 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.
  16. Phantasm66 Newcomer, in training Posts: 6,504

    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.
  17. me(who else?) Newcomer, in training 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.
  18. Phantasm66 Newcomer, in training Posts: 6,504

  19. me(who else?) Newcomer, in training 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.
  20. me(who else?) Newcomer, in training 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?