If you want to use windows 8 with Linux here is the solution.
If the Grub loader is not loading after windows 8 install, first you need to boot with a Live CD.
Then run these commands as root:
To find the drive where Linux is installed run the following command:
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9330 74936320 83 Linux
In my case sda1 is the drive where Linux is installed.
Then you need to run the following commands:
mount /dev/sda1 /mnt/
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
cp /proc/mounts /mnt/etc/mtab/
chroot /mnt /bin/bash
grub-install /dev/sda
And the final step is to remove the Live CD and restart your PC.
reboot
Does this work with UEFI boot? Shouln’t it be grub-efi installed at Debian system before re-installing grub? IIRC correctly Windows 8 only boots under UEFI system.
I didn’t tested it with UEFI
Then I guess (I didn’t tested it yet) it may work booting Debian CD in rescue mode, executing a shell where / was installed and execute and run;
os-prober
update-grub
Yes…it may work.