Fidonet Portal






From: chris@tinnews.co.uk (2:221/10)
To: All
Date: Thu, 16.12.21 11:57
Pi 4 USB boot now working
Just to report success (at last) with getting my Pi 4 to boot from USB.

The problem I was having with the 500Gb USB drive was either due to
power problems or timing, I'm not sure which. As reported in the
original thread about this the Pi booted from this drive OK when it
was plugged into one of the USB-2 sockets but failed to boot (from the
USB) when it was plugged into one of the USB-3 sockets.

I have now put an old[ish] 320Gb drive in a SATA to USB-3 box which has
it's own power supply and that works perfectly when plugged into one
of the USB-3 sockets.

Having configured the eeprom to look for USB *before* SD it boots from the
USB if the USB is there. This is rather handy as I was then able to
mount the SD card and copy files from there to the new installation.

Just for interest (and in response to another query/suggestion here)
/etc/fstab is:-

proc /proc proc defaults 0 0
PARTUUID=e258a3fc-01 /boot vfat defaults 0 2
PARTUUID=e258a3fc-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that

I.e. the /boot and / partitions are recognised solely by their
partition IDs, no device names in there at all.



--
Chris Green
·

---
* Origin: rbb.fidonet.fi - the fidonet nntp junction (2:221/10)

From: A. Dumas (2:221/10)
To: All
Date: Thu, 16.12.21 16:16
Re: Pi 4 USB boot now working
From: A. Dumas <alexandre@dumas.fr.invalid>

On 16-12-2021 12:57, chris@tinnews.co.uk wrote:
> Just for interest (and in response to another query/suggestion here)
> /etc/fstab is:-
>
> proc /proc proc defaults 0 0
> PARTUUID=e258a3fc-01 /boot vfat defaults 0
2
> PARTUUID=e258a3fc-02 / ext4 defaults,noatime 0
1
> # a swapfile is not a swap partition, no line here
> # use dphys-swapfile swap[on|off] for that
>
> I.e. the /boot and / partitions are recognised solely by their
> partition IDs, no device names in there at all.

Which is what you want, otherwise when, for some random reason, the
devices get swapped at boot (sda<->sdb), nothing works anymore.

---
* Origin: rbb.fidonet.fi - the fidonet nntp junction (2:221/10)

ABOUT

This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;

CONTACT