I have a problem / question and hope someone can give me a hint …
What I have:
A server (Ubuntu 1404 – 64 Bit – 2 NIC, one to the Internet, second for the clients) client (8 Futro S900) network.
On this server is a VirtualBox running as PXE-Server with 2 vdi files - the pxe vdi contains the server environment and the chroot vdi contains the boot-environment for the clients and is mounted under /srv.
The chroot environment itself is / was a minimized Ubuntu 14.04.
Now the question / problem:
I replaced this chroot environment by Slitaz 5. So that the clients are booting a personalized version of Slitaz 5 now.
A Futro S900 single-core Thin-Client with 2 GB RAM is booting the Ubuntu-chroot within 45 sec. the same client needs for to boot the Slitaz-chroot 1:15 min. I assume the reason is, that the whole OS is loaded into RAM.
So the initrd.img-... of the Ubuntu-chroot has 15 M – the vmlinuz-... has 6,7 M – compared to the Slitaz-chroot : the rootfs.gz shows 58 M and the vmlinuz-... 2,8 M
I think this explains the time used for booting.
Now my question – is there a way to improve this? Is there a way to minimize the rootfs.gz? Or have I made a mistake?
Thanks for any hint – and happy Slitazing