Sign in with
Sign up | Sign in
Your question

How to modify Ubuntu distribution to run a Linux appliance?

Tags:
  • Hardware
  • Distribution
  • Ubuntu
  • Linux
Last response: in Linux/Free BSD
Share
May 5, 2009 11:13:57 PM

I'm building a Linux appliance (hardware) that I would like to run with Ubuntu, for which I will need only a subset of all the packages/programs that come in a standard distribution.

I would like to include only the bare minimum of code required to run the appliance, and eliminate the rest, creating an appliance-specific "distribution" that I can include with the hardware.

Any suggestions on how best to undertake such an ubuntu hack? I'd rather not do it by trial and error, and any texts or internet sources on how I can learn this would be very much appreciated!

More about : modify ubuntu distribution run linux appliance

May 6, 2009 6:17:35 AM

Removing "core" packages from Ubuntu is a pain; if you remove anything which was installed as a dependency of another package, that package will also be removed, I once tried to remove gcc from Ubuntuit proceeded to remove EVERY dependency including the boot loader!

An easier route would be to install Debian and add the packages you want, or have a look at the LFS project; or maybe start with a server build of Ubuntu...

It depends on what sort of application you are targeting.
a b 5 Linux
May 6, 2009 7:18:43 PM

Is your appliance ARM, MIPS, PPC or x86? Or something even more exotic perhaps?

If it's a server-type appliance Debian, RHEL or CentOS would probably be a good choice.

If you need cutting edge software that is updated very frequently Fedora or Ubuntu may be a better choice.

How much and what kind of storage does your appliance have?

GL :) 
Related resources
a b 5 Linux
May 6, 2009 7:20:49 PM

Forgot to ask! What are the full specs?

You won't be able to run the modern desktop/server distributions if you only have, say, 32MB of RAM.

:) 
a b 5 Linux
May 6, 2009 7:40:20 PM

As MrLinux suggested, LFS ( Linux from scratch ) may be a good option but it may require quite a bit of work.

If your CPU is an MCU then look at uClinux.

Good luck :) 
May 8, 2009 2:35:26 AM

Ya... if you only have experience with say the Ubuntu distro then just download Ubuntu server edition.
a b 5 Linux
May 15, 2009 11:58:57 PM

Great suggestion geeky :) 

Ubuntu is great but may not be right for everybody.
!