Repair Grub2 Bootloader after Windows 7/8 Setup

Jump to: navigation, search

Repair Grub 2 Boot Loader after Setup Windows 7/8

Problem: Windows or other OS write to the first 512 bytes of Sektor Zero of your Harddrive

Solution: Take the Debian CD same like installed and recover the Grub 2 Loader with the Instell /Rescue Mode

Steps: 1. Boot the PC on the CD Enter

sudo -s
mount /dev/sdXY /mnt
mount /dev/sdXZ /mnt/boot
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
mount -t proc /proc /mnt/proc
cp /proc/mounts /mnt/etc/mtab
chroot /mnt /bin/bash
grub-install /dev/sdX
grub-install --recheck /dev/sdX
reboot -f

Description: Boot the PC on CD, change to root account, mount damaged Harddisk Partitions root(/) +boot (/boot), mount System Devices, go into damaged installed System with "chroot", reinstall Grub on first Harddisk,reboot...

mail me Errors..