On Thu, 2006-09-07 at 15:10 +0200, Nico Berndt wrote:
> Nico Berndt schrieb:
> Hi again!
> 
> So I got down with it and the system is down to 50 mb already still 
> shrinking.. Once I have a replacement for vim it will be good.
> 
> I don't need it to be awfully small, but I will target around 20 mb 
> maybe, vim takes around 30!
> 
> Now the next big question arises: How can I make it load into ram 
> entirely, so I can put the system on a flashdisk?
> 
> Any nice hints anybody?
> 
> Regards,
> ../nico

Hi,
how about busybox ... it includes almost everything a basic system
needs, also a vi, staticly linked about 1.3MB (glibc-3.6).
To make it work from ram just use an initrd.
Make a out of /dev/zero file of desired size, put a filesystem on it,
mount it loopback, copy your darn smal system [DSS] to it, unmount it,
gzip it and load it as initrd with your kernel ...

-- 
  H
CUH Rainer Peter Feller
  H

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to