Book Image

Linux Mint Essentials

By : Jay LaCroix
Book Image

Linux Mint Essentials

By: Jay LaCroix

Overview of this book

Table of Contents (22 chapters)
Linux Mint Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Reinstalling GRUB


GRUB, which stands for Grand Unified Bootloader, is the program that is responsible for booting Linux Mint. If, for some reason, it becomes damaged, you won't be able to boot your machine and will get errors. This could be for any number of reasons, such as Windows overwriting the Master Boot Record (MBR), a failed cloning attempt, or even nonfailure incidents such as simply wanting to make something bootable, such as a flash drive.

If you want to install GRUB on a different disk, the grub-install command, shown in the following command line, should be all that you need:

sudo grub-install <device>

For <device>, simply type the device on which you're attempting to install GRUB. If you want to reinstall GRUB on your main drive, <device> will typically be /dev/sda, but you should always verify your devices before installing or reinstalling GRUB. The following command will list your drives:

sudo fdisk -l

Note

Take note that when you install or reinstall GRUB...