On Wed, 18 Oct 2023 19:48:32 +0100, The Natural Philosopher <
tnp@invalid.invalid> wrote:
OK, I changed the cmdline.txt to specify the USB UUID instead of
PARTUUID and it seems to have partially booted correctly in that the
right partitions end up mounted, but it STILL wont boot without the SD
card inserted, and the root filesystem will not expand?
There is something very flaky about all this USB boot.
Maybe you have one of the old Raspberry 4 models?
https://www.pragmaticlinux.com/2021/12/directly-boot-your-raspberry-pi-4-from-a-usb-drive/
"To configure your Raspberry PI 4 to boot from a USB drive, you just
need to enable this feature inside the boot code, stored in EEPROM.
And here’s the best part: Most Raspberry PI 4 boards enable this
feature by default! Only a small batch of early Raspberry PI 4 boards
shipped with this feature disabled."
"What about older Raspberry PI models?
This article primarily focuses on booting a Raspberry PI 4, 400 and
Compute Module 4 from a USB drive. However, with a little trick, you
can reap the same benefits if you own an older model such as a
Raspberry PI 1, 2, 3 or Zero. The trick involves moving the root file
system (/) to a USB drive and just leave the boot file system (\boot)
on the SD card.
With this approach, your Raspberry PI still boots from the SD card.
However, the actual operating system itself runs from the USB drive.
Since the boot operation only needs to reads from the SD card, you
won’t run into SD card corruption problems. Just keep in mind that you
get better disk I/O performance on a Raspberry PI 4, because it
supports USB 3 ports. For step-by-step instructions on using this
approach, refer to this tutorial:
Move the Raspberry PI root file system to a USB drive
What do you need
To complete the steps outlined in this tutorial, you need the
following:
A basic Raspberry PI 4 setup. This includes a power supply, SD
card, HDMI cable, monitor, mouse and keyboard.
The Raspberry PI Imager software installed on your PC.
A USB drive.
Theoretically you can use a simple 4 GB or more USB flash stick for
this tutorial. However, for the best performance I recommend a SATA or
NVMe SSD drive with a suitable USB 3 adapter. For this tutorial, I’ll
use a Samsung 860 EVO 250 GB SSD in combination with a Nedis USB 3.2
2.5" SATA USB adapter. Note that not all SATA to USB 3 adapters fully
work with the Raspberry PI 3. For more details and a potential fix,
refer to article:
Fix for getting your SSD working via USB 3 on your Raspberry
PI..."
--
Jesper Kaas -
jesperk@neindanke.online.no
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)