1. Home
  2. Docs
  3. System rescue
  4. Repair GRUB with BIOS (legacy system)

Repair GRUB with BIOS (legacy system)

by </joekamprad>

This will fix on a standard installation, if you do manual partition, ask at the forum!

Boot up with our LiveIso.

mount System to /mnt

You need to know which device is the right one check with 

sudo fdisk -l

/dev/sdXn should be replaced with the right device information, and depending on your installation you may have or have not a separate /boot partition. If not /boot is a folder under / on the same partition as the filesystem root.

sudo su
mount /dev/sdXn /mnt 

>> / root partition

mount /dev/sdXn /mnt/boot 

>>> /boot partition –> without extra /boot partition you do not need this step!

arch-chroot /mnt

To make sure to get second (dual boot) installation rechecked and put into grub boot menu use os-prober, (for EndeavourOS only system you go directly to grub-mkconfig)

(as root also) If you have dual-boot os-prober may take a long long time to work, the trick here is to mount all other partitions, before using it.

grub-mkconfig -o /boot/grub/grub.cfg

Reinstall grub:

grub-install --target=i386-pc /dev/sdX

Where /dev/sdX (note: drive only, not partition!) should be changed to what you get into your system: check with: 

sudo fdisk -l 

Follow us
Was this article helpful to you? Yes 1 No

How can we help?