Unable to Boot into Windows or Linux (Dualboot)

Hi, I’ve just recently installed manjaro (after having ubuntu installed and its partition replaced with manjaro), with the only Problem that I couldn’t get the Option to boot into manjaro. I could only boot into manjaro by plugging in my USB stick with the ISO.

Now i accidently deleted the old bootloader that gave me the options between ubuntu and Windows. I can’t even Boot into manjaro anymore, I can only use the live Version now.
How can I get the bootloader back?
Thanks in advance for helping me with my stupid problems.

Hey Billybob, I have a similar problem. You may wish to read my post which is above yours. From my newbie experience, it looks like you need to reinstall Manjaro with your USB stick and then boot with your USB stick until you/we get a resolution to the GRUB boot problem.

Do you have a winPE USB stick and a ESP partition? if so ,my solution will be to recover your Windows first and then use easyUEFI software to try to find the boot file of manjaro

What is you computer make and model?
See if this helps.
If it does not, let us know after booting up to Manjaro

sudo parted -l
efibootmgr -v
findmnt -s
sudo blkid

@Rykker Is your problem fixed?
Always let us know in the relevant post.
It’s not good to ‘walk away’ either way it’s fixed or not.
Others may want to learn from it. That’s what forums are for. It’s not just about us.
If you refer billybob to it without letting him know it’s fixed or not, why refer to it at all?

ps: taking a long break. or a short walk on a long pier.
feeling grouchy - intel-ucode, grub-customizer FUD and christ.

So I’ve managed to get the grub menu back by reinstalling manjaro. Now the only Problem is that it wont show me Windows, nor can I add it to the menu. I already tried to edit /etc/grub.d/40_custom. When I try to choose Windows in my Menu it tells me it cant find this partition. So I assume thats bc gparted showed me that the Windows partition is not mounted nor can I Mount it.

.
.
.
[hint] - windows and manjaro are on different modes (uefi or bios-legacy)

How? I’ve never changed the modes. The grub menu tells me now when I choose Windows
“Error: invalid EFI file path.” Is this really just bc of different modes? Wouldn’t that mean I’d have to Reinstall manjaro to the same mode that Windows is on?

Yes.
.
.
.

How can I get both into the same mode? Manjaro is uefi, i checked. I thought my Windows was also uefi. I really appreciate your help!

i can’t say I disagree, (newb’s making uefi vs mbr mistakes during install), and I can’t say that this doesn’t also happen in other distro’s, but geezus, atleast HALF of the new posts on this manjaro forum, lately, revolve around these new(er) grub Manjaro iso’s, since whenever, not to mention the mhwd mess’s. ?
Sry, but, I call 'em as I see 'em, and I’ve seen a lot of them here ???!!!
this has to be fixed guys/gal’s, at the dev levels.
No really, this ■■■■ has to be narrowed-down, and fixed!, meaning this is one thing that Manjaro can NOT blame Arch-upstream, or anyone else for.

I’ve said it before, and now I’m saying it again.
imho.
:slight_smile:

2 Likes

You have to go to bios-setup (F2) and boot as bios-legacy. Usually in “Boot” section. Depends on your computer make and model. I am assuming your windows is bios-legacy and your disk is msdos. But you hae not provided enough information for us to be sure.

And…Can you at least boot into manjaro first and then let us know…

Then we can be sure about your system. But generally almost all computer systems do not have a problem with booting in bios-legacy. Only a few has problems with UEFI. We are not 100% sure if your windows is bios-legacy and disk is msdos. If you are sure, tell us and how you are sure. The info we requested can help us determine that.

I agree with you. As said so many times before, the installer should prevent installation of uefi into msdos partitioned disks (and alert us if we try). And also an alert if we try to install bios-legacy into gpt disks (advanced users may want to do this but newer users should be aware of complications needed to be handled).

More than me? :grinning:

I have stopped saying. :frowning_face: Just trying to help poor new souls getting into this hell.

2 Likes

I’ve got a Lenovo E31-80 80MX0109GE Laptop.

sudo parted -l
Modell: ATA WDC WD5000LPCX-2 (scsi)
Festplatte /dev/sda: 500GB
Sektorgröße (logisch/physisch): 512B/4096B
Partitionstabelle: gpt
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Name Flags
1 1049kB 274MB 273MB fat32 efi_boot boot, esp
2 274MB 290MB 16,8MB Microsoft reserved partition msftres
3 290MB 169GB 169GB ntfs Windows msftdata
8 169GB 242GB 72,4GB ext4 manjaro
10 242GB 451GB 209GB ntfs msftdata
9 451GB 459GB 8442MB linux-swap(v1)
4 459GB 486GB 26,8GB ntfs Basic data partition msftdata
5 486GB 487GB 1049MB ntfs Basic data partition versteckt, diag
6 487GB 499GB 12,2GB ntfs Basic data partition versteckt, diag
7 499GB 500GB 1049MB fat32 Basic data partition versteckt

efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,2003,0025,2001,2002
Boot0000* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* EFI Hard Drive (WDC WD5000LPCX-24VHAT0) PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)/HD(1,GPT,57059516-b120-44ad-b5fa-7919a7e70edc,0x800,0x82000)RC
Boot000F* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0010* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0011* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0012* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0017* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0018* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0019* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot001C* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot001D* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot001E* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0021* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0022* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0023* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0024* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0025* Lenovo Recovery System HD(7,GPT,7482f653-3098-4ee5-81b8-d7e98ea1ef7c,0x3a192000,0x1f4000)/File(\EFI\Microsoft\Boot\LrsBootMgr.efi)RC
Boot0026* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0027* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot002C* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot002D* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot002E* EFI Network 0 for IPv4 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot002F* EFI Network 0 for IPv6 (FC-45-96-52-CD-92) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(fc459652cd92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC

findmnt -s
TARGET SOURCE FSTYPE OPTIONS
/boot/efi UUID=8766-D020 vfat defaults,noatime
/ UUID=045045c4-b027-4de8-877a-a646d606f083 ext4 defaults,noatime
swap UUID=e621164a-be60-47a4-9aa7-ef498c2d9086 swap defaults,noatime

sudo blkid
/dev/sda1: UUID=“8766-D020” TYPE=“vfat” PARTLABEL=“efi_boot” PARTUUID=“57059516-b120-44ad-b5fa-7919a7e70edc”
/dev/sda2: PARTLABEL=“Microsoft reserved partition” PARTUUID=“2820f58c-b56d-451d-9a17-48cd0c1ea434”
/dev/sda3: LABEL=“Windows” UUID=“046C2CAD6C2C9C04” TYPE=“ntfs” PARTLABEL=“Windows” PARTUUID=“c4553d46-355a-4243-8ce5-680e667e67c3”
/dev/sda4: LABEL=“LENOVO” UUID=“DA74E94D74E92CC7” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“1081efa0-bbbe-4db0-838d-76806cb10161”
/dev/sda5: LABEL=“WINRE_DRV” UUID=“5CBCEA22BCE9F704” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“fbeb6ec1-21c6-480a-b321-92bafc81d569”
/dev/sda6: LABEL=“LENOVO_PART” UUID=“3456ED2256ECE598” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“608bc370-e29a-42e4-9bef-a5af182afffb”
/dev/sda7: LABEL=“LRS_ESP” UUID=“D636-E709” TYPE=“vfat” PARTLABEL=“Basic data partition” PARTUUID=“7482f653-3098-4ee5-81b8-d7e98ea1ef7c”
/dev/sda8: UUID=“045045c4-b027-4de8-877a-a646d606f083” TYPE=“ext4” PARTLABEL=“manjaro” PARTUUID=“e263b9a7-9f12-4051-bed7-8eb44f8dc104”
/dev/sda9: UUID=“e621164a-be60-47a4-9aa7-ef498c2d9086” TYPE=“swap” PARTUUID=“9daf1bb9-0b51-40a5-8bfd-e2395bf6157c”
/dev/sda10: LABEL=“Windows” UUID=“046C2CAD6C2C9C04” TYPE=“ntfs” PARTUUID=“758044ff-b588-4c6e-aad6-19de709c7407”

Lucky that you provide the data.
We all had assumed your windows is bios-legacy and msdos partitioned.
All wrong assumptions.

But… the very bad news.

  1. Your windows boot is missing (at least not in efibootmgr)
  2. Another Lenovo which cannot let other OS’s boot as UEFI (at least not easily)

We know you can boot Manjaro by plugging in the USB install stick.
Can you find out if you can boot windows the same way? (it is likely you cannot)
So if you are still on Manjaro, can you find it with

sudo ls /boot/efi/EFI/
sudo ls /boot/efi/EFI/Microsoft/
sudo ls /boot/efi/EFI/Microsoft/Boot/

Any bootmgfw.efi anywhere?

Hope you know what I am looking for. The file bootmgfw.efi anywhere. (It is likely it is missing)
Your likely solution is to reinstall Windows and then reinstall Manjaro. Sorry, does not look good.

ps: it is late here. may be sometime you hear from me.

Another thing (unlikely, but let’s find out)
See if there is any file ‘bootmgr’ in any of your ntfs partitions. sda3,4,5,6 and 10.
At partition level, not within any folder.
At grub prompt, we can look
grub> search.file /bootmgr

At OS level, we need to use file manager and look for it in these partitions OR a find/locate but never mind this.

Heres the result:

sudo ls /boot/efi/EFI/
boot Manjaro
sudo ls /boot/efi/EFI/Microsoft
ls: Zugriff auf ‘/boot/efi/EFI/Microsoft’ nicht möglich: Datei oder Verzeichnis nicht gefunden
sudo ls /boot/efi/EFI/Microsoft/Boot/
ls: Zugriff auf ‘/boot/efi/EFI/Microsoft/Boot/’ nicht möglich: Datei oder Verzeichnis nicht gefunden

Doesn’t seem like its there.
I also don’t think I can boot windows since I don’t have an usb install stick.

EDIT: the result for search.file /bootmgr in grub cli

hd0,gpt10 hd0,gpt7 hd0,3

(Gpt10 and 3 should be the same, since i tried copying the Windows partition into free space i had in an desperate attempt to get access again)

Yes, as expected.

Wait. This is some thing interesting. Now which is the real windows OS partition.
Which is ‘c’ drive?

Now boot up our install media in legacy mode and at grub prompt, do this

grub> insmod ntfs
grub> set root=(hdx,y)
grub> ntldr /bootmgr
grub> boot

Now does that boot windows?
Oh…(hdx,y) is the 'c drive, so like (hd0,3) or (hd0,10)

Let us know, right.

After choosing legacy support, Booting doesnt give the grub commandline, after it fails do to anything it just sends me back to uefi.

To clarify, do you get the install menu? (in bios-legacy mode)
If you type ‘c’ (at install menu), it goes back to ‘uefi’ ? Meaning it goes back to bios setup?

I dont, or do you perhaps mean that I need to use my manjaro boot stick in legacy mode and from the install menu press c to get into grub?