I have the 500GB variant of that Samsung 970 and also came from PC. Same as for SSD (via USB3-SATA adaptor) for Pi4, I kept a quite strict GPT based partition scheme so that it can be used unmodified for all computers to boot, including Windows x86-64. You need a large enough, e.g. 512MB 1st partition that is FAT formatted and has /EFI/<OS-tag> folders from UEFI capable OSses. In the root directory you can put the required RPi files. You can set or keep the type of that partition EFI System Partition (0xEF00). An RPI4 can handle this for some years already. Note that Windows cannot handle or does not see or ignores partitions tagged/typed 0xEF00. So that maybe a showstopper for many people. But note that your Pi is a Linux computer that can handle it without problems.It is a samsung evo 970 1tb nvme if that changes anything. It's detected all fine.
All modern OSses that can run on RPI5 use such a 1st FAT formatted structure. So the method of RonR is future proof, also with the hope that maybe some new RPI will understand or work with UEFI as well. I have about 10 to 20 partitions, I just use UUIDs to boot them. I haven't looked at RonR's script for years, but I do similar things myself except that I do not use Ext4 filesystems.
Statistics: Posted by redvli — Sun Feb 16, 2025 12:37 pm