I had a Manjaro KDE / Windows 10 Dell XPS 13 for a few years now. I’ve been running Manjaro KDE in this dual-boot setup for almost 2 years (woohoo!) without any hiccups. Well I recently hit some big issues, and with no recent backups, reinstalling Manjaro (only) was the easier route.
Background:
This time around I thought I would give Manjaro Gnome flavor a shot, so I created my Live USB, formatted all my partitions (Root, Home, Swap) and did a reinstall. To be clear, I did not do anything to the Windows 10 partition(s) and did not touch anything there.
Problem:
Afterwards I was greeted with my Dell XPS booting directly into Manjaro, and no Grub menu for me to choose Windows 10. Inside my Dell Bios, there are a few different options for boot options:
I am assuming the Manjaro boot option listed above was replaced here by my ‘fresh’ install and the Windows Boot Manager option was from before I did a reinstall. I tried to ‘force’ my system to boot into Windows (just so I knew things were okay) by forcing it here:
So, I think the main problem is that Manjaro is not detecting Windows properly.
Questions:
Do I need to install Grub? Will that detect my Windows 10 installation correctly?
Since I am not using Grub now (and no matter if I chooose Manjaro or Windows Boot Manager) it boots into Manjaro, am I using the Systemd-boot? (Just curious)
Any help here on how I can get my system to detect both OS’s and allow me to choose which to use (just like I’ve had for the past 2 years), would be greatly appreciated. Thanks in advance to everyone for your time and help, it is greatly appreciated!
You are most likely using GRUB ─ which is the default boot loader ─ and Windows will have been detected and added to the menu during installation. Your problem is that you think GRUB was not installed because you don’t see a menu at boot time.
Open up the file /etc/default/grub in an editor and change the line…
GRUB_TIMEOUT_STYLE=hidden
… into…
GRUB_TIMEOUT_STYLE=menu
Save the file and then, in a terminal, run the following command…
Looks like it doesn’t recognize my windows (and possibly boot partitions since it’s complaining about nvme0n1)? Here’s a breakdown of my system in gparted:
The legacy_boot tag on nvme0n1p7 has been removed (this is a slightly older screenshot from this morning). Mainly, I think the issue has to deal with the “unknown device type nvme0n1” message in the first screenshot.
Please let me know if I can provide any additional information to help troubleshoot.
It appears your Microsoft EFI is fine… The fact that when you booted into Windows via Firmware and it redirected you back to Manjaro can be normal operation. Sometimes EFI systems will go directly to Windows because they see it as default. This is an issue because it bypasses any Linux Bootloader. So then you have to go into Windows and edit the BCD and tell it to go back to Grub or what other boot loader may be. At this point I would not worry too much about that.
Try reinstalling Grub and updating your Grub config files and recheck with the following commands;
nvme0n1p1 looks to be a recovery partition and looks like grub is trying to probe that partition and ignoring nvme0n1p4 which is your actual Windows Install.
Also, your swap partition should have one flag and that is “swap” remove all other flags. But, I don’t think this has anything to do with your issue.
Curious, your Gparted does not show the mounting points… the column should be between “File System” and “Size”. Can you paste the output of lsblk ?
OK, go to /boot/efi/EFI/Boot and see if there is an efi file called bootx64.efi there.
If not, then run the following command, actually run the command anyway;
It looks like in the BIOS, both boot entrees are pointed to the same grubx64.efi file. I’m assuming the Windows one should point to it’s own Boot File?