Re: How to boot from SD but run from USB?

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: How to boot from SD but run from USB?
De : cl (at) *nospam* isbd.net (Chris Green)
Groupes : comp.sys.raspberry-pi
Date : 24. Jan 2025, 13:52:51
Autres entêtes
Message-ID : <32fc6l-sjk1.ln1@q957.zbmc.eu>
References : 1 2 3 4
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-29-amd64 (x86_64))
Theo <theom+news@chiark.greenend.org.uk> wrote:
Chris Green <cl@isbd.net> wrote:
A script to update the bootcode.bin on the FAT drive should be pretty
simple, just put it in /etc/rc.local and it will be run every time you
boot.  It won't matter running it if /boot/bootcode.bin hasn't been
updated, though I suppose you might complain that it's writing to the
SD card unnecessarily.  OK, use rsync and the file will only be
written if it has changed.
 
I'd probably want to do that after any package updates, because there's a
risk that the firmware files on the SD and USB become out of sync and that
could cause a boot failure.
 
If you ran it on a cron job say once a day using rsync, it would reduce the
chances of that happening.  Or there may be a hook you can set to run it
after apt upgrade.
 
Yes, agreed.  I suppose you could use inotify but I've never really
got on very well with that.

--
Chris Green
·

Date Sujet#  Auteur
23 Jan 25 * How to boot from SD but run from USB?36Chris Green
24 Jan 25 +* Re: How to boot from SD but run from USB?6yeti
24 Jan 25 i`* Re: How to boot from SD but run from USB?5Chris Green
24 Jan 25 i `* Re: How to boot from SD but run from USB?4Theo
24 Jan 25 i  `* Re: How to boot from SD but run from USB?3Chris Green
28 Jan 25 i   `* Re: How to boot from SD but run from USB?2Lawrence D'Oliveiro
28 Jan 25 i    `- Re: How to boot from SD but run from USB?1Chris Green
23 Jan 25 +* How to boot from SD but run from USB?19Dennis Slagers
24 Jan 25 i`* Re: How to boot from SD but run from USB?18druck
24 Jan 25 i +* How to boot from SD but run from USB?7Dennis Slagers
26 Feb 25 i i`* How to boot from SD but run from US6Dave Vandermeer
28 Feb 25 i i +* How to boot from SD but run from US2Dennis Slagers
2 Mar 25 i i i`- Re: How to boot from SD but run from US1The Natural Philosopher
2 Mar 25 i i +- Re: How to boot from SD but run from US1yeti
11 Mar 25 i i +- Re: How to boot from SD but run from US1Lawrence D'Oliveiro
11 Mar 25 i i `- How to boot from SD but run from US1Grant Weasner
24 Jan 25 i `* How to boot from SD but run from USB?10Dennis Slagers
27 Jan 25 i  +* Re: How to boot from SD but run from USB?3The Natural Philosopher
28 Jan 25 i  i`* Re: How to boot from SD but run from USB?2Lawrence D'Oliveiro
28 Jan 25 i  i `- Re: How to boot from SD but run from USB?1Theo
26 Feb 25 i  `* How to boot from SD but run from US6Dave Vandermeer
28 Feb 25 i   +* How to boot from SD but run from US2Dennis Slagers
5 Mar 25 i   i`- Re: How to boot from SD but run from US1Adrian Caspersz
4 Mar 25 i   +- Re: How to boot from SD but run from US1The Natural Philosopher
4 Mar 25 i   `* Re: How to boot from SD but run from US2druck
5 Mar 25 i    `- Re: How to boot from SD but run from US1The Natural Philosopher
24 Jan 25 +* Re: How to boot from SD but run from USB?9The Natural Philosopher
24 Jan 25 i+* Re: How to boot from SD but run from USB?3Theo
24 Jan 25 ii`* Re: How to boot from SD but run from USB?2The Natural Philosopher
28 Jan 25 ii `- Re: How to boot from SD but run from USB?1Lawrence D'Oliveiro
24 Jan 25 i`* Re: How to boot from SD but run from USB?5Chris Green
24 Jan 25 i `* Re: How to boot from SD but run from USB?4The Natural Philosopher
24 Jan 25 i  +* Re: How to boot from SD but run from USB?2Chris Green
24 Jan 25 i  i`- Re: How to boot from SD but run from USB?1The Natural Philosopher
28 Jan 25 i  `- Re: How to boot from SD but run from USB?1Lawrence D'Oliveiro
23 Jan 25 `- How to boot from SD but run from USB?1Dennis Slagers

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal