View previous topic :: View next topic |
Author |
Message |
dxdr0wd0sr n00b
Joined: 07 Jan 2013 Posts: 1
|
Posted: Mon Jan 07, 2013 2:21 am Post subject: Small Install on CF/SD Card/USB |
|
|
So I've been working around with this guide http://pappageek.wordpress.com/gumstick-gentoo/ to attempt to have a small install of Gentoo.
Basically it involves binding the usr/src and usr/portage directories so that you don't have that space on your "portable" gentoo install. So far, I've installed a good deal of programs, and using the
minimal" use flag and "noman nodoc noinfo" feature flags to cut down on some of the install size. Afterwards, I've ended up with about 700mb of the system.
However, about 500mb is in the usr/lib and usr/share folder. Mostly things like python, perl libs, and all the share things. Is there anyway to cut down on the libraries or remove the once that aren't needed at runtime? I'd like to see how low I can get my install down to, while still maintaining a working system. Thanks! |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Mon Jan 07, 2013 5:10 am Post subject: |
|
|
If you can use the C locale and don't need special locales, you can use localepurge (emerge it) to get rid of the translations for all the error messages (or just blow them all away). You can also get rid of the extra timezones. I don't think this all adds up that much.
But there's just a lot of libraries for portage/perl/python that can't be removed...
I just have an irc bot machine (a Geode GX1 266MHz) that is running Gentoo with full emerge/gcc support, but it's still more than 400MB.
The tradeoff is whether to remove the ability to emerge/use portage, that would save all the perl and python stuff which is fairly huge... Without portage you can't update it, except with another setup... but it's not unmaintainable. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|