LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2019, 04:44 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: CentOS, Debian & Fedora
Posts: 708

Rep: Reputation: 53
Question Win10, Kali & CentOS triple boot


Hey Guys,

I am not able to boot into my Windows 10 partition since it is not listed on CentOS 7 grub menu. Kali & CentOS are listed and they both boot up fine.

First, I installed Windows 10 as Primary Partition with 140GB. Booted okay

Second, I installed Kali2019.1a as Primary partition with 40GB (no swap). Kali grub showed Win10 and Kali OSs and booted to both okay.

Third, I installed CentOS as extended partition with 59GB and 5G of swap. Also chose to encrypt the CentOS installation. Centos Grub shows Kali and CentOS and booted to both okay.

is there any configuration I have to do for CentOS 7 to show Windows 10 OS on Grub?

Lenovo B40-80 laptop with a 250GB Intel SSD.
Thank you!
# fdisk -l:

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000    7  HPFS/NTFS/exFAT
/dev/sda2         1026048   276113407   137543680    7  HPFS/NTFS/exFAT
/dev/sda3       276113408   354238463    39062528   83  Linux
/dev/sda4       354238464   468860927    57311232    5  Extended
/dev/sda5       354240512   356337663     1048576   83  Linux
/dev/sda6       356339712   468860927    56260608   83  Linux

Disk /dev/mapper/luks-263a3731-f833-4741-b3a4-fc8b880d289d: 57.6 GB, 57608765440 bytes, 112517120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-root: 34.8 GB, 34762391552 bytes, 67895296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-swap: 5867 MB, 5867831296 bytes, 11460608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-home: 17.0 GB, 16970153984 bytes, 33144832 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
 
Old 03-19-2019, 05:12 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,823

Rep: Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842
You don't show an EFI partition which is unusual for windows 10. That means a Legacy/MBR install. First thing I would try is to boot CentOS and open a terminal as root user and run the command below:

Code:
grub2-mkconfig --output=/boot/grub2/grub.cfg
Watch the output in the terminal to see if a windows entry is detected. If not, go to the link below and go through the steps. It's not possible to tell what the first partition is, a windows boot partition or a Recovery partition. If it is not a boot partition, you may need to change the boot/active from sda1 to sda2.

https://dareneiri.github.io/Configur...2-on-CentOS-7/
 
2 members found this post helpful.
Old 03-20-2019, 08:55 AM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: CentOS, Debian & Fedora
Posts: 708

Original Poster
Rep: Reputation: 53
Yancek,

yes, I have Legacy/MBR for Windows 10.

Thank you for your help! I followed the steps above and now I am able to boot to Windows 10.
 
Old 03-21-2019, 12:52 PM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: CentOS, Debian & Fedora
Posts: 708

Original Poster
Rep: Reputation: 53
for kicks, I installed a Centos 7 VM and attempted to update. I got the same error message.
Thank you all!
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] In a dual boot (windows 10 and kali (Debian)) but win10 doesn't show in the boot screen LilDeadGirl Linux - Software 5 03-02-2019 09:21 PM
Switching from win10 to a linux distro with win10 vm kevgk Linux - Virtualization and Cloud 3 11-01-2018 06:36 AM
Triple-boot Kali 2.0/LXLE 14.04.2/Win7 - USB 3.0 file transfer issues in Kali MX372 Linux - Hardware 4 10-10-2015 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration