Results 1 to 25 of 25

Thread: Kali Linux ARM on the new Raspberry Pi 3 Model B+ (released March 2018)

  1. #1
    Join Date
    2018-Mar
    Posts
    2

    Kali Linux ARM on the new Raspberry Pi 3 Model B+ (released March 2018)

    I just got the new Raspberry Pi 3 Model B+ (released March 2018) and unable to get Kali to boot. It just displayed the rainbow square and doesn't do anything else.


    My steps:

    * Downloaded the latest image from

    https://images.offensive-security.co...-nexmon.img.xz and verified the sha256 checksum.
    * Formatted my 32GB Sandisk class 10 (microsd) to FAT32 using the formatter from https://www.sdcard.org/
    * I followed the guide at https://docs.kali.org/kali-on-arm/ka...-raspberry-pi2

    Running `diskutil list` on my Macbook show the SD is created:

    /dev/disk2 (external, physical):
    #: TYPE NAME SIZE IDENTIFIER
    0: FDisk_partition_scheme *30.9 GB disk2

    1: Windows_FAT_32 NO NAME 64.0 MB disk2s1
    2: Linux 7.3 GB disk2s2


    I also installed osxfuse/ext4fuse and was able to read-only browse the Linux partition and verify it looks ok.

    I've tried alternative power supplies without luck. I've installed NOOBs on to the SD card and that boots up fine.

    Anyone else got Kali working on the new pi?

  2. #2
    Join Date
    2018-Mar
    Posts
    1

    have you tried replacing the boot files?

    Hello there,

    Yes I Have gotten kali working on the new B+

    You will have to copy over the updated boot files to the boot partition on the SD
    you can get it from the raspberry pi github repo https://github.com/raspberrypi/firmware

    Code:
    # clone the firmware repo from raspberry pi
    
    git clone https://github.com/raspberrypi/firmware
    
    
    # find partition on the card with type Windows_FAT_32 (for you it looks like its disk2s1)
    
    fdisk -l
    
    
    # mount the partition
    
    mkdir /mnt/boot
    mount /dev/disk2s1 /mnt/boot
    
    
    # copy the contents of the boot folder to the mounted boot partition
    
    cp -r firmware/boot/* /mnt/boot/
    
    
    # unmount and cleanup 
    
    unmount /mnt/boot
    rmdir /mnt/boot
    rm -rf firmware
    pop the SD card in the pi and boot it up!

    hope this helps!!


    -deleechious

  3. #3
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445

    Lightbulb Unofficial Kali image for the Raspberry Pi 3 B+

    I have created a new kernel for the B+ and published it together with an unofficial ready-to-install B+ Kali image on this site:

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

    If you are happy with installing an image from an untrusted source then just go for it it. If not, there's a link to the sources and you can build it yourself.

    Hope that helps,
    Re4son

  4. #4
    Join Date
    2018-Mar
    Posts
    2
    Thanks for the replies.

    I downloaded the latest firmware from https://github.com/raspberrypi/firmware and manually copied it to the sd. I am now up and running :-)

    EDIT:
    Did wifi work? I cannot see any wifi devices
    Last edited by maiki; 2018-03-27 at 09:29. Reason: Merge Posts

  5. #5
    Join Date
    2018-Mar
    Posts
    2
    Quote Originally Posted by ruin View Post
    T I am now up and running :-)
    Is your keyboard working? I can't run USB or BT device. I just copied boot folder to FAT partition - booted with 2 fail messages "time sync" and "BT fail" got stuck by login window

  6. #6
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Head over to https://whitedome.com.au/re4son/re4son-kernel/ and install either the "current stable" or "next" kernel.
    That should sort it out.

    The new Raspberry Pi 3 B+ requires updated:

    - bootloader
    - kernel with kernel modules
    - firmware
    - etc.

    essentially a whole new kernel package.

    Copying the firmware folder from Raspbian accross whas pretty nifty, I give you that
    It won't cut it though because now you have inconsistencies between your kernel and the kernel modules - not a good state to be in

    Either install the proper kernel package from the above site over the top, or - if you want to start over - install the image from that site. It comes pre-installed with the new kernel.

    The "current stable" includes nexmon drivers (monitor mode might be a bit wonky on the B+ at the moment), "next" doesn't and is rock solid.

    Hope that helps,
    Re4son

  7. #7
    Join Date
    2018-Mar
    Posts
    2
    Quote Originally Posted by re4son View Post
    Head over to https://whitedome.com.au/re4son/re4son-kernel/ and install either the "current stable" or "next" kernel.
    That should sort it out.

    The new Raspberry Pi 3 B+ requires updated:

    - bootloader
    - kernel with kernel modules
    - firmware
    - etc.

    essentially a whole new kernel package.

    Copying the firmware folder from Raspbian accross whas pretty nifty, I give you that
    It won't cut it though because now you have inconsistencies between your kernel and the kernel modules - not a good state to be in

    Either install the proper kernel package from the above site over the top, or - if you want to start over - install the image from that site. It comes pre-installed with the new kernel.

    The "current stable" includes nexmon drivers (monitor mode might be a bit wonky on the B+ at the moment), "next" doesn't and is rock solid.

    Hope that helps,
    Re4son
    Re4son,

    i've tried your image - it seems everything work (keyboard and BT) but there is a problem with full storage making apt-get update immposible.
    Also tried deleechious method - i can't mount my partition to folder so i just copied firmware :/ and as i said - it works but without BT and keyboard

    So in the end a had working Kali with no update or Kali without keyboard or even wifi.

    Finally i combined two - copied boot folder to boot partition - plain & simple, after via SSH updated and then i used your kernel
    wget -O re4son-kernel_current.tar.xz https://whitedome.com.au/re4son/downloads/11299/
    tar
    -xJf re4son-kernel_current.tar.xzcd re4son-kernel_4*
    ./install.sh
    Kali works - BT WIFI Keyboard.

    Just waiting for official image release

  8. #8
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Last edited by re4son; 2018-03-28 at 06:54. Reason: Add kalipi-config

  9. #9
    Join Date
    2018-Apr
    Posts
    5
    Hello,

    I have managed to get as far as the login screen however i am unable to use my USB mouse/keyboard. Can you help?

    Regards

    Jake

  10. #10
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Which image are you using?

  11. #11
    Join Date
    2018-Apr
    Posts
    5
    Quote Originally Posted by re4son View Post
    Which image are you using?
    i am using the official kali linux Image with the updated files manually copied over onto the SD. I have not tried your one yet but i may do until Kali catch up with Raspi

    Jake

  12. #12
    Join Date
    2018-Apr
    Posts
    5
    Am now going to attempt to use the re4son image. i am stuck on installing the files as per the instructions on the website. I am using mac os with terminal

  13. #13
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Just download this image:

    https://whitedome.com.au/re4son/down...3bplus-re4son/

    untar it with

    Code:
    tar -xJf kali-linux-2018.1a-rpi3b+-re4son.img.xz
    and write it to your sd card via:

    Code:
    sudo dd if=./kali-linux-2018.1a-rpi3b+-re4son.img of=/dev/rdiskn bs=32M status=progress;sync
    where "rdiskn" is your sdcard. Better check with the man pages through, I've never used a Mac.

    Hope that helps,
    Re4son

  14. #14
    Join Date
    2018-Apr
    Posts
    5
    Thank you very much! i will let you know how the installation goes

    Jake

  15. #15
    Join Date
    2018-Apr
    Posts
    5
    All working perfectly!!
    Thank you so much

    Jake

  16. #16
    Join Date
    2018-Apr
    Posts
    1
    Thank you very much! Works great!

    Quote Originally Posted by re4son View Post
    Just download this image:

    https://whitedome.com.au/re4son/down...3bplus-re4son/

    untar it with

    Code:
    tar -xJf kali-linux-2018.1a-rpi3b+-re4son.img.xz
    and write it to your sd card via:

    Code:
    sudo dd if=./kali-linux-2018.1a-rpi3b+-re4son.img of=/dev/rdiskn bs=32M status=progress;sync
    where "rdiskn" is your sdcard. Better check with the man pages through, I've never used a Mac.

    Hope that helps,
    Re4son

  17. #17
    Join Date
    2013-May
    Posts
    7
    Just received my 3b+ today and yeah the official image wouldn't boot. So I used the re4son version found in the links posted here. It boots. Next step is to expand the storage to use all of the 32 GB SD card. Apparently it's only using a little over 7 GB with 500 MB free. There's a section on that site the image came from about expanding the storage using fdisk. Didn't work and it's saying no recognized partition table. Suppose I'll put the card back in my laptop and try to get it expanded from there.

  18. #18
    ok i installed re4son's image, it booted up just fine but after the update and all that it black screened. after unplugging and replugging the device, the screen keeps resetting every second. it displays a list of errors but i cant read them cause it keeps resetting. i dont understand whats going on

  19. #19
    Join Date
    2018-Apr
    Posts
    3
    I managed to get the re4son image installed, but after working ok'ish for a little while, it has continually failed in one or more areas. I posted a few threads regarding support, but despite each of them being informative genuine requests for help, neither of them were approved so alas, I am without support. I will keep an eye here for updates though.

  20. #20
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Hi hawaiizfynest,

    are you using a tft screen or is it a normal hdmi monitor that plays up on you?

    Many thanks,
    Re4son

  21. #21
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Hi themusicman,

    why don't you post your issues in my forum and we can have a look at it?:

    https://re4son-kernel.com/forum

  22. #22
    Join Date
    2018-Apr
    Posts
    3
    Now thisw certainly seems like a welcoming, helpful and inviting way to get support. I shall register now! May not post until later as I am heading off out for a few hours, but I certainly will. many thanks.
    Quote Originally Posted by re4son View Post
    Hi themusicman,

    why don't you post your issues in my forum and we can have a look at it?:

    https://re4son-kernel.com/forum

  23. #23
    Quote Originally Posted by re4son View Post
    Hi hawaiizfynest,

    are you using a tft screen or is it a normal hdmi monitor that plays up on you?

    Many thanks,
    Re4son
    this is HDMI, sorry it took me so long to respond. for some reason i dont get notifications to my email although the option is ticked on this site. i too will go to your forum to register, thanks!

  24. #24
    Quote Originally Posted by re4son View Post
    Hi hawaiizfynest,

    are you using a tft screen or is it a normal hdmi monitor that plays up on you?

    Many thanks,
    Re4son
    ok i got it installed and working. expanded the fs, changed ssh keys and login pass, autoboot enabled but when i login there is almost no tools. lol imma just install em 1 by 1 but after ur done with what ur workin on, you should make a full tools image for us. thanks for your hard work!

  25. #25
    Join Date
    2018-Oct
    Posts
    1

    Lightbulb Install Kali tools post install

    Quote Originally Posted by hawaiizfynest View Post
    ok i got it installed and working. expanded the fs, changed ssh keys and login pass, autoboot enabled but when i login there is almost no tools. lol imma just install em 1 by 1 but after ur done with what ur workin on, you should make a full tools image for us. thanks for your hard work!
    dude all you have to do if you want to install all the kali tools in one go is run

    Code:
    apt-get install kali-linux-full
    ( 15 gig you will need)

    or you can just install the top 10 tools by running
    Code:
    kali-linux-top-10

Similar Threads

  1. Replies: 6
    Last Post: 2020-11-16, 02:24
  2. Installing Kali Linux on a Raspberry Pi 3 Model B +
    By KaliTut in forum Installing Archive
    Replies: 0
    Last Post: 2019-07-28, 14:26
  3. Replies: 8
    Last Post: 2018-09-18, 07:44
  4. Kali Linux and Raspberry 3 Model B do not work together
    By l3avemehere in forum ARM Archive
    Replies: 0
    Last Post: 2017-02-20, 08:16
  5. Not able to boot Kali linux on Raspberry Pi model B
    By Tarakesh in forum Installing Archive
    Replies: 0
    Last Post: 2015-02-16, 11:53

Posting Permissions

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