How To Install mkbootdisk.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install mkbootdisk.x86_64
on Amazon Linux 2.
What is mkbootdisk.x86_64
The mkbootdisk program creates a standalone boot floppy disk for booting the running system. The created boot disk will look for the root filesystem on the device mentioned in /etc/fstab and includes an initial ramdisk image which will load any necessary SCSI modules for the system.
We can use yum
to install mkbootdisk.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mkbootdisk.x86_64.
Install mkbootdisk.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mkbootdisk.x86_64
using yum
by running the following command:
sudo yum -y install mkbootdisk.x86_64
How To Uninstall mkbootdisk.x86_64 on Amazon Linux 2
To uninstall only the mkbootdisk.x86_64
package we can use the following command:
sudo yum remove mkbootdisk.x86_64
mkbootdisk.x86_64 Package Contents on Amazon Linux 2
/sbin/mkbootdisk
/usr/share/doc/mkbootdisk-1.5.5
/usr/share/doc/mkbootdisk-1.5.5/COPYING
/usr/share/man/man8/mkbootdisk.8.gz
References
Summary
In this tutorial we learn how to install mkbootdisk.x86_64
on Amazon Linux 2 using yum.