tiny ubuntu rootfs

Hi folks!

is it possible to create a very tiny Ubuntu root file system so it could fit to 200MB of a NAND flash chip? I just need a console file system but a simple Qt GUI application will be run.

Is it possible in theory?

Hi. That sounds like a fun challenge! And yes, I'm sure it could be done. It might not look much like Ubuntu any more - I assume that when you say "very tiny Ubuntu root file system" you mean "very tiny root file system based on Ubuntu".

Hmm, and then there's Ubuntu Core:

     https://wiki.ubuntu.com/Core

Note this warning, though: "Some readers may find it useful to learn that the rootfs size of this distribution is more than 20MB."

Have fun!

     Chris MacGregor (Seattle)
     Cybermato Consulting - www.cybermato.com

What you need is BuildRoot

sure it is possible in theory

well, I’ve installed the Core version, installed a packages regarding network: netbase, ppp, netutils. Nothing huge and special and now the filesystem occupies:
root@localhost:~# df . -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 3.3G 269M 2.9G 9% /

it is not “tiny”

Maxim Podbereznyy wrote:

well, I've installed the Core version, installed a packages regarding
network: netbase, ppp, netutils. Nothing huge and special and now the
filesystem occupies:
root@localhost:~# df . -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 3.3G 269M 2.9G 9% /

it is not "tiny"

now go and delete all the stuff you don't need :slight_smile: