Boot loader repair with grub2 (on OpenSUSE 13.1)


Overview

Repair of a defective boot loader on a OpenSUSE installation involves the following steps:

top

Starting a Rescue System

top

Mount root Filesystem

mount /dev/<root filesystem> /mnt
top

Mount bind /proc and /dev

mount --bind /proc /mnt/proc
mount --bind /dev /mnt/dev 
top

Do chroot

chroot /mnt
top

Run grub2-install

grub2-install /dev/<boot device>
top

Exit and reboot

line
This site maintained by:
lukas.zimmermann@unibas.ch
My public PGP key
last updated: 2014-10-12 Valid CSS! Valid XHTML 1.0 Strict