sutek89
January 7th, 2012, 04:21 PM
Hi. I was wondering if below was possibe. I think It could result in great speed improvement on newer machines with a lot of ram and fast CPUs.
Install ubuntu. /home on a different partition
Add and remove packages keeping size in mind. (Large programs could be compiled on the HDD using --prefix?)
Compress / (-/home) to a "file".
Boot system copying the compressed "file" to RAM and mounting it and running everything there.
Wrie a "Shutdown" script that will copy compressed "file" from RAM to HDD and shutdown when finished.
I understand that if the computer is not shot down properly all work will be lost, but thats not necesarily a bad thing, if harfull changes are done at least you're safe.
Write "Save your Work" script which will be identical to "shutdown" but without the shutdown.
The system would have to know that location of /home is on the harddrive.
swap would probably be on HDD as well I assume?
If anyone Has the necessary knowledge to make it happen could you please write a tutorial?
Is there anything I don't know, or am missing that would make this impossible or not worth doing minus the long boot and shutdown times?
I suppose it is a similar principle as Live CD.
Install ubuntu. /home on a different partition
Add and remove packages keeping size in mind. (Large programs could be compiled on the HDD using --prefix?)
Compress / (-/home) to a "file".
Boot system copying the compressed "file" to RAM and mounting it and running everything there.
Wrie a "Shutdown" script that will copy compressed "file" from RAM to HDD and shutdown when finished.
I understand that if the computer is not shot down properly all work will be lost, but thats not necesarily a bad thing, if harfull changes are done at least you're safe.
Write "Save your Work" script which will be identical to "shutdown" but without the shutdown.
The system would have to know that location of /home is on the harddrive.
swap would probably be on HDD as well I assume?
If anyone Has the necessary knowledge to make it happen could you please write a tutorial?
Is there anything I don't know, or am missing that would make this impossible or not worth doing minus the long boot and shutdown times?
I suppose it is a similar principle as Live CD.