LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   Dual boot CentOs 7/Windows 10 - boot loader not properly configured? (https://www.linuxquestions.org/questions/centos-111/dual-boot-centos-7-windows-10-boot-loader-not-properly-configured-4175556891/)

teaxtor 10-22-2015 12:02 PM

Dual boot CentOs 7/Windows 10 - boot loader not properly configured?
 
Hey guys,

I'm quite new to the process of setting up linux installations (especially configured as dual boot). I try to set it up on my Vaio Pro 13 via usb install medium.

Basically, I've tried two approaches so far:

1. http://www.tecmint.com/install-centos-7-dual-boot-with-windows-8-uefi-firmware/
Summation: run live usb-stick, create partitioning on my own, result in two efi-boot-partitions.

2. https://www.youtube.com/watch?v=9QzbX8o7pSY
Summation: run live-usb-stick, create partitioning on my own, but select former windows efi-boot-partition and mount it under /boot/efi

The first try left me with a functioning CentOs, but it killed my windows boot entry. Trying to configure a custom boot entry for windows like in the link described or using grub2-probe failed.

The second version ran as smoothly, but after reboot it directly started windows again. I could not get CentOs to run by editing the boot-load with EasyBCD.

As I'm trying for a while, there are a few threads I read, and things that might be important: during installation of CentOs I were not able to decide where the bootloader should go to (at least I think so). Furthermore, although I was able to mount the windows partition in (1), I wasn't able to recreate the boot entry.

I hope for some new directions (or old ones, if you have an indicator what I might have done wrong), as I'd like to get the dual boot to run quite soon. If I missed any information, please ask, and I'll attach it!

Greetings

syg00 10-24-2015 03:21 AM

As is M$ofts wont, they refuse to acknowledge the rest of the world. Hence such bullshit as safe-boot.
I haven't looked at EasyBCD in a while, but I'd be avoiding it for UEFI.

Hopefully you can get into the UEFI boot selection screen from power-up - find the right key; <Esc>, <F10>, <F12>, ...who knows. From there, you should be able to select Centos. Have a look around, and make sure things look ok - particularly /boot/EFI.
From there you can use efibootmgr to change the default boot entry - see the manpage. Been a while since I looked at CentOS, so I'm not sure what repo efibootmgr will be in.

John VV 10-24-2015 01:50 PM

EasyBCD ??????

why are people still trying to use a VERY BAD IDEA from 10 years ago


as above

set the computer to not use Microsoft bastard child Monster of UEFI -- the unholy MONSTER known as "secureboot"
( Boris Karloff needed to narrate that above line )

turn it off
then you can boot into Cent
but you will have to turn it on again to boot into win10

Doug G 10-24-2015 05:02 PM

Not specifically for windows 10, but this may be helpful

http://www.tecmint.com/install-cento...uefi-firmware/

teaxtor 11-01-2015 01:00 PM

Laptop-Specific Problem, Resolved
 
Alright,

thanks for the help, I now found and resolved the problem.
The problem consisted of my Sony Vaio Pro 13 automatically replacing the EFI-Bootloader by a predefined version (most likely due to the manufacturer created partition, though not tested).
Therefore, CentOs hasn't been able to install itself effectivily as an EFI-entry. I used a dirty hack to make the dual boot run. I copied the Windows-Efi, renamed it, and replaced the original one with the shipped shim.efi. By copying the installed grubx64.efi and a valid grub.cfg, I enabled a grub2-bootloader to get started. I had to replace the windows 10-efi-entry within the grub.cfg with the renamed one, but after that everything goes fine.
Disadvantage: no energy-saving/hibernation anymore; and a grub-update/some windows updates/windows disk and repair might corrupt the boot loader. Make sure to have a copy of the working efis or a live-os with you to repair in such situation.

Not a beautiful solution, but it works.

Greetings


All times are GMT -5. The time now is 11:34 PM.