![]() ![]() Remove shim-signed from the installed systems, as there's a bug Copy the edk2 firmware files into the ESP on the system that's ![]() Will be run at the end of the installation, triggered via the Copy the finish-rpi script (attached) into / on the USB stick. The rpi4 will ask for broadcom bluetooth fw that we can'tĦ. Stop the installer asking for firmware from removable media (as Needed as the rpi doesn't store EFI boot variables. Force grub installation also to the EFI removable media path, Register a late_command call for /cdrom/finish-rpi (the nextįile - see below) to run at the end of the installation. Use an early_command to unmount /media (to work around Debian bug If you look at the preseed file, it will do a few things: $ echo preseed.cfg | cpio -H newc -o -A -F initrd Add the preseed.cfg file (attached) into *both* of the two initrdĬpio is an awful tool to use :-(. rpi4 (so we can find the files again later)ĥ. $ sudo kpartx -d debian-testing-amd64-netinst.iso $ sudo umount /mnt/data $ sudo rsync -av /mnt/cdrom/ /mnt/data/ $ sudo umount /mnt/cdrom $ sudo mount /dev/mapper/loop0p2 /mnt/cdrom/ # Same story with the second partition on the ISO Installer image into that filesystem (partition 2 is the ESP) on Copy the complete contents of partition *2* from that Debian arm64 $ sudo mount /dev/mapper/loop0p1 /mnt/cdrom/ģ. # Mount the first partition on the ISO and copy its contents to the stick $ sudo kpartx -v -a debian-12.2.0-arm64-netinst.iso Installer image into the filesystem (partition 1 is the installer Copy the complete contents of partition *1* from a Debian arm64 $ sudo parted -script /dev/sdX mkpart primary fat32 0% 100%Ģ. $ sudo parted -script /dev/sdX mklabel msdos EFI System Partition)įor a USB stick (identified as sdX) below: Make a couple of mount points under /mnt - /mnt/data and /mnt/cdromġ. ![]() Plug in a USB stick - use dmesg or your favourite method to see how it is identified. Thanks also to Steve McIntyre for initial notes that got this working for us and also to Emmanuele Rocca for putting up some useful instructions for copying. Andy (RattusRattus) and I have been formalising instructions for using Pete Batard's version of Tianocore (and therefore UEFI booting) for the Raspberry Pi 4 together with a Debian arm64 netinst to make a modified Debian installer on a USB stick which "just works" for a Raspberry Pi 4. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |