e_tews wrote: ↑
Wed Aug 18, 2021 6:46 pm
I would like to share my experience. I managed to install Debian 11 on a Raspberry Pi 4 on the SD card with the proposed methods. I used the UEFI Firmware 1.29 and the current (2-3 days ago) Debian installer snapshot. I prepared a USB flash drive with the installer as described in the initial post and formatted my SD card. With both plugged in, my Pi booted the installer form the USB flash drive and I could then pick the SD card as the target device for the installer. At the end, I had a ESP partition (for the firmware, FAT) and a boot partition (ext2) and then a partition for the remaining data.
The only issue I had was that the Pi didn't boot, but all I had to do to fix this was to extract the UEFI firmware to the SD card EFI partition and then also when the Pi booted from the SD card the first time, I created a new boot entry in the UEFI firmware pointing to the Grub bootloader there.
So I think it should be fine to update the FAQ and say that the SD card is also supported now.
There is one question I still have for the audience here:
Is it possible to create this boot entry for the UEFI firmware by editing a file on the ESP partition? When that would be possible, then I could also do the entire install also via a network console or we could even have a full automated install on a Pi.
@Akeo, thank you for this very useful tutorial. I think the possibility of having vanilla Debian 11 on Raspberry Pi 4 it’s a great step forward!
Here I’m writing because I would like to have such installation directly on the RPi SD card, instead then a USB drive. Following the message by @e_tews, using UEFI Firmware 1.30 I managed to create a bootable USB drive and install Debian 11 on
a Raspberry Pi 4 SD card
. Unfortunately after installation I cannot boot from the SD card. @e_tews, could you please explain in more detail your procedure? I think it would be very interesting for the community. Especially I have the following doubts:
1. How did you initially formatted the SD card along with the bootable USB drive?
2. Why it is needed an extra (ext2) boot partition? It gives me error if I try to mark this one as the bootable partition during the Debian 11 installation.
3. What do you mean with “I could pick the SD card as the target device for the installer”? Can you please explain that better?
4. What did you do exactly after having installed Debian 11 on SD card in order to make it bootable from there? Can you please elaborate more on this?
It would be great if @e_tews or somebody else can help in clarifying these issues so to have a step-by-step procedure for installing Debian 11 on Raspberry Pi 4 SD card
. I’m sure the community would appreciate it.
Thanks in advance for any help.