PC will no longer boot after following interrupted upgrade/update instructions

No, /dev/sda is the whole drive. GRUB is not installed to a partition, but to the drive. On a UEFI system, this will automatically put the boot loader in the /boot/efi partition — the partition has a special esp flag in the partition table, and so the kernel will know which one it is — and on a system booting in legacy BIOS mode, GRUB will be installed in the master boot record of the boot drive.

Well, a partitioning tool should tell you which one it is. But /dev/sda is either way the first SCSI-style drive in your system — this includes SATA, parallel SCSI, SAS, USB and Firewire drives. If your drive is an NVMe drive, then that’s a whole other issue. Then it’ll be something like /dev/nvme0 or something of the likes.

The command… :arrow_down:

lsblk --fs

… will tell you what mass storage devices you have in your machine, in a tree format. The root of each tree is the device itself, and the rest will be the partitions on it.

Its looking like its /dev/sda, with the partitions 1-10 under it.
I’m going to try the commands then with /dev/sda and reboot, and see what happens

It didn’t work :frowning:
The only option that works is hitting F12 and booting to ‘ubuntu’, which brings you to a grub> prompt.
If you choose ‘manjaro’, the PC just shuts off.
You can boot Manjaro off the USB by having it and selecting the volume.

Hmm… This suggests that Ubuntu’s GRUB has somehow taken precedence. If you boot off of the USB stick, what does the command… :arrow_down:

efivars

… say? :thinking:

If I get out to a prompt after booting Manjaro off the USB, and
$ efivars

I get

bash: efivars: command not found

My mistake — it should be… :arrow_down:

efibootmgr

It gives a lot of information.
The boot order. 00001, …2,5,3,0,6,7,4

00005 says Manjaro with an address and a file EFI\manjaro\grubx64.efi

But when I choose that option off F12, the computer just shuts off

00002 says Ubuntu with an address and a file \EFI\ubuntu\shimx64.efi
When I choose that, I just get a grub> prompt

Here I got it:


[manjaro@manjaro-cinnamon ~]$ efibootmgr
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0001,0002,0005,0003,0000,0006,0007,0004
Boot0000* Windows Boot Manager HD(1,GPT,c4e59d8b-3de4-447d-9fe5-064b6fd791b9,0x800,0x4b000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot0001* USB BOOTUP PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0xeedfeedf,0x800,0x1d21000)
Boot0002* ubuntu HD(1,GPT,c4e59d8b-3de4-447d-9fe5-064b6fd791b9,0x800,0x4b000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* Onboard NIC(IPV4) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(70b5e83a05ca,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0004* Onboard NIC(IPV6) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(70b5e83a05ca,0)/IPv6([::]:<->[::]:,0,0)0000424f
Boot0005* manjaro HD(1,GPT,c4e59d8b-3de4-447d-9fe5-064b6fd791b9,0x800,0x4b000)/File(\EFI\manjaro\grubx64.efi)
Boot0006* UEFI: Mass Storage Device 1.00 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/CDROM(1,0x52c6a4,0x8000)0000424f
Boot0007* UEFI: Mass Storage Device 1.00 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,MBR,0x0,0x52c6a4,0x2000)0000424f

Oh, but… Is Secure Boot switched on in the UEFI settings? It is possible that what you did earlier with the Dell thing reactivated Secure Boot, and Manjaro doesn’t support that.

Yeah I remember that from before.
I can check

Secure Boot Enable is not checked and wasn’t.
Yeah if I set it to ‘Manjaro’ as the first in the bootloader, the computer shuts itself off when booting. Then it keeps turning itself on, and shutting off over and over.
If I set it to "Ubuntu’, it boots to a grub prompt and stays on.

you have efi but you were installing grub for bios?
you need to install grub for efi - from chroot of course:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck 

then run this:
mkinitcpio -P && update-grub

also rerun update again if you didnt do it:
pacman-mirrors -f 5 && pacman -Syyu
if there were no errors, exit chroot and reboot

1 Like

The rest of it worked but I got

bash: mjinitcpio: command not found

is it mkinitcpio?
I hope so because that’s what I ran lol
Its doing “running build hooks”. Well you know what happens when people assume…

yes i made a typo there, its:
mkinitcpio -P && update-grub

done. I’m going to try rebooting

Same thing.
When I boot to ‘ubuntu’, I get a grub> prompt.
When I boot to ‘manjaro’, the PC shuts itself off.
If I boot to USB, I get the Manjaro bootable

There is also Onboard NIC ipv4, Onboard NIC ipv6

Those are not important now. That’s for booting over PXE.

I don’t understand why Manjaro is showing as an option, but every time I select it the computer shuts itself off