YOu should first shrink the windows partition. I went half half even though I dont actually boot to windows now. I do all my work on Slackware now. (Fuck you P6 I dont have to suffer you any more).
I went grub for bootloader. It arranges all the needed boot entries for Linux but you need to tinker config for windows.
HOw I went is like this:
First I shrink windows partition,
Second I installed Slackware on the empty partition (I use swap-file instead of swap partition so I didn't create a swap partition)
Then at the end of the installation, I used elilo. It boot to Slackware just fine (Dont forget to prepare your initrd before elilo or you can end up with non booting system).
Once I am in the running Slackware, I configured grub and installed: grub-mkconfig will prepare your config file. You need to add windows partition information to /etc/grub.d/40_custom, run grub-mkconfig then grub-install.
my /etc/grub.d/40_custom is below:
Quote:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10" {
set root='(hd0,1)'
chainloader /EFI/microsoft/Boot/bootmgfw.efi
}
|
AS you can see it, it is not first partition. The first partition is UEFI parition.