Contents
Resolution
- Place your SLES/SLED 10 CD 1 or DVD in the drive and boot up to the CD or DVD.
- Enter the command “fdisk -l”.
- Enter the command “mount /dev/sda2 /mnt”.
- Enter the command “grub-install –root-directory=/mnt /dev/sda”.
- Once this command completes successfully reboot your system by entering the command “reboot”.
How do I reinstall grub on PC?
Open a terminal by selecting Applications, Accessories, Terminal from the menu bar. Run the grub-setup -d command as described below. This will reinstall the GRUB 2 files on the mounted partition to the proper location and to the MBR of the designated device.
How do I manually install grub2?
Installing GRUB2 on a BIOS system
- Create a configuration file for GRUB2. # grub2-mkconfig -o /boot/grub2/grub.cfg.
- List block devices available on the system. $ lsblk.
- Identify the primary hard disk.
- Install GRUB2 in the MBR of the primary hard disk.
- Reboot your computer to boot with the newly installed bootloader.
How do I reinstall GRUB2 from rescue mode?
In order to reinstall GRUB2 you have to boot into rescue mode….Booting into rescue mode and reinstalling GRUB2
- Boot from the RHEL7 installation DVD by altering the boot order in Bios and selecting DVD media as the first booting preference.
- At the boot screen, Select the Troubleshooting option at the end of the screen.
Do you want to have all GRUB2 file removed from boot grub?
Re: Do you want to have all GRUB 2 files removed from /boot/grub? Yes. For some reason Mint is listed there too, but I never finished the install.
When to reinstall GRUB2 after installing another OS?
After installing another operating system which installed its own bootloader, reinstall GRUB2 to return control to the desired OS. When an operating system is added on a multiboot computer it will generally take command of the boot process. Reinstalling GRUB 2 from a within the desired OS will return control of the boot process to that OS.
How to reinstall GRUB2 bootloader on rhel7?
In order to reinstall GRUB2 you have to boot into rescue mode. Follow the steps below to boot into rescue mode and reinstall GRUB2 bootloader. 1. Boot from the RHEL7 installation DVD by altering the boot order in Bios and selecting DVD media as the first booting preference.
How can I reinstall Grub to the EFI partition?
To identify the partitions use GParted, the tool is included in the installation medium. After having run the commands GRUB will be installed in the separate EFI partition. this is the only way that worked for me: (System: sdb8, boot: sdb6, efi: sdb2)
How to reinstall GRUB2 from Rescue Mode on CentOS?
1. Boot from the RHEL7 installation DVD by altering the boot order in Bios and selecting DVD media as the first booting preference. Note : Older version of RHEL 7 DVD will not work here.