Find the answer to your Linux question:
Results 1 to 2 of 2
Once I compile my new kernel how do I get the image into grub so it loads on the next reboot? Thanks does file:/usr/src/linux-2.6.8.1/arch/i386/boot/bzImage need to go somewhere? Also - ...
  1. #1
    Just Joined! nyblueguy's Avatar
    Join Date
    May 2006
    Posts
    48

    kernel 2.6.8.1 image - Grub

    Once I compile my new kernel how do I get the image into grub so it loads on the next reboot? Thanks

    does file:/usr/src/linux-2.6.8.1/arch/i386/boot/bzImage need to go somewhere?

    Also - How do I get "initrd /boot/initrd.img-2.4.27-2-386"

    this same file and line on the menu.lst file in grub?

    Thanks,

  2. #2
    Just Joined!
    Join Date
    Jan 2006
    Location
    Illinois
    Posts
    48
    After you compile a new kernel (with make-kpkg) I assume, you will need to install it (if using make-kpkg, this is just using dpkg on the new .deb generated). After that, run as root:
    Code:
    mkinitrd -o /boot/initrd.img-2.6.8.1 2.6.8.1
    where 2.6.8.1 can be replaced with whatever the version string of your new kernel is (replace it in both places in that command).

    Then do
    Code:
    update-grub
    as root and if all went well, that initrd line will appear in your menu.lst file automatically.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •