Hi, could you help me to restore a grub after installing windows. I have following partitions:
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part → (fat32 boot)
├─nvme0n1p2 259:2 0 112.9G 0 part → (Linux partition)
├─nvme0n1p3 259:3 0 16M 0 part —> (Microsoft reserved partition)
├─nvme0n1p4 259:4 0 116.5G 0 part → (Windows partition)
└─nvme0n1p5 259:5 0 8.8G 0 part (swap)
Boot from live Manjaro USB and then you can chroot automatic with command
manjaro-chroot -a and from there you could restore grub following the part corresponding to your system (BIOS/MBR or UEFI).
Can I fix it from endeavouros? Somehow I couldn’t boot from manjaro
Can you boot to a live USB Manjaro ISO?
“Invalid arch independent ELF magic error”
Did you use Rufus? If you did, try another software to write the Manjaro Live USB. Ventoy is available for Windows as well as for Linux. Please see:
I could restore grub, but now I can’t boot in Windows
Should I use windows disk to restore windows boot loader?
if you run
sudo update-grub does it detects windows?
Yes, it detects
Windows Boot Manager auf /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
so just reboot and check if windows appears in grub menu
It boots directly in manjaro, I don’t get the grub menu
so go to /etc/default/grub and edit this line to look like this:
reboot and the menu should appear
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.