Results 1 to 2 of 2

Thread: Updating kali to 1.0.6 on BBB

  1. #1
    Join Date
    2013-Jun
    Posts
    4

    Question Updating kali to 1.0.6 on BBB

    Completed the usual


    apt-get update
    agt-get dist-upgrade
    aptitude safe-upgrade

    Reboot -> still on 3.8 kernel

    Linux kali 3.8.13-bone26.1 #1 SMP Wed Aug 28 17:48:51 CDT 2013 armv7l GNU/Linu

    Currently working the theory that /boot/zImage needs regeneration (ARM Kernel image file); which the apt proccesses above are not doing.

    Thoughts?

  2. #2
    Join Date
    2014-Feb
    Posts
    299
    The BBB image uses a 3.8 kernel. At the time of the 1.0.6 release, the 3.12 kernel still had a few different issues, so it was decided to stick with 3.8.

    If you would like to try a newer kernel, you can do the following:

    Code:
    cd ~
    mkdir arm-stuff
    cd arm-stuff
    git clone https://github.com/offensive-security/kali-arm-build-scripts
    cd kali-arm-build-scripts
    ./build-deps.sh
    This installs things that are required to cross compile and build a Kali image for ARM machines.

    Since you want to try a newer kernel, you'll need to edit the bbb.sh file so

    Code:
    $EDITOR bbb.sh
    To determine which kernel you want to try, you'll need to look at what kernels are available based on the tree that we use, which is located at

    HTML Code:
    https://github.com/RobertCNelson/linux-dev
    Then you would change line 170 in the bbb.sh script, changing the option to -b to the branch you want to test. So if you wanted to try out the 3.12 kernel, you would change it from am33x-v3.8 to am33x-v3.12

    If you don't want it to compress and build sha1sums, then you can go to the bottom of the file, and comment out lines 242-247.

    Save the file, and then run

    Code:
    ./bbb.sh 1.0.6a
    Depending on the speed of your computer and internet connection, this will take a while, so go read up on the beaglebone black, ARM stuff in general, have a coffee, shower, book your flight to blackhat/defcon+hotel, work out, maybe head to sleep.

    Once the script is finished, the image will exist in /root/arm-stuff/kali-arm-build-scripts/beaglebone-black-1.0.6a

Similar Threads

  1. Error updating Kali 2.0
    By thiagomespb in forum Installing Archive
    Replies: 0
    Last Post: 2015-08-15, 18:28
  2. Kali not updating now
    By hack-microbe in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-09-01, 16:01

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
  •