Ubuntu boot options – copy Live CD into RAM

Uncategorized , , , , 0 Comments

Just a quick short post. Even shorter: use the toram boot parameter.

I was looking for an option to copy the contents of the live CD into RAM during boot and was looking throught the source of the casper script (the one that mounts the stuffs to have a working root or /cdrom for Ubuntu), when I saw a function called copy_live_to().

This function does exactly what I was looking for – copies the contents of the live CD or the media it was about to use as root (an NFS mount in my case, see the previous post) and releases it – all you need to do is adding the toram boot paramter.

After it has been done, the original medium can be removed – i.e. the Live CD can be ejected (in theory, I have not tried it yet).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.