home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 21229 
 The Natural Philosopher to Chris Green 
 Re: How to boot from SD but run from USB 
 24 Jan 25 14:11:11 
 
INTL 3:770/1 3:770/3
REPLYADDR tnp@invalid.invalid
REPLYTO 3:770/3.0 UUCP
MSGID:  f3f9bb6e
REPLY:  2f6958de
PID: SoupGate-Win32 v1.05
On 24/01/2025 13:43, Chris Green wrote:
> The Natural Philosopher  wrote:
>> On 24/01/2025 12:55, Chris Green wrote:
>>> The Natural Philosopher  wrote:
>>>>
>>>> But frankly its almost always easier to install everything on the USB
>>>> drive and remove the SDcard altogether.
>>>>
>>> As I understand it that's not possible with Pi before Pi 2 version 1.2
>>> or something like that.  Basically Pi 3 and onwards can simply boot
>>> from USB, earlier ones can't.
>>>
>>
>> Yes, that is my understanding also. I think there was a time when you
>> had to boot from SD and run a comm,and to change a flag in the firmware
>> to allow USB only boot.
>>
>> I have a Pi 4B and its supremely ecstatic booting from USB. And it's a
>> totally simple setup
>>
> Yes, but my original question was (intended anyway) about booting an
> early Pi such that it actually runs from USB after booting from the SD
> card so that SD card wear isn't an issue.
>
Well I think that has been covered adequately  as well.

Hack the boot partition on the SD card to tell it to use the USB for
booting and hack the fstab entry to tell it to remount the USB as root
after booting. Or a combination thereof

The SD card VFAT partition will remain mounted on /boot/firmware and so
can be upgraded automagically

If it has bootcode.bin it should look at the USB to boot from.

Which works with middle aged pis.

Late models I believe don't need bootcode.bin. Very early models cant
boot USB.
There  you have no option but to boot onto the SDcard and edit the
SDCARD /etc/fstab to remount the USB drive as root.




--
Climate Change: Socialism wearing a lab coat.

--- SoupGate-Win32 v1.05
 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
SEEN-BY: 4/0 19/10 88/0 90/0 105/81 106/201 128/187 129/305 153/757
SEEN-BY: 153/7715 154/110 218/700 840 220/70 221/1 6 360 226/17 30
SEEN-BY: 226/100 227/114 229/110 111 114 200 206 275 300 317 400 426
SEEN-BY: 229/428 470 550 616 664 700 705 266/512 267/800 291/111 292/854
SEEN-BY: 301/1 310/31 320/219 322/757 335/364 341/66 342/200 396/45
SEEN-BY: 460/58 633/280 712/848 770/1 3 100 330 340 772/210 220 230
SEEN-BY: 880/1 900/0 102 106 902/0 19 26 905/0 930/1 2320/105 5020/400
SEEN-BY: 5075/35
PATH: 770/3 1 218/840 221/6 341/66 902/26 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca