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

Notices


Reply
  Search this Thread
Old 10-22-2015, 12:02 PM   #1
teaxtor
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:

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
 
Old 10-24-2015, 03:21 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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, 01:50 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 05:02 PM   #4
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Not specifically for windows 10, but this may be helpful

http://www.tecmint.com/install-cento...uefi-firmware/
 
Old 11-01-2015, 01:00 PM   #5
teaxtor
LQ Newbie
 
Registered: Oct 2015
Posts: 2

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


Reply



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 09:22 AM
Upgraded windows on my dual boot- grub loader? bourne Linux - Laptop and Netbook 2 03-20-2007 02:36 PM
using windows nt boot loader to dual boot in raid erichoangnguyen Linux - Newbie 7 12-21-2006 07:13 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-08-2005 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 08:47 PM.

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