Today my desktop environment became unresponsive, so I restarted my Framework 13 Laptop and when the GRUB boot menu came up the only options that came up were Windows 11, the BIOS and memtest, with Manjaro nowhere in sight. I have tried to boot directly into Manjaro both from the BIOS boot menu and directly the boot file but both just took me to the GRUB menu. I need my Linux install back up running ASAP, so please help me fix this issue quickly. Thanks.
Hi @Davidtatu222,
Sounds a bit like your kernel dissapeared. But I’m no expert. I suspect you’ll have to follow this:
Don’t let the title fool you, I suspect the procedure is the same.
When I tried to update grub at the end, this error came up.
Now if I try to boot into manjaro, the grub menu doesn’t even come up, it’s just a black screen for a few seconds before returning to the bios, so I assume it completely nuked grub.
I suspect that’s a fair assessment. Therefore, I think this is applicable:
Once you have booted into the Live environment (as required by the suggestion from @Mirdarthos ) please also provide the output of:
inxi --admin --verbosity=8 --filter --no-host --width
If restoring Grub works for you, this won’t be needed.
Cheers.
I have tried to go through the process several times, but there have been numerous errors. I decided to just finish it and try it, and there is no change in the black screen.
The output of inxi --admin --verbosity=8 --filter --no-host --width:
From the last 2 images it would seem your mirror-list is totally…erm…borked is to kind a concept, but let’s go with it.
Let’s first try and get that sorted. In the chroot
environment youve got there, run:
pacman-mirrors --fasttrack=5
This will select the 5 fastest mirrors to you.
Please don’t do anything afterwards, and provide the output here, as described below:
Tip 
When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
```
pasted text
```
Or three (3) tilde signs, like this:
~~~
pasted text
~~~
This will just cause it to be rendered like this:
Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.
Instead of like this:
Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Thereby increasing legibility thus making it easier for those trying to provide assistance.
For more information, please see:
Additionally
If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C
. For example:
LC_ALL=C bluetoothctl
This will just cause the terminal output to be in English, making it easier to understand and debug.
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
..... Uzbekistan : https://mirror.dc.uz/manjaro/
..... Poland : https://ftp.psnc.pl/linux/manjaro/
..... China : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
::ERROR Connection: HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Read timed out. (read timeout=4)
..... Belgium : https://mirror.futureweb.be/manjaro/
::ERROR Connection: HTTPSConnectionPool(host='mirror.futureweb.be', port=443): Read timed out.
..... Georgia : http://manjaro.grena.ge/
::INFO Writing mirror list
::Poland : https://ftp.psnc.pl/linux/manjaro/stable
::Uzbekistan : https://mirror.dc.uz/manjaro/stable
::Georgia : http://manjaro.grena.ge/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
OK, now see what happens, and provide the results of:
pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
OK, let’s see if you UEFI is mounted, please provide the output of:
mount | grep -i efi
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
Looks good. So seeing as everything I can think of looks good, and it’s been installed before, try install-grub
again:
install-grub
Same thing again:
WARNING: EFI directory not found! Grub couldn't be installed.
Please provide the output of:
ls /boot/efi
Just so we’re on the same page, all these commands are to be run from within the chroot
environment.
EFI 'System Volume Information'
And yes, I chrooted at the start:
[manjaro manjaro]# manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/nvme0n1p5]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
Actually reading the output helps
at the end (of a few of your many pictures)
at:
grub-mkconfig -o /boot/grub/grub.cfg
you can see that you can’t see any kernel
or initrd
is detected.
You could verify this:
ls -al /boot
What you need to do (you are in chroot, no?).
pacman -S linux_xyz
(install the kernel of your choice again)
then:
mkinitcpio -P
followed by:
grub-mkconfig -o /boot/grub/grub.cfg
You should then see at least this kernel being detected.
Then you can leave chroot
exit
and reboot.
Your Windows entry will likely be gone after this (it can’t be detected from within chroot) -
just boot Linux and do the same thing again to have it detected again.
grub-mkconfig -o /boot/grub/grub.cfg
It is not Grub that is missing - you simply have no kernel installed.
You have to do it this way - mhwd-kernel -i
will, for some reason, not work in chroot.
You can still use it to list available kernels - to get the name for the install command:
pacman -S linux_xyz
mhwd-kernel -l
How do I know which kernel I need?
Also, how the hell does the kernel get uninstalled?
The kernel image and initrd gets literally deleted as the very first thing during an update
and it is only put back as the very last step.
If you don’t finish the update for some reason, you are left without.
See my last post, the end. I added that info.
You can choose any one you like - or even two or three.
In the case of Nvidia graphics - you are on your own.