Trouble in boot to grub

today , my Windows 10 seems to have update once...
then restart and continue to update process several times...
While it finish i restart to grub , want to boot the Manjaro...
but it fails...and come up the "grub rescue>" screen...
i can call the grub using these four lines of command:
grub rescue> set prefix=(hd1,gpt4)/boot/grub
set root=(hd1,gpt4)
insmod normal
but everytime i restart computer,it comes the "grub rescue>" screen...
how to make it boot normally to "grub" screen

So, Windows wrecked your grub, again.
Do you still have the USB or DVD you used to install Manjaro? If not, make one cause you gonna need it.
Continue reading here, as you could have found yourself as well when you did a search:


When you boot up to Manjaro, any way - your way (grub rescue way) is fine.
At terminal

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

ps: I think you have bios-legacy system on a gpt disk.
if that is the case, do you have a bios_grub partition?

this is my "df -h" info:

[captain@captain-pc grub.d]$ df -h
文件系统        容量  已用  可用 已用% 挂载点
dev              16G     0   16G    0% /dev
run              16G  1.3M   16G    1% /run
/dev/nvme0n1p4   49G   18G   30G   38% /
tmpfs            16G   40M   16G    1% /dev/shm
tmpfs            16G     0   16G    0% /sys/fs/cgroup
tmpfs            16G   38M   16G    1% /tmp
/dev/nvme0n1p5   45G  4.1G   38G   10% /home
/dev/nvme0n1p1  300M   25M  275M    9% /boot/efi
tmpfs           3.2G   24K  3.2G    1% /run/user/1000
/dev/sda6       873G  156G  717G   18% /run/media/captain/软件
/dev/sda1      1001G  4.2G  996G    1% /run/media/captain/数据

so ,i need to install in /dev/sda??

i have ssd and hdd . my esp partition is in ssd . so, where to "grub-install"?

When booted up to manjaro provide..

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

note: ‘parted -l’ --> small ‘L’ and provide information of all disks.
and print out (not screen shots) your input commands as well as output.

here it comes...
"no output..."

efibootmgr -v

[captain@captain-pc ~]$ efibootmgr -v
No BootOrder is set; firmware will attempt recovery

sudo parted -l

[captain@captain-pc grub.d]$ sudo parted -l
[sudo] captain 的密码:
Model: ATA WDC WD40EFRX-68W (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  标志
 1      1049kB  1074GB  1074GB  ntfs         Basic data partition  msftdata
 6      1211GB  2147GB  936GB   ntfs         Basic data partition  msftdata
 7      2147GB  3221GB  1074GB  ntfs         Basic data partition  msftdata

Model: 未知 (unknown)
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  标志
 1      1049kB  316MB   315MB   fat16        EFI system partition  启动, esp
 2      316MB   74.6GB  74.3GB  ntfs         Basic data partition  msftdata
 3      74.6GB  75.5GB  838MB   ntfs                               隐藏分区, diag
 4      75.5GB  129GB   53.7GB  ext4
 5      129GB   177GB   48.3GB  ext4

sudo blkid

[captain@captain-pc ~]$ sudo blkid
[sudo] password for captain: 
/dev/nvme0n1: PTUUID="4fe6e4fd-d56d-484c-b501-0fceb54f5cdf" PTTYPE="gpt"
/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="B3F6-7956" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="2ca6bb22-c675-4997-914f-488dc80c3b29"
/dev/nvme0n1p2: UUID="315DCF63811977CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8f268d42-4ea9-45c9-9363-77dbdbf39847"
/dev/nvme0n1p3: UUID="32D4EEE2D4EEA6F7" TYPE="ntfs" PARTUUID="8cdd4c04-749c-4008-b498-d89777d75273"
/dev/nvme0n1p4: UUID="ab7c30ea-196d-4767-9288-49ec13944826" TYPE="ext4" PARTUUID="5479c324-5c20-4a16-a865-e7752264e4ee"
/dev/nvme0n1p5: UUID="7d4f19aa-c424-4ae1-a5d6-fb10e5f5d450" TYPE="ext4" PARTUUID="ee3a9ed6-8700-424e-902b-889a5252cf2b"
/dev/sda1: LABEL="M-fM-^UM-0M-fM-^MM-." UUID="B8B08CD4535C0465" TYPE="ntfs" PTTYPE="atari" PARTLABEL="Basic data partition" PARTUUID="6b258caa-9a98-497a-b116-7bcddb204490"
/dev/sda6: LABEL="M-hM-=M-/M-dM-;M-6" UUID="5FD3CA7FE77498EF" TYPE="ntfs" PTTYPE="atari" PARTLABEL="Basic data partition" PARTUUID="f4e5c30b-b922-410f-9e39-8d32f555f355"
/dev/sda7: LABEL="M-fM-^VM-^GM-fM-!M-#" UUID="7D00559793481395" TYPE="ntfs" PTTYPE="atari" PARTLABEL="Basic data partition" PARTUUID="b1634a44-7b3e-45e8-bcff-8a5e9a9c0454"

findmnt -s

TARGET    SOURCE                                    FSTYPE OPTIONS
/boot/efi UUID=B3F6-7956                            vfat   defaults,noatime
/         UUID=ab7c30ea-196d-4767-9288-49ec13944826 ext4   defaults,noatime
/home     UUID=7d4f19aa-c424-4ae1-a5d6-fb10e5f5d450 ext4   defaults,noatime

findmnt /boot/efi

[captain@captain-pc ~]$ findmnt /boot/efi
/boot/efi /dev/nvme0n1p1 vfat   rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro

i have complementing all the six command information...
do you have time to see?

Yes, Captain. :laughing: Just back from doing some chores.

Right. Look at your output. Everything is in place, except

So boot up to manjaro again. Making sure it is in uefi mode.
To check if it is booted up in UEFI, at terminal,

test -d /sys/firmware/efi && echo UEFI || echo BIOS

It must output "UEFI" not "BIOS". Oh, type command carefully. It will give false negative if typed wrongly.

Then we'll continue with some commands.

sudo grub-install
sudo update-grub
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L “manjaro” -l “\EFI\Manjaro\grubx64.efi”

Now type again


Does that give some entries and with Manjaro at top of bootorder?
Copy this output.
Reboot normally.

If you still have problem (but I think you'll be okay), When booted up to Manjaro, print out new output of "efibootmgr" together with the previous output of "efibootmgr" (before reboot).
And tell us computer make and model.

Good luck.

this output:UEFI

output is weird...

[captain@captain-pc ~]$ efibootmgr
BootOrder: 0000
Boot0000* ࠜmanjaroࠝ

yes,it's OK now!
but since last time i boot normally,i have two UEFI boot option can boot the grub normally...
while this time,i only have the "UEFI OS" option boot normally, the "Manjaro" option change to " ࠜmanjaroࠝ" with some faulty font? and it can not boot to grub...and suddently go back to the UEFI boot option ... What's wrong with the "manjaro" boot option?

Finally, you done a great job to rescue my computer, thanks!!!:grin:

1 Like

IMO it's the copy/paste.. the quotes from the forum are converted to smart quotes.
"manjaro" is not the same as "manjaro", even if I used the same keys during typing.
@gohlip is warned about that. It is mostly corrected in the Tutorial, but on new posts this should be considered as a flaw to avoid.

I copied and pasted the same from the post myself. i do not get any error or get "manjaro" instead of manjaro. So what is this discourse thingy that I copied and paste with no problem and the rest having problems? Could it be that I used LANG=en_US.utf8 and you guys do not? Is that a browser problem maybe?

I am getting real sick of this discourse hassles. I edited several times my old posts becasue the rules of coding changes. I have resorted to typing in commands without 'fences', codes or quotes.
It's getting unmanageable.

see this statement befginning with "#"


1 Like

Cool down boss! :heart_eyes::heart_eyes::kissing_smiling_eyes:
You can do it! :joy:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by