Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.


  Search this Thread
Old 10-22-2015, 01:02 PM   #1
LQ Newbie
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
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:

Summation: run live usb-stick, create partitioning on my own, result in two efi-boot-partitions.

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!

Old 10-24-2015, 04:21 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,051

Rep: Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670
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.
Old 10-24-2015, 02:50 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,531

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
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
Old 10-24-2015, 06:02 PM   #4
Doug G
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Not specifically for windows 10, but this may be helpful
Old 11-01-2015, 02:00 PM   #5
LQ Newbie
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Laptop-Specific Problem, Resolved


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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
grub boot loader installation in dual boot machine after windows 7 installation sourabh.sinha Linux - Newbie 4 03-23-2010 10:22 AM
Upgraded windows on my dual boot- grub loader? bourne Linux - Laptop and Netbook 2 03-20-2007 03:36 PM
using windows nt boot loader to dual boot in raid erichoangnguyen Linux - Newbie 7 12-21-2006 08:13 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-09-2005 12:59 AM > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration