can't boot into windows 10 after installing CentOS 8

Issues related to applications and software problems and general support
Danny007
Posts: 8
Joined: 2021/09/12 18:50:02

can't boot into windows 10 after installing CentOS 8

Post by Danny007 » 2021/09/12 19:03:30

Hi,

I had recently install CentOS 8 on my Hp notebook, I installed it using a bootable usb made with Rufus, I already had windows 10 running perfectly but decided I wanted CentOS too on my laptop. Now my laptop only boots directly to CentOS, it wouldn't boot the windows 10 anymore, I've tried all night to fix this issue, I've read multiple post on here but none seemed to address the issue. I safe boot turned off, os-prober comes back with no results, efibootmgr doesn't work either. I'm stuck and confused. Any and help to resolve this will be highly appreciated.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't boot into windows 10 after installing CentOS 8

Post by TrevorH » 2021/09/12 19:39:36

Boot CentOS and tell us whether /sys/firmware/efi exists.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: can't boot into windows 10 after installing CentOS 8

Post by tunk » 2021/09/12 19:46:48

How did you repartition the disk, or what's the output from this (running as root):
fdisk -l

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: can't boot into windows 10 after installing CentOS 8

Post by lightman47 » 2021/09/12 21:20:49

Another thought -
If 'ntfs-3g' isn't installed then grub2-mkconfig won't recognize the Windows partition.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't boot into windows 10 after installing CentOS 8

Post by TrevorH » 2021/09/12 21:37:14

This has all the hallmarks of someone that's used Rufus to create a USB stick that has then stripped out all the UEFI information from the iso as it was copied. When booted from that, due to the lack of UEFI boot info on the newly created USB stick, it boots in Legacy BIOS mode, doesn't recognise the machine is actually in UEFI mode and installs in legacy BIOS mode and then it's not possible to boot the other UEFI aware o/s'es on the machine.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: can't boot into windows 10 after installing CentOS 8

Post by lightman47 » 2021/09/12 21:45:58

Ahhh.

Danny007
Posts: 8
Joined: 2021/09/12 18:50:02

Re: can't boot into windows 10 after installing CentOS 8

Post by Danny007 » 2021/09/15 00:20:21

TrevorH wrote:
2021/09/12 19:39:36
Boot CentOS and tell us whether /sys/firmware/efi exists.
Hi Trevor, I checked but /sys/firmware/efi doesn't exist

Danny007
Posts: 8
Joined: 2021/09/12 18:50:02

Re: can't boot into windows 10 after installing CentOS 8

Post by Danny007 » 2021/09/15 00:21:43

TrevorH wrote:
2021/09/12 21:37:14
This has all the hallmarks of someone that's used Rufus to create a USB stick that has then stripped out all the UEFI information from the iso as it was copied. When booted from that, due to the lack of UEFI boot info on the newly created USB stick, it boots in Legacy BIOS mode, doesn't recognise the machine is actually in UEFI mode and installs in legacy BIOS mode and then it's not possible to boot the other UEFI aware o/s'es on the machine.
Very Correct, I used Rufus to create the USB stick, does this mean I have a corrupted version of the CentOS?

Danny007
Posts: 8
Joined: 2021/09/12 18:50:02

Re: can't boot into windows 10 after installing CentOS 8

Post by Danny007 » 2021/09/15 00:23:15

lightman47 wrote:
2021/09/12 21:20:49
Another thought -
If 'ntfs-3g' isn't installed then grub2-mkconfig won't recognize the Windows partition.
Hi Lightman, how do I go about the ntfs-3g pls all suggestions will help.

Danny007
Posts: 8
Joined: 2021/09/12 18:50:02

Re: can't boot into windows 10 after installing CentOS 8

Post by Danny007 » 2021/09/15 00:24:54

tunk wrote:
2021/09/12 19:46:48
How did you repartition the disk, or what's the output from this (running as root):
fdisk -l
I repartitioned the disk from windows before installing CentOS, during the repartition I converted the new disk space to ntfs

Post Reply