I believe FreeNAS does something like this during startup. You can “install” it on mirrored USB drives in case you run out of power. The redundant USBs are used to install the OS back into RAM. An extra USB in case of corruption and they’re way cheaper than SSDs. I’m assuming you still need to write config files back to the USB. FreeNAS prefers ZFS so it’s RAM hungry anyway. The article recommend 500mb more than you…
Ramroot – Run Arch Linux Entirely from RAM (2017)
21–30 of 83 posts
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#22Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#23Many OS out there take advantage of RAM Disks. Alpine Linux for instance allows you to boot your root device on ram as a default. SmartOS runs a boot image completely on RAM, and keeps your storage free for a few configs and VMS. Virtually all network booted computers run their OSs from RAM. If you have never pxe booted a machine, it is a beautiful experience once you overcome a few challenges: easy upgrades and roll…
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#24Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#25[1]: tinycorelinux.net
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#26Many OS out there take advantage of RAM Disks. Alpine Linux for instance allows you to boot your root device on ram as a default. SmartOS runs a boot image completely on RAM, and keeps your storage free for a few configs and VMS. Virtually all network booted computers run their OSs from RAM. If you have never pxe booted a machine, it is a beautiful experience once you overcome a few challenges: easy upgrades and roll…
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#27I believe FreeNAS does something like this during startup. You can “install” it on mirrored USB drives in case you run out of power. The redundant USBs are used to install the OS back into RAM. An extra USB in case of corruption and they’re way cheaper than SSDs. I’m assuming you still need to write config files back to the USB. FreeNAS prefers ZFS so it’s RAM hungry anyway. The article recommend 500mb more than you…
SSDs cost 26€ for 128GB and offer significantly more performance and reliability. USB drives are not significantly cheaper.
Amazon has $4.99 16GB USB 2.0 flash drives from SanDisk. I’m sure you could find cheaper chinese brands.
The FreeNAS community recommends 5+ year old server hardware running refurbished or used enterprise SAS drives. Performance is not an issue when you never want to shut it down.
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#28I wonder whether this achieves anything performance-wise that just cat'ing every file to /dev/null to warm up the buffer cache wouldn't achieve. In theory, the kernel uses a buffer cache that will hold on to disk pages until they're invalidated by writes. It'll evict the cache if there's memory pressure. But this setup will presumably just crash if there's memory pressure, so that doesn't seem like a win for the RAM…
For example, if you want to run hardware diagnostics on multiple machines at the same time with 1 consistent, custom environment, you can just setup one USB stick with this, and plug it on each machine in turn to boot them up. You wouldn't need to keep the USB stick plugged in while they're running.
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#29Earlier quoted context omitted.
Most live distros do this— rather than have an initramfs that finds and mounts the removable media, they just put everything in the initramfs itself. What's new here is being able to optionally and seamlessly copy the regular disk install into RAM on boot.
What do you mean by "flip to an existing install?"
Re: Ramroot – Run Arch Linux Entirely from RAM (2017)
#30Many OS out there take advantage of RAM Disks. Alpine Linux for instance allows you to boot your root device on ram as a default. SmartOS runs a boot image completely on RAM, and keeps your storage free for a few configs and VMS. Virtually all network booted computers run their OSs from RAM. If you have never pxe booted a machine, it is a beautiful experience once you overcome a few challenges: easy upgrades and roll…