23

September
2012

Copy to RAM

I've implemented copy2ram feature into Linux Live kit, making it effectively available in Slax as well. What it does?

When Slax starts, during the LiveKit phase, it searches for its filesystem data on all available devices, such as CD/DVD drives, hard drives and USB devices. As soon as Slax data is found, it stops searching and runs Slax from the device.

Due to that, user can't 'unplug' the device from which Slax runs, it also makes the CD/DVD locked if Slax runs from it. But there may be situations when this is unwanted.

If you need to unplug your USB key drive or eject Slax CD as soon as possible, you may benefit from the "Copy to RAM" feature. Simply check "Copy to RAM" option in the boot menu, and boot Slax. The boot time will be a bit longer, since it will copy the entire '/slax' directory from CD or USB to your computer's memory, but then it will start Slax from there, freeing your boot device. You need, of course, lots of RAM to hold all Slax data while still having enough free RAM for the operating system.

I'll push out new Slax-core version soon with the mentioned copy2ram feature, for you to test.

User comments