Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-04-2012, 05:00 PM
|
#1
|
Member
Registered: Aug 2004
Posts: 173
Rep:
|
how to build a tiny size of ubuntu rootfs ?
we're working on ubuntu platform,
so still want to build a same type of rootfs for embedded board.
to save space, we need rootfs small.
but need that apt-get in case we need to install stuff.
any hints ?
|
|
|
06-04-2012, 05:03 PM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
How small? Honestly, I would use a distribution better suited to embedded devices than Ubuntu; that's really not what it's designed for.
|
|
|
06-04-2012, 05:08 PM
|
#3
|
Member
Registered: Aug 2004
Posts: 173
Original Poster
Rep:
|
is it possible to get it under 100M ?
the rootfs we built is painful, it used busybox and lots of things are not working nicely.
we have 2 eth ports, but not NetworkManager, etc.
Quote:
Originally Posted by MS3FGX
How small? Honestly, I would use a distribution better suited to embedded devices than Ubuntu; that's really not what it's designed for.
|
|
|
|
06-04-2012, 06:35 PM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
100MB compressed or in uncompressed state? Also, things like NetworkManager are designed for full blown systems, not really embedded machines. It is possible to get quite small systems with Ubuntu, if you use debootstrap for installing a really minimal system (using the --variant=minbase option) and then carefully add the packages you need, with the installation of recommends and suggests disabled. But only the minimal base system (which only contains the essential packages and apt) will be about 200MB uncompressed and you also have to add the kernel to that.
|
|
|
06-06-2012, 02:42 PM
|
#5
|
Member
Registered: Aug 2004
Posts: 173
Original Poster
Rep:
|
our case is uncompressed,
200MB is larger than what we can have, but i can understand it's already tiny for desktop.
Quote:
Originally Posted by TobiSGD
100MB compressed or in uncompressed state? Also, things like NetworkManager are designed for full blown systems, not really embedded machines. It is possible to get quite small systems with Ubuntu, if you use debootstrap for installing a really minimal system (using the --variant=minbase option) and then carefully add the packages you need, with the installation of recommends and suggests disabled. But only the minimal base system (which only contains the essential packages and apt) will be about 200MB uncompressed and you also have to add the kernel to that.
|
|
|
|
06-06-2012, 02:44 PM
|
#6
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Ubuntu really is not the distro for such a restricted embedded system.
What board is this?
|
|
|
06-10-2012, 03:44 PM
|
#7
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
What is the goal of this system in the first place? What does it need to do? Determining how small the filesystem image needs to be will greatly depend on the required functionality. For example, if you need X, things are going to take a lot more space than if you don't.
|
|
|
All times are GMT -5. The time now is 05:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|