4 ms·
>>> After boot I can pull out the stick, freeing up the USB port for something else Does this mean the entire OS is loaded into memory? Is this a NetBSD thing?
by abc_lisper 6y ago
>>> After boot I can pull out the stick, freeing up the USB port for something else
Does this mean the entire OS is loaded into memory? Is this a NetBSD thing?
- 1vuio0pswjnm7 6y agoA "miniroot" is stored in the kernel, indeed the entire OS is loaded into memory. Other BSDs and Linux have used, and may still use, similar approaches in some cases. (For example, BSD install media.) This is old hat but reliable. What is amazing is that you still see people in 2021, when most computers have ample amounts of memory, complaning about "disk" issues, e.g., people try to use SD cards as a "hard drive" for RPis.
- bitwize 6y agoThe Raspberry Pi foundation wants you to use Visual Studio Code, which means you want to free up RAM. A file system on SD that's mounted read only on boot might be a good call, with /home on an external USB.
- bitwize 6y agoIt can be done with Linux or any OS that has a RAM-based file system. And with machines coming with gigabytes of memory, the installation supported by a RAM FS can be very complete indeed. See Puppy Linux as an example of a distro that can run from RAM.