Manjaro grub rescue unknown filesystem

Hello, i installed manjaro gnome a day ago alongside windows 10, everything worked perfectly untill today, windows needed to make the usual updates. After restart, it didn’t boot into grub, it boot into grub rescue. I follow a few tips on how to pass this, so here is are the commands i used to enter grub:

I identified which partition i had to enter with ls and this example:
set prefix=(hd1,gpt7)/boot/grub
set root=(hd1,gpt7)
insmod normal
normal

I red somewhere that after getting to grub i have to enter windows and let it finish the updates. Well it finished, i actually checked and it said updates are up to date. After that i have to boot into manjaro and upgrade grub.

These are the commands i tried:

sudo grub-install /dev/sda
sudo grub-install --recheck /dev/sda
sudo update-grub

but with no succes, everytime i start the laptop it boots into grub rescue. Any ideea what i can do?

Follow petsam below. :rofl:

Before that you have to realize what happened.
Probably, your beloved WinOS re-enabled the “fastboot” very handy feature, even if you might have disabled it. So nice…

So, you actually got into manjaro GUI or TTY?

You mean, not even to Grub menu?

About what you can do, is :

  • Follow this tutorial and boot into manjaro
  • Repair the boot order, as the tutorial instructions

Edit: or boot into WinOS and disable fastboot

After it fails again, post some info of your system

efibootmgr -v
sudo parted -l
sudo blkid
findmnt -s
findmnt /boot/efi

When you find some spare free time, read some of the Tutorials in the forum, so you learn how to avoid this kind of troubles.

1 Like

GUI

First it goes into a black screen:
welcome to grub rescue:
where i have to add these commands to get into the grub menu:

set prefix=(hd1,gpt7)/boot/grub
set root=(hd1,gpt7)
insmod normal
normal

i’ll try now your methods

ok, so i tried the steps from the tutorial and the problem still persists. i ran the commands you asked me and this is what they returned:

efibootmgr -v

BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0005,0002,0000
Boot0000  Windows Boot Manager	HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0002  CD/DVD Drive 	BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.U.7.1.N....................A...........................>..Gd-.;.A..MQ..L.Z.K.D.3.L.6.2.7.1.1. .7. . . . . . . . ........BO
Boot0004* manjaro	HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\Manjaro\grubx64.efi)
Boot0005* UEFI OS	HD(6,GPT,3956ff53-c766-4d18-b187-6bdd341176ae,0x1d25d001,0x647ff)/File(\EFI\BOOT\BOOTX64.EFI)

sudo parted -l

Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  524MB  523MB   ntfs         Basic data partition          hidden, diag
 2      524MB   629MB  105MB   fat32        EFI system partition          boot, esp
 3      629MB   646MB  16,8MB               Microsoft reserved partition  msftres
 4      646MB   127GB  127GB   ntfs         Basic data partition          msftdata
 5      127GB   250GB  123GB   ntfs         Basic data partition          msftdata
 6      250GB   251GB  211MB   fat32                                      msftdata
 7      251GB   500GB  250GB   ext4

sudo blkid

/dev/sda1: LABEL="Recovery" UUID="024AC0064ABFF48F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2b3132ed-fe04-4c45-b36b-45a68e2f84ea"
/dev/sda2: UUID="30C0-43E1" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1e1d6605-430e-4a7f-96f0-0fd009ceb12c"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="2d3f0308-5205-4d2b-ba5d-9737a5d260bd"
/dev/sda4: UUID="6A08C3C408C38D8F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="da2c7be1-3fc5-4d66-b4b1-67be858ae14f"
/dev/sda5: LABEL="Alex" UUID="B4BE62E5BE62A01A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="831ef720-b95d-4b76-bae5-6fa2399b68b9"
/dev/sda6: UUID="A57E-BF29" TYPE="vfat" PARTUUID="3956ff53-c766-4d18-b187-6bdd341176ae"
/dev/sda7: UUID="28144471-627e-42f9-995b-5ea70424aeac" TYPE="ext4" PARTUUID="642d74e9-5936-428a-a709-734a564c7738"

findmnt -s

TARGET    SOURCE                                    FSTYPE OPTIONS
/boot/efi UUID=A57E-BF29                            vfat   defaults,noatime
/         UUID=28144471-627e-42f9-995b-5ea70424aeac ext4   defaults,noatime,discard
/tmp      tmpfs                                     tmpfs  defaults,noatime,mode=1777

findmnt /boot/efi

TARGET    SOURCE    FSTYPE OPTIONS
/boot/efi /dev/sda6 vfat   rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro

I suspect you have the wrong partition mounted for /boot/efi in your fstab.

cat /etc/fstab | grep efi

Change the UUID to 30C0-43E1

1 Like

And then issue command

sudo umount /boot/efi
sudo mount /dev/sda2 /boot/efi
sudo grub-install
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/sda -p 2 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"


1 Like

This will create another entry which, again has to be set as 1st in order.
I thought that since the old entry was successful, the proper root (grub config) could be focused. Is it?

His current manjaro bootentry is at sda2

While is current /boot/efi is sda6.

He can keep his sda6 as /boot/efi but he has to redo his efibootmgr as follows…

sudo efibootmgr -c -d /dev/sda -p 6 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"

Note partition should be “6”, not “2”

And yes, he may have 2 ‘manjaro’ entries, depends on his uefi firmware.
But we can delete the older one later on.

ok, so in the end what commands i have to use?
i am bit confused

Do you want to use sda6 as your $esp (/boot/efi) or do you want to maintain the current $esp as sda2?

You have to decide. Both will work.
Just tell us.

maintain this one, i’m sorry i am unexperienced when it comes to these kind of problems :slight_smile:

Spell it out.
sda2 or sda6.
I don’t work with ambiguity. I’m not a prevaricating politician.

maintain the current $esp as sda2

In Manjaro installed OS terminal.

Okay, then as Petsam’s instructions. I’ll repeat

Go to /etc/fstab
change UUID from A57E-BF29 to 30C0-43E1
Save file /etc/fstab.
Then do

sudo umount /boot/efi
sudo mount /dev/sda2 /boot/efi
sudo grub-install
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/sda -p 2 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"

When done, and working (boots to Manjaro), at manjaro terminal, provide

efibootmgr -v

We need to clean up your efibootentries.
That’s just for good housekeeping. Nothing to worry about.

how can i say this better? you are nr 1 :smiley: it worked

this is the output of efibootmgr -v

BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0001,0005,0002,0000
Boot0000  Windows Boot Manager	HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* manjaro	HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\manjaro\grubx64.efi)
Boot0002  CD/DVD Drive 	BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.U.7.1.N....................A...........................>..Gd-.;.A..MQ..L.Z.K.D.3.L.6.2.7.1.1. .7. . . . . . . . ........BO
Boot0003* manjaro	HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\Manjaro\grubx64.efi)
Boot0005* UEFI OS	HD(6,GPT,3956ff53-c766-4d18-b187-6bdd341176ae,0x1d25d001,0x647ff)/File(\EFI\BOOT\BOOTX64.EFI)

but when i used ‘sudo efitbootmgr etc.’ i got a warning that manjaro label is already used, you can check the screen

Okay, no problem. It’s your uefi firmware. Good actually, if we think about it.
But I do not see your 0004 (your old Manjaro entry ) and that has been replaced by your firmware (good). And you have 2 similar ‘manjaro’ entries in 0001 and 0003 now.
I actually want to remove 0004.

Tell you what. It’s late here and I think we can either remove 0001 or 0003.
But I think we best leave them alone and there is no harm in having both.
If that is okay with you.

Oh, you’re welcome. I’m glad to have petsam’s help here too.
Good night.

alright, thank you very much :slight_smile:

Yep.
I think my thought was finally/actually correct. He could just do only the fstab change

* manjaro|HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\manjaro\grubx64.efi)
* manjaro|HD(2,GPT,1e1d6605-430e-4a7f-96f0-0fd009ceb12c,0xfa000,0x32000)/File(\EFI\Manjaro\grubx64.efi)

Exactly the same entries… The label could be advised to be different, maybe (Manjaro, ManjaroNew)

Still learning… :man_student: