How To Install tiny-initramfs-core on Debian 10
Introduction
In this tutorial we learn how to install tiny-initramfs-core
on Debian 10.
What is tiny-initramfs-core
tiny-initramfs-core is:
A very minimalistic initramfs implementation for booting Linux systems. It is designed for systems where a full initramfs (such as dracut or initramfs-tools) is too large, but where at least some functionality of an initramfs (e.g. mounting the /usr filesystem) is required. Without kernel modules it is less than 16 kiB in size.
tiny-initramfs has less features and is less extensible than full-fledged initramfs implementations, and supports only specific use cases.
This package contains the init binary as well as the mktirfs script that may be used to create working initramfs images, while not replacing the initramfs implementation used on the current system.
There are three methods to install tiny-initramfs-core
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install tiny-initramfs-core Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tiny-initramfs-core
using apt-get
by running the following command:
sudo apt-get -y install tiny-initramfs-core
Install tiny-initramfs-core Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tiny-initramfs-core
using apt
by running the following command:
sudo apt -y install tiny-initramfs-core
Install tiny-initramfs-core Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install tiny-initramfs-core
using aptitude
by running the following command:
sudo aptitude -y install tiny-initramfs-core
How To Uninstall tiny-initramfs-core on Debian 10
To uninstall only the tiny-initramfs-core
package we can use the following command:
sudo apt-get remove tiny-initramfs-core
Uninstall tiny-initramfs-core And Its Dependencies
To uninstall tiny-initramfs-core
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove tiny-initramfs-core
Remove tiny-initramfs-core Configurations and Data
To remove tiny-initramfs-core
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge tiny-initramfs-core
Remove tiny-initramfs-core configuration, data, and all of its dependencies
We can use the following command to remove tiny-initramfs-core
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tiny-initramfs-core
Dependencies
tiny-initramfs-core have the following dependencies:
References
Summary
In this tutorial we learn how to install tiny-initramfs-core
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.