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,270 of 26,127   
   Chris Green to yeti   
   Re: How to boot from SD but run from USB   
   23 Jan 25 23:32:50   
   
   From: cl@isbd.net   
      
   yeti  wrote:   
   > Chris Green  wrote:   
   >   
   > > Is it simply a matter of leaving /boot on the SD card and changing /   
   > > to being a USB drive or does one need to edit something in /boot   
   > > somewhere?   
   >   
   > That would work, but I think there is an even simpler way:   
   >   
   > Put only "bootcode.bin" on a FAT partition on the SD and a complete OS   
   > image on the USB drive.   
   >   
   > When you see "/boot/bootcode.bin" on your USB drive being updated,   
   > update the other one too.  A script for that should not need dark magic,   
   > but it still is on my to do list.   
   >   
   I know it had to be pretty simple! :-)  I have some other old Pi   
   systems lying around here so I can try it on them.  The Pi that I   
   actually want to do this on is in France and I won't be there for a   
   couple of weeks.   
      
   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.   
      
   --   
   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