Installation does not start

Hello,
I have installed Manjaro with KDE. Apparently the installation process has gone well. But when I reboot I get the GRUB 2.0 command line and it stays there.If I press the ALT key during the boot, the EFI Boot symbol appears and stays there. If I press it, the GRUB command line appears again.
All this means that I cannot start Manjaro.
Help!!!

Could you boot a Live Session, open a terminal and type manjaro-chroot -a and then type 1?

Then please post the results of the command here (as code with like me):

inxi  -Fazy
test -d /sys/firmware/efi && echo efi || echo bios
sudo parted -l

I think grub is not installed correctly. Sometimes it is needed to completely disable compatibility mode
with legacy BIOS in UEFI.

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

Thanks

1 Like

hi Megavolt
First, a lot of thanks for your help.

1/
manjaro-chroot -a -->
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map
==> Mounting (ManjaroLinux) [/dev/nvme0n1p2]
ā€“> mount: [/mnt]
ā€“> mount: [mnt/boot/efi]

You see, no option for typing ā€œ1ā€.

2/
The other outputs of the commands you asked for I canā€™t send them because it tells me that I canā€™t include links in the post. I donā€™t understand anything.

Copy and paste it here (open a browser in the live session, please no pictures [why? because pictures are not suitable for searching]) like that:

  1. type ```
  2. Press enter
  3. Copy paste the code here
  4. Press enter
  5. type ```

And please not all at onceā€¦ line by line please.

About links and pictures: You need to spend a bit time here for trustlevel 1. It is a discourse function to prevent spam and abuse: Understanding Discourse Trust Levels

1 Like

how to post links
ā€˜[HowTo] post screenshots and linksā€™

1 Like

Inxi -Fazy

12System:
  12Kernel 5.8.11-1-MANJARO x86_64 12bits 64 12compiler N/A 
  12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC 
  driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 
  misobasedir=manjaro misolabel=MANJARO_KDE_2011 quiet systemd.show_status=1 
  apparmor=1 security=apparmor 
  12Console N/A 12wm kwin_x11 12Distro Manjaro Linux 
12Machine:
  12Type Laptop 12System Apple 12product iMac18,3 12v 1.0 12serial <filter> 12Chassis 
  12type 9 12v Mac-BE088AF8C5EB4FA2 12serial <filter> 
  12Mobo Apple 12model Mac-BE088AF8C5EB4FA2 12v iMac18,3 12serial <filter> 12UEFI Apple 
  12v 178.0.0.0.0 12date 09/13/2019 
12CPU:
  12Topology Quad Core 12model Intel Core i7-7700K 12socket U3E1 12bits 64 12type MT MCP 
  12arch Kaby Lake 12family 6 12model-id 9E (158) 12stepping 9 12microcode D6 
  12L1 cache 256 KiB 12L2 cache 8192 KiB 12L3 cache 8192 KiB 
  12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  12bogomips 67224 
  12Speed 800 MHz 12min/max 800/4500 MHz 12base/boost 4200/4200 12volts 1.2 V 
  12ext-clock 25 MHz 12Core speeds (MHz) 121 800 122 800 123 800 124 800 125 801 126 800 127 800 
  128 800 
  12Vulnerabilities 12Type itlb_multihit 12status KVM: VMX disabled 
  12Type l1tf 
  12mitigation PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  12Type mds 12mitigation Clear CPU buffers; SMT vulnerable 
  12Type meltdown 12mitigation PTI 
  12Type spec_store_bypass 
  12mitigation Speculative Store Bypass disabled via prctl and seccomp 
  12Type spectre_v1 
  12mitigation usercopy/swapgs barriers and __user pointer sanitization 
  12Type spectre_v2 12mitigation Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  12Type srbds 12mitigation Microcode 
  12Type tsx_async_abort 12mitigation Clear CPU buffers; SMT vulnerable 
12Graphics:
  12Device-1 AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  12vendor Apple 12driver amdgpu 12v kernel 12bus ID 01:00.0 12chip ID 1002:67df 
  12Device-2 Apple FaceTime HD Camera (Built-in) 12type USB 12driver uvcvideo 
  12bus ID 1-5:5 12chip ID 05ac:8511 12serial <filter> 
  12Display 12server X.org 1.20.9 12compositor kwin_x11 12driver amdgpu 12FAILED ati 
  12unloaded modesetting 12alternate fbdev,vesa 
  12Message Advanced graphics data unavailable for root. 
12Audio:
  12Device-1 Intel 100 Series/C230 Series Family HD Audio 12driver snd_hda_intel 
  12v kernel 12bus ID 00:1f.3 12chip ID 8086:a170 
  12Device-2 AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  12driver snd_hda_intel 12v kernel 12bus ID 01:00.1 12chip ID 1002:aaf0 
  12Device-3 C-Media Audio Adapter (Unitek Y-247A) 12type USB 
  12driver hid-generic,snd-usb-audio,usbhid 12bus ID 1-3.3.1:9 12chip ID 0d8c:0014 
  12Sound Server ALSA 12v k5.8.11-1-MANJARO 
12Network:
  12Device-1 Broadcom and subsidiaries BCM43602 802.11ac Wireless LAN SoC 
  12vendor Apple 12driver brcmfmac 12v kernel 12port 3000 12bus ID 03:00.0 
  12chip ID 14e4:43ba 
  12IF wlp3s0 12state down 12mac <filter> 
  12Device-2 Broadcom and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe 
  12driver tg3 12v kernel 12port 3000 12bus ID 04:00.0 12chip ID 14e4:1686 
  12IF enp4s0f0 12state up 12speed 1000 Mbps 12duplex full 12mac <filter> 
12Drives:
  12Local Storage 12total 17.31 TiB 12used 39.15 GiB (0.2%) 
  12ID-1 /dev/nvme0n1 12vendor Apple 12model SSD SM2048L 12size 1.82 TiB 12block size 
  12physical 4096 B 12logical 4096 B 12speed 31.6 Gb/s 12lanes 4 12serial <filter> 
  12rev CXS7CA0Q 12temp 32 Celsius C 
  12SMART yes 12health PASSED 12on 59d 0h 12cycles 8,611 
  12read-units 104,117,765 [53.3 TB] 12written-units 130,191,332 [66.6 TB] 
  12ID-2 /dev/sda 12type USB 12vendor Kingston 12model DataTraveler 3.0 12size 28.82 GiB 
  12block size 12physical 512 B 12logical 512 B 12serial <filter> 
  12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure? 
  12ID-3 /dev/sdb 12type USB 12vendor Western Digital 12model WD My Passport 259F 
  12drive model WD10JMVW-11AJGS4 12family Elements / My Passport (USB, AF) 
  12size 931.48 GiB 12block size 12physical 4096 B 12logical 512 B 12sata 3.0 
  12speed 3.0 Gb/s 12rotation 5400 rpm 12serial <filter> 12drive serial <filter> 
  12rev 1014 12drive rev 01.01A01 12temp 31 C 
  12SMART yes 12state enabled 12health PASSED 12on 2y 31d 21h 12cycles 1426 
  12ID-4 /dev/sdc 12type USB 12vendor Western Digital 12model WD My Book 25EE 
  12drive model WD80EZAZ-11TDBA0 12family HGST Ultrastar He10 12size 7.28 TiB 
  12block size 12physical 4096 B 12logical 512 B 12sata 3.2 12speed 6.0 Gb/s 
  12rotation 5400 rpm 12serial <filter> 12drive serial <filter> 12rev 4009 
  12drive rev 83.H0A83 12temp 46 C 
  12SMART yes 12state enabled 12health PASSED 12on 9d 19h 12cycles 440 
  12ID-5 /dev/sdd 12type USB 12vendor Western Digital 12model WD My Book 25EE 
  12drive model WD80EZAZ-11TDBA0 12family HGST Ultrastar He10 12size 7.28 TiB 
  12block size 12physical 4096 B 12logical 512 B 12sata 3.2 12speed 6.0 Gb/s 
  12rotation 5400 rpm 12serial <filter> 12drive serial <filter> 12rev 4004 
  12drive rev 83.H0A83 12temp 44 C 
  12SMART yes 12state enabled 12health PASSED 12on 94d 17h 12cycles 16847 
12Partition:
  12ID-1 / 12raw size 1.75 TiB 12size 1.72 TiB (98.37%) 12used 38.94 GiB (2.2%) 
  12fs ext4 12block size 4096 B 12dev /dev/nvme0n1p2 
12Swap:
  12Alert No Swap data was found. 
12Sensors:
  12System Temperatures 12cpu 45.0 C 12mobo N/A 12gpu amdgpu 12temp 49 C 
  12Fan Speeds (RPM) N/A 
12Info:
  12Processes 287 12Uptime 1h 12m 12Memory 62.72 GiB 12used 2.35 GiB (3.8%) 
  12Init systemd 12v 246 12Compilers 12gcc 10.2.0 12Packages 1555 12pacman 1552 12lib 339 
  12flatpak 3 12Client Unknown Client: systemd 12inxi 3.1.05 
1 Like

Ā“Ā“Ā“
[manjaro /]# test -d /sys/firmware/efi && echo efi || echo bios
efi
Ā“Ā“Ā“

[manjaro /]# sudo parted -l
Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sda: 30.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      3112MB  3116MB  4194kB  primary               esp


Model: WD My Passport 259F (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      20.5kB  210MB   210MB   fat32        EFI System Partition  boot, esp
 2      210MB   1000GB  1000GB  ext4         Archivos


Model: WD My Book 25EE (scsi)
Disk /dev/sdc: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name       Flags
 1      1049kB  8002GB  8002GB  ext4         Peliculas


Model: WD My Book 25EE (scsi)
Disk /dev/sdd: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name    Flags
 1      1049kB  8002GB  8002GB  ext4         Varios


Model: APPLE SSD SM2048L (nvme)
Disk /dev/nvme0n1: 2001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      2097kB  317MB   315MB   fat32                 boot, esp
 2      317MB   1927GB  1927GB  ext4
 3      1927GB  2001GB  74.1GB  linux-swap(v1)        swap

So you have not mention that you system is a iMac. There you need to do extra steps because of the UEFI as i knowā€¦ but i have never used a Mac, so can just research it.

Here is a little guide what could help:

https://wiki.archlinux.org/index.php/IMac_Aluminum

This might be the same issue:

The wiki you recommend is about sound.
On the other hand, the computer is an iMac, but I donā€™t have a Mac installed. I deleted it when I installed Linux Mint and now I wanted to try with Manjaro (and I deleted Linux Mint too). At the moment I only have Manjaro installed, but it wonā€™t start.

Nope. Read moreā€¦

Quote:

rEFIt Re-sync

When partitioning is finished you must restart the iMac & re-sync your partitions with rEFIt, which is quick & easy: You choose to start the partitioning tool in the rEFIt boot-menu & follow the very simple instructions there. rEFIt may prefer to have partitions in numerical order on the drive, i.e. sda1, sda2, sda3, sda4, sda5, sda6 ā€¦ & not shuffled. This is unconfirmed, any feedback on the subject will be appreciated.

Then reboot & hold down the C key, or wait as I do for the rEFIt boot-menu to appear & choose to boot the Arch install CD.

This is not necessary when booting through EFI.

  1. I do not understand anything about the rEFit Re-sync quote (I am not a computer scientist).

  2. If I start the computer normally, I get the grub 2.04 command line (where I donā€™t know what to do).

  3. If I start pressing the C key, nothing happens and after a while the grub command line appears again.

  4. If I start pressing the ALT key, a single EFI boot symbol appears and if I click on it, the grub command line appears again.

  5. If I boot with the Manjaro installation pendrive in a USB port and press the ALT key, I get two EFI boot symbols. If I select the second one, I get a menu with several options: tz, keytable, lang, driver, Boot: Manjaro.x86_64 kde (which I guess is the pendrive) and a last option ā€œdetect EFI Boot loadersā€. If I select this last option, I get the following:

(hd3.gpt1)/efi/ubuntu/shimx64.efi
(hd3.gpt1)/efi/ubuntu/grubx64.efi
(hd3.gpt1)/efi/Boot/bootx64.efi
(hd3.gpt1)/efi/Boot/grubx64.efi
(hd5.gpt1)/efi/Manjaro/grubx64.efi
/hd5.gpt1)/efi/boot/bootx64.efi

If I click on (hd5.gpt1)/efi/Manjaro/grubx64.efi, Manjaro starts correctly. But obviously, it is not acceptable that you have to follow this tedious process every time you start the computer. The other options I have not selected because I am afraid.

After reading a lot, i came to the conclusion that using the native uefi bootloader is the common way of booting a Linux on Mac, without the grub bootloader.

But here are some links:

That is a method to use the EFI directly (bootloader):
https://wiki.archlinux.org/index.php/EFISTUB

That is a boot manager for EFISTUB:
https://wiki.archlinux.org/index.php/REFInd

This is a tutorial for the bootloader (Mac):
https://wiki.archlinux.org/index.php/User:Elinux/MacBook_Pro_12,1#Bootloader

https://wiki.archlinux.org/index.php/Mac#Using_the_native_Apple_bootloader_with_GRUB

Does ubuntu have secure boot enabled?

(Manjaro does not support that by default, there are extra steps needed)

I doubt that the problem is related to iMac. Before trying to install Manjaro, I installed Linux Mint and Kubuntu, and they worked fine for me. As you said at the beginning, I think it is more a Grub problem.

Please, I need your help.

is it an external disk ?

No. I summarize the problem

Manjaro does not start. When I turn on the computer, it stops at the Grub command line.
The only way I can start it is:

  1. by plugging the installation pendrive into a usb port
  2. When starting the computer, press the ALT key
  3. Choose one of the two EFI BOOT symbols that appear to me (there is no typical hard drive symbol)
  4. On the ā€œWelcome to Manjaroā€ screen, where we have the UTC settings, keytable, language, driver, boot=Manjaro.x86_64.xfce which is the pendrive, and "Detect EFI Bootloaders, which is the option I choose.
  5. I get a list:
  • (hd2,gpt1)/efi/ubuntu/shimx.efi
  • (hd2,gpt1)/efi/ubuntu/grubx64.efi
  • (hd2,gpt1)/efi/Boot/Bootx64.efi
  • (hd2,gpt1)/efi/Boot/grubx64.efi
  • (hd5,gpt1)/efi/Manjaro/grubx64.efi
  • (hd5,gpt1)/efi/boot/bootx64.efi

I choose Manjaroā€™s (I think the last one is also valid) and so I start Manjaro.

Obviously, this procedure is not acceptable.
I need help.
Thank you.

this procedure is acceptable ,
my macpro2008 show disk EFI on boot with Alt , then i can select Disk with linux.
the disk has been formatted GPT by apple tools then installed grub after. ( required 200Mo or 300Mo )