Cannot boot into Manjaro (stuck in grub)

Hello, clever people! I need help installing Manjaro / booting Manjaro up.

My situation:
I got a laptop without a working operating system. I thought it would be no problem for me to install Linux (Manjaro)… BUT THERE WERE MANY PROBLEMS!

I will not deny these problems because I could solve them. But now I have no plan how to go on…

The problem:
I installed Manjaro KDE on the empty hard disk (with a USB stick). After installation I wanted to reboot the system to boot from the hard disk. But the system boots only in GRUB mode (i cannot type or do anything).

After hours of research I found out that Grub can be rescued (https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader) so I tried and succeeded but… After I restarted again the same issue accured

I hope I explained my situation reasonably well. I thank you in advance for all answers and hope someone can help me.

If there are any questions about my situation, I will be happy to give you information

Here’s the GRUB help…

https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader

1 Like

I already tried this serveral times…

Hello! It worked till a sertant point…

Maybe I am wrong about the fact that the Laptop uses UEFI?

I hope you can help me… Thank you so much :slight_smile:

Additional: The commant at point 3 gives no awnser/output

Command " grub> echo $grub_platform " ?
You typed correctly?

No 'eif/boot/mmm,m,m,m"
Note: Please print, no screen shots.

You have a missing something. Will be shown when you provide info, as per link…
efibootmgr -v
sudo parted -l
sudo blkid
findmnt -s
findmnt /boot/efi

See link. And PRINT.

1 Like

Hello again!

So I did type it wrong (echo $grub_platform) and the output is “efi”

Information:

efibootmgr -v

BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0004,0005,0006,0002,0003
Boot0002 UEFI: IP4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x15,0x0)/Pci(0x0,0x0)/MAC(208984134866,0)/IPv4(0.0.0.00.0.0.0,0,0)AMBO
Boot0003 UEFI: IP6 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x15,0x0)/Pci(0x0,0x0)/MAC(208984134866,0)/IPv6([::]:<->[::]:,0,0)AMBO
Boot0004* Hard Drive BBS(HD,0x0)AMGOAMNO…m.S.T.5.0.0.L.M.0.1.2. .H.N.-.M.5.0.0.M.B.B…A…>…Gd-.;.A…MQ…L.2.S.S.R.9.J.C.K.0.C.9.0.8.0. . . . . . …AMBOAMNO…y.G.e.n.e.r.a.l. .U.S.B. .F.l.a.s.h. .D.i.s.k. .1…0.0…A…L…Gd-.;.A…MQ…L.G.e.n.e.r.a.l. .U.S.B. .F.l.a.s.h. .D.i.s.k. .1…0.0…AMBO
Boot0005* CD/DVD Drive BBS(CDROM,0x0)AMGOAMNO…m.T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.N.-.2.0.8.B.B…A…>…Gd-.;.A…MQ…L.8.R.9.F.G.6.C.K.0.9.2.1.6.Y. . . . . . …AMBO
Boot0006* UEFI: General USB Flash Disk 1.00 PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(2,MBR,0x22e7651f,0x3fa900,0x2000)AMBO

sudo parted -l

Model: ATA ST500LM012 HN-M5 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 2098kB 317MB 315MB fat32 boot, esp
2 317MB 492GB 492GB ext4
3 492GB 500GB 7861MB linux-swap(v1)

Model: General USB Flash Disk (scsi)
Disk /dev/sdb: 8023MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 32,8kB 2136MB 2136MB primary boot
2 2136MB 2140MB 4194kB primary esp

sudo blkid

/dev/sda1: UUID=“556B-3467” TYPE=“vfat” PARTUUID=“f100b2a3-587b-4307-9a81-bd529c491252”
/dev/sda2: UUID=“a2604ea0-a8a9-4db1-bca7-89514b51a18f” TYPE=“ext4” PARTUUID=“24502146-aa60-4ab3-8234-61d868a9b98b”
/dev/sda3: UUID=“c6076ee2-2f61-4309-803f-1cd4dad4f1db” TYPE=“swap” PARTUUID=“e82cb958-6031-4cf0-8816-08cb000d4d63”
/dev/sdb1: UUID=“2018-05-07-19-31-30-00” LABEL=“MJR17110” TYPE=“iso9660” PARTUUID=“22e7651f-01”
/dev/sdb2: SEC_TYPE=“msdos” LABEL=“MISO_EFI” UUID=“0040-24ED” TYPE=“vfat” PARTUUID=“22e7651f-02”

findmnt -s

TARGET SOURCE FSTYPE OPTIONS
/boot/efi UUID=556B-3467 vfat defaults,noatime
/ UUID=a2604ea0-a8a9-4db1-bca7-89514b51a18f ext4 defaults,noatime
swap UUID=c6076ee2-2f61-4309-803f-1cd4dad4f1db swap defaults,noatime

findmnt /boot/efi

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

Mixed EFI & MSDOS.

1 Like

@leon.w

If you followed the link and did correctly, there should be a ‘manjaro’ entry.
You do not have this entry.
I suggest you redo the commands and make sure you booted to installed Manjaro OS (sda2)
The commands you did not do are

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

So to repeat, boot to manjaro OS in UEFI and first verify partitions


findmnt /
findmnt /boot/efi

These should give sda3 and sda1 respectively.

Then do these commands

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 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"


Oh, and type carefully this time and suggest you copy directly from above.
And if any error message, print them out with your input commands.
And again provide output of ‘efibootmgr -v’ on the reboot.

Also in the link, if still have error, I asked for

And state computer make and model.

There is another section on [Difficult UEFI setups] if you still have problem.
Read these links there.
Just read completely the first post.
It’s all there.
What I wrote here is all there.
I’m just repeating.

2 Likes

Hello! I am so sorry… I really appreciate your help!

So I started at the begining and copied all commands. Everything works fine until the UEFI - additional commands:

sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi

 -> cp: cannot create regular file '/boot/efi/EFI/boot/bootx64.efi': No such file or directory

==========================
Verifying partitions:

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

==========================

I am not quiet sure what you mean with this: And again provide output of ‘efibootmgr -v’ on the reboot.

Do you mean this:

efibootmgr -v
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0004,0005,0006,0002,0003
Boot0002  UEFI: IP4 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x15,0x0)/Pci(0x0,0x0)/MAC(208984134866,0)/IPv4(0.0.0.00.0.0.0,0,0)AMBO
Boot0003  UEFI: IP6 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x15,0x0)/Pci(0x0,0x0)/MAC(208984134866,0)/IPv6([::]:<->[::]:,0,0)AMBO
Boot0004* Hard Drive    BBS(HD,,0x0)AMGOAMNO........m.S.T.5.0.0.L.M.0.1.2. .H.N.-.M.5.0.0.M.B.B....................A.........................>..Gd-.;.A..MQ..L.2.S.S.R.9.J.C.K.0.C.9.0.8.0. . . . . . ......AMBOAMNO........y.G.e.n.e.r.a.l. .U.S.B. .F.l.a.s.h. .D.i.s.k. .1...0.0....................A.......................L..Gd-.;.A..MQ..L.G.e.n.e.r.a.l. .U.S.B. .F.l.a.s.h. .D.i.s.k. .1...0.0......AMBO
Boot0005* CD/DVD Drive  BBS(CDROM,,0x0)AMGOAMNO........m.T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.N.-.2.0.8.B.B....................A.........................>..Gd-.;.A..MQ..L.8.R.9.F.G.6.C.K.0.9.2.1.6.Y. . . . . . ......AMBO
Boot0006* UEFI: General USB Flash Disk 1.00     PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(2,MBR,0x22e7651f,0x3fa900,0x2000)AMBO

==========================
Computer make and model: It is a Samsung laptop (don’t now the exact model) with AMD RADEON GRAPHICS and I think it’s from 2014… I can not say anything specific because it was a “gift”

I red everything carefully and copied ervery command… I hope I don’t border you to much…

Then you should follow up with the second command.
No worry. Since you are going to repeat, make that boot directory before doing the command.
You should have the boot directory and do you know why you ‘lost it’?
If you don’t know, don’t worry, just tell us if you know why (or guess) why you lost it.

Just to repeat, at step 6, the commands are

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

ps: if again, there is any error, just continue with the next command.
Tell us, but continue.

Oh, no bother. If we are here, we are here to help (and enjoy ourselves)
And helping out is quite enjoyable. Ask anyone here. :grinning:

1 Like

Oh my GOD! Finally!!! Thank you so much for your help and time :heart_eyes: I can finally boot up with a working grub

1 Like

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