home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

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

   Message 25,276 of 26,127   
   Chris Green to Theo   
   Re: How to boot from SD but run from USB   
   24 Jan 25 12:52:51   
   
   From: cl@isbd.net   
      
   Theo  wrote:   
   > Chris Green  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   
   Ā·   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca