Grub does not show Manjaro (dual boot Windows)

I have had that happening to me over a year ago when I was compiling firefox-kde-opensuse from the AUR. Not even the clock got updated. And it lasted for five hours, but after that, everything was back to normal.

Like I said, it may sometimes appear frozen, because I/O is a locking process, and your system is very limited on resources. :man_shrugging:

Also, it is not uncommon for a massive update to take up to an hour, even on my machine here, with 6 cores and 16 GiB of RAM.

Well I will let it run then :sweat_smile:

I didn’t thank you yet, but I am very grateful, thank you ! Even if nothing seems to be solved yet, you are very responsive hats off

1 Like

I have a good and a bad news.

Good news it is “responsive” again.
Bad news it ended up the process before the end (166/560) and I think it is due to a lack of space …

I saw a popup saying /home was full (or something similar) and indeed it has 37.2 MiB free.

More like your root filesystem being full.

During an update, the packages are downloaded into /var/cache/pacman/pkg ─ which in your case is on the root filesystem ─ and the packages are not automatically deleted. You have to use paccache (or your GUI package manager) to periodically empty the package cache, or at the very least, remove a couple of iterations of the downloads. :man_shrugging:

As the process was ended, I decided to reboot with no hope, but we never know. Nothing has change, but I will reinstall the kernel once more. Is it possible to increase the /home on a live media (2.8 GiB free) ? If not I am afraid to face the same issue.

Indeed but I don’t think it is the problem. The folder is full of packages but the drive has 128.8 GiB free.
In this case, I really think the problem is the /home of the live media.

Nothing related to the OS in the bios. Only the option for the boot order, the date and time, etc.

if you need space

sudo manjaro-chroot -a 
df -Th
pacman -Sc
df -Th
pacman-mirrors -f 5 && pacman -Syyu
mhwd-kernel -i linux54
update-grub
exit 
2 Likes

No, of course not. That’s a read-only medium. And there’s no way it could have filled up with the instructions I gave you. You were working in a chroot environment, i.e. on the root filesystem of the installed Manjaro.

I have this error when runing mhwd-kernel -i linux54

[manjaro /]# mhwd-kernel -i linux54
:: Synchronizing package databases...
 core                  168.7 KiB  2009 KiB/s 00:00 [###################] 100%
 extra                2013.9 KiB  2.89 MiB/s 00:01 [###################] 100%
 community               6.1 MiB  2.66 MiB/s 00:02 [###################] 100%
 multilib              194.9 KiB  2.38 MiB/s 00:00 [###################] 100%
error: no targets specified (use -h for help)

can you confirm that point is ok
under chroot

pacman-mirrors --continent
pacman -Syyu

Everything seems fine

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> Detected systems:
 --> 0) Windows
 --> 1) ManjaroLinux
 --> 2) Windows1
==> Select system to mount [0-2] : 
1
==> Mounting (ManjaroLinux) [/dev/sdb4]
 --> mount: [/mnt]
[manjaro /]# pacman-mirrors --continent
::INFO Downloading mirrors from repo.manjaro.org
::INFO User generated mirror list
::------------------------------------------------------------
::INFO Custom mirror file saved: /var/lib/pacman-mirrors/custom-mirrors.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.370 Austria        : http://mirror.inode.at/manjaro/
  0.253 Austria        : http://mirror.easyname.at/manjaro/
  0.597 Austria        : ftp://mirror.easyname.at/manjaro/
  0.350 Belarus        : http://mirror.datacenter.by/pub/mirrors/manjaro/
  0.167 Belgium        : https://mirror.futureweb.be/manjaro/
  0.132 Belgium        : http://mirror.futureweb.be/manjaro/
  0.534 Bulgaria       : http://manjaro.telecoms.bg/
  0.378 Czech          : https://mirror.dkm.cz/manjaro/
  0.336 Denmark        : https://mirrors.dotsrc.org/manjaro/
  0.565 Denmark        : https://www.uex.dk/public/manjaro/
  0.363 France         : https://mirror.oldsql.cc/manjaro/
  0.263 France         : https://manjaro.mcofficer.me/
  0.346 France         : https://manjaro.ynh.ovh/
  0.329 France         : http://ftp.free.org/mirrors/repo.manjaro.org/repos/
  0.434 France         : ftp://ftp.free.org/mirrors/repo.manjaro.org/repos/
  0.253 France         : http://kibo.remi.lu/
  0.306 Germany        : https://mirror.alpix.eu/manjaro/
  0.245 Germany        : https://mirror.23media.com/manjaro/
  0.150 Germany        : http://mirror.23media.com/manjaro/
  0.335 Germany        : https://ftp.halifax.rwth-aachen.de/manjaro/
  0.526 Germany        : ftp://ftp.halifax.rwth-aachen.de/manjaro/
  0.275 Germany        : https://mirror.netzspielplatz.de/manjaro/packages/
  0.259 Germany        : https://mirror.netcologne.de/manjaro/
  0.280 Germany        : https://manjaro.moson.eu/
  0.175 Germany        : http://manjaro.moson.eu/
  0.272 Germany        : https://manjaro.moson.org/
  0.187 Germany        : http://manjaro.moson.org/
  0.878 Greece         : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  0.606 Greece         : http://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  1.414 Greece         : ftp://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  0.501 Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/
  0.359 Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/
  1.269 Iceland        : https://mirrors.opensource.is/manjaro/
  0.676 Iceland        : http://mirrors.opensource.is/manjaro/
  ..... Iceland        : ftp://mirrors.opensource.is/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirrors.opensource.is/manjaro/'

  0.774 Italy          : https://manjaro.mirror.garr.it/manjaro/
  0.664 Italy          : https://ba.mirror.garr.it/mirrors/manjaro/
  0.664 Italy          : https://ct.mirror.garr.it/mirrors/manjaro/
  0.368 Netherlands    : https://manjaro.mirrors.lavatech.top/
  0.201 Netherlands    : http://manjaro.mirrors.lavatech.top/
  0.211 Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  0.299 Netherlands    : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  0.183 Netherlands    : http://ftp.snt.utwente.nl/pub/linux/manjaro/
  0.277 Netherlands    : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/
  0.290 Netherlands    : https://mirror.koddos.net/manjaro/
  0.296 Norway         : http://mirror.terrahost.no/linux/manjaro/
  0.703 Poland         : https://mirror.tuchola-dc.pl/manjaro/
  0.406 Poland         : http://ftp.vectranet.pl/manjaro/
  0.724 Poland         : ftp://ftp.vectranet.pl/manjaro/
  0.444 Russia         : https://mirror.yandex.ru/mirrors/manjaro/
  0.894 Russia         : https://mirror.truenetwork.ru/manjaro/
  0.669 Russia         : http://mirror.truenetwork.ru/manjaro/
  0.542 Sweden         : https://ftp.lysator.liu.se/pub/manjaro/
  0.593 Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/
  0.387 Sweden         : https://mirror.zetup.net/manjaro/
  0.321 Switzerland    : https://manjaro.osmir.ch/
  0.264 Switzerland    : http://manjaro.osmir.ch/
  0.285 United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org
  0.203 United_Kingdom : http://manjaro.mirrors.uk2.net/
  0.401 United_Kingdom : https://uk.mirrors.fossho.st/manjaro/
  0.198 United_Kingdom : http://uk.mirrors.fossho.st/manjaro/
::INFO Writing mirror list
::Belgium         : https://mirror.futureweb.be/manjaro/stable
::Germany         : https://mirror.23media.com/manjaro/stable
::Germany         : https://manjaro.moson.eu/stable
::Germany         : https://manjaro.moson.org/stable
::United_Kingdom  : https://uk.mirrors.fossho.st/manjaro/stable
::Netherlands     : https://manjaro.mirrors.lavatech.top/stable
::United_Kingdom  : http://manjaro.mirrors.uk2.net/stable
::France          : http://kibo.remi.lu/stable
::Germany         : https://mirror.netcologne.de/manjaro/stable
::France          : https://manjaro.mcofficer.me/stable
::Switzerland     : https://manjaro.osmir.ch/stable
::Germany         : https://mirror.netzspielplatz.de/manjaro/packages/stable
::Netherlands     : http://ftp.snt.utwente.nl/pub/linux/manjaro/stable
::United_Kingdom  : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
::Netherlands     : https://mirror.koddos.net/manjaro/stable
::Norway          : http://mirror.terrahost.no/linux/manjaro/stable
::Netherlands     : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable
::Germany         : https://mirror.alpix.eu/manjaro/stable
::Denmark         : https://mirrors.dotsrc.org/manjaro/stable
::France          : https://manjaro.ynh.ovh/stable
::Belarus         : http://mirror.datacenter.by/pub/mirrors/manjaro/stable
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/stable
::France          : https://mirror.oldsql.cc/manjaro/stable
::Austria         : http://mirror.inode.at/manjaro/stable
::Czech           : https://mirror.dkm.cz/manjaro/stable
::Sweden          : https://mirror.zetup.net/manjaro/stable
::France          : http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable
::Russia          : https://mirror.yandex.ru/mirrors/manjaro/stable
::Germany         : https://ftp.halifax.rwth-aachen.de/manjaro/stable
::Bulgaria        : http://manjaro.telecoms.bg/stable
::Denmark         : https://www.uex.dk/public/manjaro/stable
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/stable
::Austria         : http://mirror.easyname.at/manjaro/stable
::Italy           : https://ba.mirror.garr.it/mirrors/manjaro/stable
::Italy           : https://ct.mirror.garr.it/mirrors/manjaro/stable
::Russia          : https://mirror.truenetwork.ru/manjaro/stable
::Poland          : https://mirror.tuchola-dc.pl/manjaro/stable
::Poland          : http://ftp.vectranet.pl/manjaro/stable
::Italy           : https://manjaro.mirror.garr.it/manjaro/stable
::Greece          : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[manjaro /]# pacman -Syyu
:: Synchronizing package databases...
 core                  168.7 KiB  1875 KiB/s 00:00 [###################] 100%
 extra                2013.9 KiB  3.06 MiB/s 00:01 [###################] 100%
 community               6.1 MiB  3.04 MiB/s 00:02 [###################] 100%
 multilib              194.9 KiB  3.02 MiB/s 00:00 [###################] 100%
:: Starting full system upgrade...
 there is nothing to do

then

mhwd-kernel -li
[manjaro /]# mhwd-kernel -li
Currently running: 5.6.15-1-MANJARO (linux56)
The following kernels are installed in your system:

have you this package ?

pacman -Qs linux-latest
1 Like

Is there a way to check it ? Otherwise the command return nothing

ok you dont have this package installed
so let try

mhwd-kernel -i linux419
mhwd-kernel -i linux54
mhwd-kernel -i linux57
mhwd-kernel -i linux58
1 Like

Same error every time

[    manjaro /]# mhwd-kernel -i linux419
    :: Synchronizing package databases...
     core                  168.7 KiB  1875 KiB/s 00:00 [###################] 100%
     extra                2013.9 KiB  1511 KiB/s 00:01 [###################] 100%
     community               6.1 MiB  2.45 MiB/s 00:02 [###################] 100%
     multilib              194.9 KiB  2.47 MiB/s 00:00 [###################] 100%
    error: no targets specified (use -h for help)
    [manjaro /]# mhwd-kernel -i linux54
    :: Synchronizing package databases...
     core                  168.7 KiB  1687 KiB/s 00:00 [###################] 100%
     extra                2013.9 KiB  2.79 MiB/s 00:01 [###################] 100%
     community               6.1 MiB  2.59 MiB/s 00:02 [###################] 100%
     multilib              194.9 KiB  2.57 MiB/s 00:00 [###################] 100%
    error: no targets specified (use -h for help)
    [manjaro /]# mhwd-kernel -i linux57
    :: Synchronizing package databases...
     core                  168.7 KiB  1875 KiB/s 00:00 [###################] 100%
     extra                2013.9 KiB  2.76 MiB/s 00:01 [###################] 100%
     community               6.1 MiB  2.55 MiB/s 00:02 [###################] 100%
     multilib              194.9 KiB  2.84 MiB/s 00:00 [###################] 100%
    error: no targets specified (use -h for help)
    [manjaro /]# mhwd-kernel -i linux58
    :: Synchronizing package databases...
     core                  168.7 KiB  1939 KiB/s 00:00 [###################] 100%
     extra                2013.9 KiB  2.15 MiB/s 00:01 [###################] 100%
     community               6.1 MiB  2.31 MiB/s 00:03 [###################] 100%
     multilib              194.9 KiB  2.38 MiB/s 00:00 [###################] 100%
    error: no targets specified (use -h for help)

can you then

pacman -Ss linux419-

The result

 [manjaro /]# pacman -Ss linux419-
    core/linux419-headers 4.19.141-2
        Header files and scripts for building modules for Linux419 kernel
    extra/linux419-acpi_call 1.1.0-133 (linux419-extramodules)
        A linux kernel module that enables calls to ACPI methods through
        /proc/acpi/call
    extra/linux419-bbswitch 0.8-133 (linux419-extramodules)
        kernel module allowing to switch dedicated graphics card on Optimus
        laptops
    extra/linux419-broadcom-wl 6.30.223.271-132 (linux419-extramodules)
        Broadcom 802.11 Linux STA wireless driver BCM43142.
    extra/linux419-ndiswrapper 1.63-23 (linux419-extramodules)
        Module for NDIS (Windows Network Drivers) drivers supplied by vendors.
    extra/linux419-nvidia-340xx 340.108-53 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidia-390xx 390.132-62 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidia-418xx 418.113-61 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidia-430xx 430.64-61 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidia-435xx 435.21-72 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidia-440xx 440.100-14 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidia-450xx 450.66-4 (linux419-extramodules)
        NVIDIA drivers for linux.
    extra/linux419-nvidiabl 0.88-132 (linux419-extramodules)
        Driver to adjust display backlight on modern mobile NVidia graphics
        adapters.
    extra/linux419-r8168 8.048.03-19 (linux419-extramodules)
        A kernel module for Realtek 8168 network cards
    extra/linux419-rtl8723bu 20200813-4 (linux419-extramodules)
        A kernel module for Realtek 8723bu network cards
    extra/linux419-tp_smapi 0.43-82 (linux419-extramodules)
        Modules for ThinkPad's SMAPI functionality
    extra/linux419-vhba-module 20200106-47 (linux419-extramodules)
        Kernel module that emulates SCSI devices
    extra/linux419-virtualbox-guest-modules 6.1.12-10 (linux419-extramodules)
        Guest kernel modules for VirtualBox
    extra/linux419-virtualbox-host-modules 6.1.12-10 (linux419-extramodules)
        Host kernel modules for VirtualBox
    extra/linux419-zfs 0.8.4-22 (linux419-extramodules)
        Kernel modules for the Zettabyte File System.

then

pacman -S linux419 linux419-headers 
1 Like
[manjaro /]# pacman -S linux419 linux419-headers
resolving dependencies...
looking for conflicting packages...

Packages (2) linux419-4.19.141-2  linux419-headers-4.19.141-2

Total Download Size:    83.42 MiB
Total Installed Size:  165.35 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 linux419-4.19.14...    74.6 MiB  2.44 MiB/s 00:31 [###################] 100%
 linux419-headers...     8.8 MiB  2.44 MiB/s 00:04 [###################] 100%
(2/2) checking keys in keyring                     [###################] 100%
(2/2) checking package integrity                   [###################] 100%
(2/2) loading package files                        [###################] 100%
(2/2) checking for file conflicts                  [###################] 100%
(2/2) checking available disk space                [###################] 100%
:: Processing package changes...
(1/2) installing linux419                          [###################] 100%
Optional dependencies for linux419
    crda: to set the correct wireless channels of your country [installed]
(2/2) installing linux419-headers                  [###################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'default'
  -> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64.img
==> Starting build: 4.19.141-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'fallback'
  -> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64-fallback.img -S autodetect
==> Starting build: 4.19.141-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19-x86_64-fallback.img
==> Image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc4.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc4.  Check your device.map.
Found Windows 10 on /dev/sda1
Found Windows Recovery Environment on /dev/sdc1
done

Anything positive ?