The short answer is: Not yet.Nfarrow wrote: ↑Sun Jan 21, 2018 3:07 amHello fellow Pi people . One quick question. If I have a freshly made image of Raspbian on an SD card. I mount it in windows I see view able files and folders. Would there be a file that I can setup my shell commands to configure the pi after it boots up. if I place the shell code in it?
Quite so. Obviously, all of the "But I can run Linux on Windows; I do it all the time!" posts are cheating.
There is a version of Pi Bakery for Windows: http://www.pibakery.org/docs/install-win.html
The documentation for Pi Bakery is worth reading. It does not only run on First Boot.As I understand it, Pi Baker involves modifying the image so that a script on the FAT partition (the only one normally accessible by Mac or Windows) will be run on first boot of the Pi.
Running the x86 version of the Raspbian desktop in VirtualBox under Windows simply to edit the files on an SD card seems like too many layers of software; however, x86 hardware has been tuned for this kind of virtualization for about 10 years. That is, of course, if you ignore the recently discovered Meltdown and Spectre bugs.
This is basically exactly how PiBakery works. I take the standard Raspbian image, modify it slightly so that it looks for and runs a script on the FAT32 partition (check out the pibakery-raspbian GitHub repo to see what files I add/change), and then this image is used by the PiBakery app.n67 wrote: ↑Sun Jan 21, 2018 7:37 amCurrently, the "Pi Baker" system (which runs, I believe, only on Macs) does something like this. As I understand it, Pi Baker involves modifying the image so that a script on the FAT partition (the only one normally accessible by Mac or Windows) will be run on first boot of the Pi. I've never used PB, but my guess is that it (the custom script produced by the PB system) runs out of rc.local (on the Pi). All of this implies that for each new release of Raspbian this special modification must be done by the PB maintainer(s), in order to keep up.
Users browsing this forum: No registered users and 11 guests