Introduction
In this tutorial we learn how to install grub-ipxe
on Ubuntu 20.04.
What is grub-ipxe
grub-ipxe is:
iPXE is network boot firmware. It supports a variety of network cards,
including some wireless cards, and variety of network protocols (traditional
DHCP, BOOTP and TFTP and also HTTP, iSCSI, SAN via FCoE and Infiniband). It
supports scripting.
This package adds a menu entry to grub2 for network booting using iPXE.
Package: grub-ipxe
Architecture: all
Version: 1.0.0+git-20190109.133f4c4-0ubuntu3
Priority: optional
Section: admin
Source: ipxe
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Bastian Blank [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1363
Suggests: grub-pc (>= 1.96)
Filename: pool/main/i/ipxe/grub-ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3_all.deb
Size: 766108
MD5sum: 944280718284df0c8cd9962570988205
SHA1: 6616d225f50455301f5116ea10c7cb43f267626a
SHA256: 71f32b235e324d15a1c99306883598ea81a2d4ab45dd2c88a538d2d077833a45
Homepage: http://ipxe.org/
Description-en: Network booting from GRUB using iPXE
iPXE is network boot firmware. It supports a variety of network cards,
including some wireless cards, and variety of network protocols (traditional
DHCP, BOOTP and TFTP and also HTTP, iSCSI, SAN via FCoE and Infiniband). It
supports scripting.
This package adds a menu entry to grub2 for network booting using iPXE.
There are three methods to install grub-ipxe
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install grub-ipxe Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install grub-ipxe
using apt-get
by running the following command:
sudo apt-get -y install grub-ipxe
Install grub-ipxe Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install grub-ipxe
using apt
by running the following command:
sudo apt -y install grub-ipxe
Install grub-ipxe 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install grub-ipxe
using aptitude
by running the following command:
sudo aptitude -y install grub-ipxe
How To Uninstall grub-ipxe on Ubuntu 20.04
To uninstall only the grub-ipxe
package we can use the following command:
sudo apt-get remove grub-ipxe
Uninstall grub-ipxe And Its Dependencies
To uninstall grub-ipxe
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove grub-ipxe
Remove grub-ipxe Configurations and Data
To remove grub-ipxe
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge grub-ipxe
Remove grub-ipxe configuration, data, and all of its dependencies
We can use the following command to remove grub-ipxe
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge grub-ipxe
References
Summary
In this tutorial we learn how to install grub-ipxe
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.