x86 - running on RAM only
Hello,
I'm using vanilla 3.18.24 with busybox 1.24.2 Currently the grub, root file system (+bzImage) are burned on the SSD disk. After boot completion, Linux can write\read from the SSD. Is it possible to keep only the kernel and compressed image of root file system that will be extracted to RAM ? Thank you, Z.V |
Plenty of live distros can do that, although most would prefer a ramdisk as a root drive.
Tomsrtbt is/was a floppy distro that runs purely in ram. Tails likewise never writes to the root drive. |
I have a blog tutorial explaining how to do this with Debian 8 Jessie:
http://www.linuxquestions.org/questi...-jessie-37165/ The only things that are required on the boot drive are: 1) grub bootloader in MBR 2) ext2/3/4 partition with the following files: grub.cfg initrd.img-ramboot vmlinuz-ramboot image.tar.gz How much RAM do you have? Depending on what software you wish to run, it would be best to have at least 2GB of RAM with this specific technique. This technique extracts the entire image.tar.gz into RAM in an uncompressed state - for simplicity and sheer speed. |
I've done this before in Debian. The method I used only required a small modification to the initrd, but the filesystem wasn't compressed in RAM.
|
Quote:
do put the necessary modules, overtherweise it wont work. and you can put into grub "live" and "toram" to tell the kernel you will load the "live" scripts for toram |
Frugal install is what you mean, I think, so check out any howtos about that. :)
(It's a long time since I've done it, so too rusty to describe the details.) |
Quote:
You probably mean toram or live, which are passed over boot parameter, isn't it? |
There are a few terms to get either boot time option or full time for this ram running ability and some the documentation is not easy to find.
Not sure the OP even cares anymore. :( |
Quote:
Linus made its kernel suited for this. There is anyhow this package on Debian that you may keep in mind whiel compiling: https://packages.debian.org/search?keywords=live-boot |
All times are GMT -5. The time now is 11:00 PM. |