LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Win10, Kali & CentOS triple boot (https://www.linuxquestions.org/questions/linux-newbie-8/win10-kali-and-centos-triple-boot-4175650500/)

ceantuco 03-19-2019 03:44 PM

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


yancek 03-19-2019 04:12 PM

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/

ceantuco 03-20-2019 07:55 AM

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.

ceantuco 03-21-2019 11:52 AM

for kicks, I installed a Centos 7 VM and attempted to update. I got the same error message.
Thank you all!


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