PDA

View Full Version : Unable to boot Kali on Raspberry PI 3b+ from USB.



xflyboy
2018-09-20, 13:53
Hello.
Trying to boot KALI 2018.3 from USB SanDisk Extreme USB 3.0 16Gb.
Its stuck on boot, keys works but can not do any input. only ctrl-alt-supr. No ctrl-alt-f1-f7

What i tried: Did Update/Upgrade using SD card and copied the bootcode.bin to USB - no good.
Installed Re4son-Kernel NEXT on SD, copied bootcode.bin to USB - no good.

Raspbian Version:June 2018 Release date:2018-06-27 - works OK from USB.
KALI 2018.3 Works OK from USB to SATA adapter from SDD.

3152

Now downloading 2018.2 re4son unoficial. 2018.3a and 2018.3 weekly to test. will report.

xflyboy
2018-09-20, 14:42
kali-linux-light-2018-W38-armhf.img.xz from http://cdimage.kali.org didn't boot up at all.
I guess that kali-linux-light-2018.2-armhf.img.xz and kali-linux-light-2018.3a-armhf.img.xz will not work either.
Testing re4son kali-linux-2018.2-rpi3-re4son.img.xz - Same issue as above. Boots but stuck at "random: crng init done" message.

Well i guess it's related to the USB stick.

Will post more info if i'll find.

xflyboy
2018-09-21, 00:08
Looked for "stuck at "random: crng init done"" and it seems that it's Kernel bug. Was not able to find easy noob solution. Installed rng-tools and haveged on SD, cloned to USB and still no good.
There is a mention that RNG needs to start very early at the boot sequence. Don't know how to do that.

steev
2018-09-24, 04:34
Was /boot/cmdline.txt modified to point to /dev/sda2 for rootfs?

Will likely also need to modify the /etc/fstab file as well to point to the correct partitions when using usb.

And re: kali-linux-light-2018-W38-armhf.img.xz - those don't include kernels so you'd have to add them in yourself.

The most probable issue is simply not pointing it to the correct partition, since we include "rootwait" as an option, so it waits for the root device that is specified to become available.

xflyboy
2018-09-26, 22:08
Partial solution found following this guide (https://www.maketecheasier.com/boot-up-raspberry-pi-3-external-hard-disk/):
Sadly still need SD to be able boot from USB.

Added rootdelay=5 still not good.



"One thing to note is that the microSD card needs to be in its slot, as the Pi needs to read the startup file from it before it boots up from the external hard drive."

steev
2018-10-17, 18:43
Did you blow the fuse for usb boot already? https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md