-
Prepare bootable USB stick
-
Boot the Raspberry Pi from the stick OR adjust the source partitions below if using a NVMe to USB adapter
-
Format NVMe drive to 4K sector size
apt install nvme-cli
nvme format /dev/nvme0n1 --lbaf=1| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/arm64 6.19.0-rc3 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=150200 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_AS_IS_GNU=y | |
| CONFIG_AS_VERSION=24500 |
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/arm64 6.19.0-rc2 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=150200 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_AS_IS_GNU=y | |
| CONFIG_AS_VERSION=24500 |
Prepare bootable USB stick
Boot the Raspberry Pi from the stick OR adjust the source partitions below if using a NVMe to USB adapter
Format NVMe drive to 4K sector size
apt install nvme-cli
nvme format /dev/nvme0n1 --lbaf=1or if booted to OS from https://github.com/raspberrypi/rpi-eeprom/tree/master/firmware-2712/default (RPi5) or firmware-2711 for RPi4
wget path/pieeprom.bin
rpi-eeprom-update -df pieeprom.bin