Results 1 to 3 of 3

Thread: Raspberry Pi 2: How to upgrade kernel?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Raspberry Pi 2: How to upgrade kernel?

    I installed kali-2.1.2-rpi2.img on an SD card to try out on my Raspberry Pi. It works OK, but I need to compile a driver for my wifi card. For that I need kernel headers. And the kernel headers for the kernel that came pre-installed, 4.1.19-v7, don't seem to be available.

    So I did what I usually do, install a new linux-image. I installed linux-image-4.9.0-kali3-armmp. (Version number is shown as 4.9.13-1kali3). I can see that that's what's in /boot. But when I reboot, it just comes back as 4.1.19-v7. Is there something else I need to do to upgrade the kernel?

    Perhaps I need to install a new kernel.img on the boot partition, but I can't find clear instructions on doing that. Other distributions I've used on the Raspberry Pi haven't needed anything except apt-get.

  2. #2
    Junior Member
    Join Date
    Dec 2016
    Posts
    9
    Good question, I'd like know the answer too.

  3. #3
    Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    61
    The kernel has to be purpose build for the Raspberry Pi. A stock arm build won't do.
    Why don't you use my kernel?

    https://whitedome.com.au/re4son/re4son-kernel/

    That's based on the latest Raspberry Pi source with some Kali tweaks.

    Happy hacking,
    Re4son
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

Tags for this Thread

Posting Permissions

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