Base

Differences between revisions 3 and 35 (spanning 32 versions)
Revision 3 as of 2011-08-26 10:01:19
Size: 4289
Editor: eth0
Comment:
Revision 35 as of 2023-05-08 05:47:57
Size: 6055
Editor: guiverc
Comment: commented out release details as all are EOSS; now just a link to download
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Ubuntu Core = ## page was renamed from Core
= Ubuntu Base =
Line 3: Line 4:
== What is Ubuntu Core == == What is Ubuntu Base ==
Line 5: Line 6:
Ubuntu Core is a minimal rootfs for use in the creation of custom images for specific needs. Ubuntu Core strives to create a suitable minimal environment for use in Board Support Packages, constrained or integrated environments, or as the basis for application demonstration images. Ubuntu Base is a minimal rootfs for use in the creation of custom images for specific needs. Ubuntu Base strives to create a suitable minimal environment for use in Board Support Packages, constrained or integrated environments, as the basis for application demonstration images, or Linux containers such as [[https://linuxcontainers.org/|LXC]] or [[http://docker.io|Docker]] (For OCI/docker container images, see also the [[Oci|Ubuntu OCI project]]). It is available for the i386, amd64, armhf, arm64, powerpc and ppc64el architectures.
Line 7: Line 8:
Ubuntu Core delivers a functional user-space environment, with full support for installation of additional software from the Ubuntu repositories, through the use of the '''apt-get''' command. Ubuntu Base delivers a functional user-space environment, with full support for installation of additional software from the Ubuntu repositories, through the use of the '''apt-get''' command.
Line 9: Line 10:
== Deploying Ubuntu Core == Note that if there's a commercial intent to your use, then please familiarize yourself with the [[http://www.ubuntu.com/aboutus/trademarkpolicy|Ubuntu trademark and copyright policy]].

== Additional Information ==

Be aware that Ubuntu Base is not a super small run-in-memory embedded distribution; it is the smallest implementation of Ubuntu that enables one to install other packages.

Some readers may find it useful to learn that the rootfs size of this distribution is more than 20MB.

One may use apt-get to install any set of packages. However, Ubuntu Base is designed for a device that requires a full operating system; Ubuntu Base can be configured and customized to fit the requirements of his or her device.
 
== Deploying Base ==
Line 12: Line 23:
 * [[http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/|Ubuntu Core rootfs]]
 * Appropriate linux kernel for target device
 * Appropriate bootloader for target device
 * [[http://cdimage.ubuntu.com/ubuntu-base/releases/14.04/release/|Ubuntu Base rootfs]]
 * Linux kernel for target device
 * boot-loader for target device
Line 17: Line 28:
 1. Uncompress (do not unpack) Ubuntu Core
Line 19: Line 29:
 1. Unpack Ubuntu Core to ext{2,3,4} partition
 1. Install bootloader as indicated for device
 1. Install linux as indicated for device

 1. If the linux kernel requires modules to boot, add these to ''/lib/modules/$(uname -r)'' in the ext{2,3,4} filesystem
 1. Unpack Ubuntu Base to ext{2,3,4} partition
 1. Install boot-loader
 1. Install Linux
 1. Add a lo
cal user and password for the user, then add the user to the adm and sudo groups.
 1. If the Linux kernel requires modules, add these to ''/lib/modules/$(uname -r)'' in the ext{2,3,4} file system
Line 24: Line 35:
 1. Install any additional required software with '''apt-get'''  1. Install any additional required software using '''apt-get'''

Example

Example instructions for installation on an x86 virtual machine - using a Live CD and syslinux as bootloader - is [[Base/InstallationExample|available here]]. Another example with installation instructions - using the command prompt and grub as bootloader - is [[http://askubuntu.com/questions/67001/what-commands-are-needed-to-install-ubuntu-core|available at AskUbuntu.com]].
Line 28: Line 43:
Due to the effort spent to make Ubuntu Core as small as possible, some choices have been made that may not be suitable for some users. Please review the following, and if you are affected, add the appropriate packages to your environment. Due to the effort spent to make Ubuntu Base as small as possible, no users have been added, packages have been removed that may adversely affect a particular environment.
Line 30: Line 45:
=== Filesystems === === File Systems (fs) ===
Ubuntu Base ships with no local users installed, make sure to add (at least) one and set the password for it, at least one of the added user(s) must be added to the adm, and sudo groups.
Line 32: Line 48:
Ubuntu Core ships with support for ext2, ext3, and ext4. If you need support for additional filesystems, please install appropriate support packages from the Ubuntu Archives. Ubuntu Base ships with support for ext2, ext3, and ext4. If you need support for additional file systems install appropriate packages from the Ubuntu Archives.
Line 34: Line 50:
The Ubuntu Core rootfs contains both symbolic and hard links: please do not unpack it to a filesystem without support for these features (e.g. fat32), as this may cause the system to malfunction in unpredictable ways. The Ubuntu Base rootfs contains symbolic and hard links; if unpacked to a file system without support for symbolic and hard links (e.g. fat32) system unpredictability will occur.
Line 38: Line 54:
To increase the flexibility of logging options, no syslog server has been selected by default.  If your application will need syslog functionality, we recommend the installtion of the '''rsyslog''' package, although there are other alternatives available in the Ubuntu repositories for those with special needs. To increase the flexibility of logging options there is no default syslog server. If one requires syslog functionality, install the '''rsyslog''' package or search the archives for alternatives.
Line 44: Line 60:
An extremely limited subset of the python environment has been deployed in Ubuntu Core, which environment is unsuitable for most Python applications. If you will be using Python software in your environment, please install the '''python''' package to get the full base interpreter. An extremely limited subset of the Python environment has been deployed in Ubuntu Base and is an unsuitable dependency. If one will use Python software in his or her environment, install the '''python''' package to get the full base interpreter.
Line 46: Line 62:
The Python development team is unable to provide support for issues with Python without the '''python''' package installed: if you are encountering errors using the subset of python available, please first verify that you can repeat the issue after installing the '''python''' package before filing a bug or support request. The Python development team is unable to provide support for issues related to Python without the '''python''' package installed; if one encounters complications using the default subset of Python, install the '''python''' package and verify the issue occurs before filing a bug or support request.
Line 49: Line 65:
== Current Releases == ##== Current Releases ==
== To download Ubuntu Base ==
Line 51: Line 68:
||<rowbgcolor="#d9bb7a"> ''Release'' || ''Version'' || ''Release Date'' || ''Support Date'' ||
|| [[OneiricOcelot|Oneiric Ocelot]] || In Development || Expected October 2011 || Expected until April 2013 ||
##||<rowbgcolor="#d9bb7a"> ''Release'' || ''Version'' || ''Release Date'' #|| ''Support Date'' ||
##|| [[http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/|16.04]] || Supported || Released in April 2016 || Expected until April 2021 ||
##|| [[http://cdimage.ubuntu.com/ubuntu-base/releases/14.04/release/|14.04]] || Supported || Released in April 2014 || Expected until April 2019 ||
##|| [[http://cdimage.ubuntu.com/ubuntu-base/releases/12.04/release/|12.04]] || Supported || Released in April 2012 || Expected until April 2017 ||

##For More releases at http://cdimage.ubuntu.com/ubuntu-base/releases/
To download Ubuntu Base go to http://cdimage.ubuntu.com/ubuntu-base/releases/
Line 56: Line 78:
Anyone who wants to get involved with Ubuntu Core should join ''#ubuntu-devel'' on irc.freenode.net first. Giving support to other people vary from one-liner answers to solving problems including some known and unknown bugs. The channel is also a good place to get known before taking a bigger part of some problem, or joining the team. Anyone who wants to get involved with Ubuntu Base should join ''#ubuntu-devel'' on irc.libera.chat first. Giving support to other people vary from one-line answers to solving problems including bugs. The channel is also a good place to get known before taking a bigger part of some problem, or joining the team.
Line 58: Line 80:
Development discussion is taking place on the [[https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel|development mailing list]] and ''#ubuntu-devel'' on irc.freenode.net. If you are not a developer, and wish to discuss Ubuntu Core, please use [[https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss|development discussion mailing list]]. Development discussion is taking place on the [[https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel|development mailing list]] and ''#ubuntu-devel'' on irc.libera.chat. If you are not a developer, and wish to discuss Ubuntu Base, please use [[https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss|development discussion mailing list]].

Ubuntu Base

What is Ubuntu Base

Ubuntu Base is a minimal rootfs for use in the creation of custom images for specific needs. Ubuntu Base strives to create a suitable minimal environment for use in Board Support Packages, constrained or integrated environments, as the basis for application demonstration images, or Linux containers such as LXC or Docker (For OCI/docker container images, see also the Ubuntu OCI project). It is available for the i386, amd64, armhf, arm64, powerpc and ppc64el architectures.

Ubuntu Base delivers a functional user-space environment, with full support for installation of additional software from the Ubuntu repositories, through the use of the apt-get command.

Note that if there's a commercial intent to your use, then please familiarize yourself with the Ubuntu trademark and copyright policy.

Additional Information

Be aware that Ubuntu Base is not a super small run-in-memory embedded distribution; it is the smallest implementation of Ubuntu that enables one to install other packages.

Some readers may find it useful to learn that the rootfs size of this distribution is more than 20MB.

One may use apt-get to install any set of packages. However, Ubuntu Base is designed for a device that requires a full operating system; Ubuntu Base can be configured and customized to fit the requirements of his or her device.

Deploying Base

Requirements

Procedure:

  1. Format target media: at least one partition should be ext2, ext3, or ext4
  2. Unpack Ubuntu Base to ext{2,3,4} partition
  3. Install boot-loader
  4. Install Linux
  5. Add a local user and password for the user, then add the user to the adm and sudo groups.
  6. If the Linux kernel requires modules, add these to /lib/modules/$(uname -r) in the ext{2,3,4} file system

  7. Boot the target device
  8. Install any additional required software using apt-get

Example

Example instructions for installation on an x86 virtual machine - using a Live CD and syslinux as bootloader - is available here. Another example with installation instructions - using the command prompt and grub as bootloader - is available at AskUbuntu.com.

Usage Considerations

Due to the effort spent to make Ubuntu Base as small as possible, no users have been added, packages have been removed that may adversely affect a particular environment.

File Systems (fs)

Ubuntu Base ships with no local users installed, make sure to add (at least) one and set the password for it, at least one of the added user(s) must be added to the adm, and sudo groups.

Ubuntu Base ships with support for ext2, ext3, and ext4. If you need support for additional file systems install appropriate packages from the Ubuntu Archives.

The Ubuntu Base rootfs contains symbolic and hard links; if unpacked to a file system without support for symbolic and hard links (e.g. fat32) system unpredictability will occur.

Syslog

To increase the flexibility of logging options there is no default syslog server. If one requires syslog functionality, install the rsyslog package or search the archives for alternatives.

The Ubuntu Support team is unable to provide support for certain classes of issues without a logging facility. If you are encountering an issue, and have requested support, be aware that the support analysts may request the installation of some syslog implementation to help identify the cause of the issue.

Python

An extremely limited subset of the Python environment has been deployed in Ubuntu Base and is an unsuitable dependency. If one will use Python software in his or her environment, install the python package to get the full base interpreter.

The Python development team is unable to provide support for issues related to Python without the python package installed; if one encounters complications using the default subset of Python, install the python package and verify the issue occurs before filing a bug or support request.

To download Ubuntu Base

To download Ubuntu Base go to http://cdimage.ubuntu.com/ubuntu-base/releases/

Get Involved

Anyone who wants to get involved with Ubuntu Base should join #ubuntu-devel on irc.libera.chat first. Giving support to other people vary from one-line answers to solving problems including bugs. The channel is also a good place to get known before taking a bigger part of some problem, or joining the team.

Development discussion is taking place on the development mailing list and #ubuntu-devel on irc.libera.chat. If you are not a developer, and wish to discuss Ubuntu Base, please use development discussion mailing list.

The wider guide for getting involved may also be useful.

Base (last edited 2023-05-08 05:47:57 by guiverc)