RBP 3+ Stuck at rainbow screen after LUKS encryption












0















I'm trying to create a raspberry pi with kali linux that is encrypted with a key that is located on a USB device, so it doesn't boot without the USB device plugged in. I followed this guide: https://warroom.rsmus.com/encrypted-leave-behind/



However, after two full days of attempting it, I keep ending up with the same issue. After I'm done with encrypting etc and I try to boot the raspberry pi, all I get is the rainbow screen (also turned that off to see any error messages etc but nothing) and then nothing happens. I suspect it's not loading the kernel or something. I'm really out of ideas on what the issue could be.



UPDATE 1: Did some more debugging and when I remove the following line from the /boot/config.txt file, it does boot a bit further and tries to start up, it then stop @ crng init done.




initramfs initramfs.gz 0x00f00000



UPDATE 2: Did some more debugging, after changing the line in /boot/config.txt to the following, it started decrypting and booted completely. However I did get some [FAILED][DEFEND][DEFEND] errors during boot that were directed at the USB with the keyfile on it. However, it still completely booted.




initramfs initramfs.gz followkernel










share|improve this question

























  • Updated main post with some more info.

    – Nerotix
    Jan 16 at 8:51


















0















I'm trying to create a raspberry pi with kali linux that is encrypted with a key that is located on a USB device, so it doesn't boot without the USB device plugged in. I followed this guide: https://warroom.rsmus.com/encrypted-leave-behind/



However, after two full days of attempting it, I keep ending up with the same issue. After I'm done with encrypting etc and I try to boot the raspberry pi, all I get is the rainbow screen (also turned that off to see any error messages etc but nothing) and then nothing happens. I suspect it's not loading the kernel or something. I'm really out of ideas on what the issue could be.



UPDATE 1: Did some more debugging and when I remove the following line from the /boot/config.txt file, it does boot a bit further and tries to start up, it then stop @ crng init done.




initramfs initramfs.gz 0x00f00000



UPDATE 2: Did some more debugging, after changing the line in /boot/config.txt to the following, it started decrypting and booted completely. However I did get some [FAILED][DEFEND][DEFEND] errors during boot that were directed at the USB with the keyfile on it. However, it still completely booted.




initramfs initramfs.gz followkernel










share|improve this question

























  • Updated main post with some more info.

    – Nerotix
    Jan 16 at 8:51
















0












0








0








I'm trying to create a raspberry pi with kali linux that is encrypted with a key that is located on a USB device, so it doesn't boot without the USB device plugged in. I followed this guide: https://warroom.rsmus.com/encrypted-leave-behind/



However, after two full days of attempting it, I keep ending up with the same issue. After I'm done with encrypting etc and I try to boot the raspberry pi, all I get is the rainbow screen (also turned that off to see any error messages etc but nothing) and then nothing happens. I suspect it's not loading the kernel or something. I'm really out of ideas on what the issue could be.



UPDATE 1: Did some more debugging and when I remove the following line from the /boot/config.txt file, it does boot a bit further and tries to start up, it then stop @ crng init done.




initramfs initramfs.gz 0x00f00000



UPDATE 2: Did some more debugging, after changing the line in /boot/config.txt to the following, it started decrypting and booted completely. However I did get some [FAILED][DEFEND][DEFEND] errors during boot that were directed at the USB with the keyfile on it. However, it still completely booted.




initramfs initramfs.gz followkernel










share|improve this question
















I'm trying to create a raspberry pi with kali linux that is encrypted with a key that is located on a USB device, so it doesn't boot without the USB device plugged in. I followed this guide: https://warroom.rsmus.com/encrypted-leave-behind/



However, after two full days of attempting it, I keep ending up with the same issue. After I'm done with encrypting etc and I try to boot the raspberry pi, all I get is the rainbow screen (also turned that off to see any error messages etc but nothing) and then nothing happens. I suspect it's not loading the kernel or something. I'm really out of ideas on what the issue could be.



UPDATE 1: Did some more debugging and when I remove the following line from the /boot/config.txt file, it does boot a bit further and tries to start up, it then stop @ crng init done.




initramfs initramfs.gz 0x00f00000



UPDATE 2: Did some more debugging, after changing the line in /boot/config.txt to the following, it started decrypting and booted completely. However I did get some [FAILED][DEFEND][DEFEND] errors during boot that were directed at the USB with the keyfile on it. However, it still completely booted.




initramfs initramfs.gz followkernel







kernel boot luks






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 16 at 12:06







Nerotix

















asked Jan 15 at 14:56









NerotixNerotix

1815




1815













  • Updated main post with some more info.

    – Nerotix
    Jan 16 at 8:51





















  • Updated main post with some more info.

    – Nerotix
    Jan 16 at 8:51



















Updated main post with some more info.

– Nerotix
Jan 16 at 8:51







Updated main post with some more info.

– Nerotix
Jan 16 at 8:51












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494623%2frbp-3-stuck-at-rainbow-screen-after-luks-encryption%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494623%2frbp-3-stuck-at-rainbow-screen-after-luks-encryption%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀