I want to make a barebone install of Ubuntu. I really only need the items to get the system up and running, such as a boot loader, the default bloated kernel that I'll later compile down to my own kernel to only use the modules required for my hardware (Ethernet, VGA, USB Keyboard). Then I only really need apt, sshd and nano. I plan on installing nginx and php-fpm from there. Does anyone have and recommendations on how to get to that point? Should I use a JeOS install of Ubuntu Server, or a Minimal Install? Should I go a completely different route and put all of these items together manually and how would I do that?
I've seen servers manage to fit themselves into about 20 MB of RAM, using only 10 processes, enough to get up to where I mentioned above. I would like it fit into that envelope.
The problem seems to be that even the Minimal Install even installs extras that are not really needed, and this has been confirmed again here. Even more annoyingly, JeOS seems to always lead to a dead end. Even the Server-Minimal option found in the Server Install is fairly large giving it around 80MB of RAM used, and starting over 60 processes.