Windows 10 / CentOS 7 will not dual boot
I installed Windows 10 first, then installed CentOS 7. I don't think CentOS overwrote the windows partition. But there is no option to boot windows. I have the option of booting centos, or centos.
I found no option to configure a bootloader during the centos installation. |
would be nice to give us more details, like your partition information.
|
open a terminal and post the output of
Code:
sudo lsblk -f |
NAME FSTYPE LABEL UUID MOUNTPOINT
sda ├─sda1 ntfs System Reserved 02A4B917A4B90DE3 ├─sda2 ntfs A62E4BB92E4B8173 ├─sda3 xfs 249a2634-0644-4bd9-9ab8-8d3c25ae2c48 ├─sda4 ├─sda5 xfs e26c7c3e-3e7d-43ec-b46b-8bfe86572ed4 /boot ├─sda6 swap dc0e7787-1b7c-4270-845a-38e2037e781b ├─sda7 xfs root 5b00eae9-156b-4de6-be30-f60f676eef87 / └─sda8 xfs 3e810b28-1a01-4520-84ba-56d83352dc1e /home I cannot find an efi file. cat /sys/firmware/efi cat: /sys/firmware/efi: No such file or directory $ ls -l /sys/firmware total 0 drwxr-xr-x. 5 root root 0 Feb 13 15:03 acpi drwxr-xr-x. 4 root root 0 Feb 13 20:03 dmi drwxr-xr-x. 12 root root 0 Feb 13 20:03 memmap drwxr-xr-x. 2 root root 0 Feb 13 20:27 qemu_fw_cfg |
post
Code:
cat /etc/default/grub |
# cat /etc/default/grub
GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet" GRUB_DISABLE_RECOVERY="true" |
That looks like a MBR (aka MS-DOS) partition table. So non-UEFI, non-gpt - I didn't think retail versions of Win10 allowed that.
Check your firmware (i.e. BIOS) screens and make sure EFI mode is selected - not CSM (legacy) mode. Then erase the disk and re-install every thing again from scratch. |
Quote:
|
Try this first,
add this to etc/default/grub Code:
GRUB_DISABLE_OS_PROBER=false Code:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg |
> OP already installed windows that way (I think). So it worked first. But OP will explain it.
Yes, I originally installed windows, and windows booted and worked just fine. |
would be nice to see the detailed info about those partitions (like size). Windows needs an efi partition, probably that's why it cannot be booted. What is sda4?
|
Quote:
post the output of Code:
sudo parted -l |
Code:
# grub2-mkconfig -o / boot/grub2/grub.cfg In context: (lines 279 to 293 of /usr/sbin/grub2-mkconfig): Code:
if test "x${grub_cfg}" != "x" ; then |
Quote:
Code:
# parted -l |
Maybe I would do better with something more recent? Rocky Linux, Oracle Linux, Fedora, or Stream CentOS?
|
All times are GMT -5. The time now is 05:57 AM. |