Manjaro won't boot after update new_root unknown file system

now I can boot into the popOs without any error.
now I’m stuck at

error: symbol grub_debug_malloc not found

Looks like a broken initramfs images. Show

lsinitcpio /boot/initramfs-5.15-x86_64.img | grep usr/lib
lsinitcpio -c /boot/initramfs-5.15-x86_64.img
lsinitcpio -a /boot/initramfs-5.15-x86_64.img

This is unrelated, and you did that with messing with grub just now or something.

This is even less related and has nothing to do with what you posted in the beginning.

Sounds to me like you have different versions of grub, one that works to boot popOS but not manjaro.
When grub is run by the UEFI it accesses files on your root partition of the OS you’re booting, eg. from different partitions.

@zbe @Zesko can you guys help him to fix his grub for both OS’s :wink:

No. This topic isn’t about that. OP should open a new one (if he can’t find a solution with search).

[manjaro-gnome /]# lsinitcpio /boot/initramfs-5.15-x86_64.img | grep usr/lib
usr/lib/
usr/lib/ld-linux-x86-64.so.2
usr/lib/libacl.so.1
usr/lib/libacl.so.1.1.2301
usr/lib/libaudit.so.1
usr/lib/libaudit.so.1.0.0
usr/lib/libblkid.so.1
usr/lib/libblkid.so.1.1.0
usr/lib/libc.so.6
usr/lib/libcap-ng.so.0
usr/lib/libcap-ng.so.0.0.0
usr/lib/libcap.so.2
usr/lib/libcap.so.2.66
usr/lib/libcom_err.so.2
usr/lib/libcom_err.so.2.1
usr/lib/libcrypt.so.2
usr/lib/libcrypt.so.2.0.0
usr/lib/libcrypto.so.3
usr/lib/libdl.so.2
usr/lib/libe2p.so.2
usr/lib/libe2p.so.2.3
usr/lib/libext2fs.so.2
usr/lib/libext2fs.so.2.4
usr/lib/libffi.so.8
usr/lib/libffi.so.8.1.2
usr/lib/libgcc_s.so.1
usr/lib/libgcrypt.so.20
usr/lib/libgcrypt.so.20.4.1
usr/lib/libgpg-error.so.0
usr/lib/libgpg-error.so.0.33.1
usr/lib/libip4tc.so.2
usr/lib/libip4tc.so.2.0.0
usr/lib/libkmod.so.2
usr/lib/libkmod.so.2.4.0
usr/lib/liblz4.so.1
usr/lib/liblz4.so.1.9.4
usr/lib/liblzma.so.5
usr/lib/liblzma.so.5.2.7
usr/lib/libm.so.6
usr/lib/libmount.so.1
usr/lib/libmount.so.1.1.0
usr/lib/libp11-kit.so.0
usr/lib/libp11-kit.so.0.3.0
usr/lib/libpam.so.0
usr/lib/libpam.so.0.85.1
usr/lib/libpthread.so.0
usr/lib/libseccomp.so.2
usr/lib/libseccomp.so.2.5.4
usr/lib/libuuid.so.1
usr/lib/libuuid.so.1.3.0
usr/lib/libz.so.1
usr/lib/libz.so.1.2.13
usr/lib/libzstd.so.1
usr/lib/libzstd.so.1.5.2
usr/lib/modprobe.d/
usr/lib/modprobe.d/50-nfs.conf
usr/lib/modprobe.d/bluetooth-usb.conf
usr/lib/modprobe.d/nvdimm-security.conf
usr/lib/modprobe.d/nvidia-utils.conf
usr/lib/modprobe.d/systemd.conf
usr/lib/modprobe.d/uvesafb.conf
usr/lib/modules/
usr/lib/modules/5.15.78-1-MANJARO/
usr/lib/modules/5.15.78-1-MANJARO/kernel/
usr/lib/modules/5.15.78-1-MANJARO/kernel/atkbd.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/cdrom.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/crc-itu-t.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/crc16.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/crc32c-intel.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/crc32c_generic.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/ext4.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/firewire-core.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/firewire-sbp2.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/hid-multitouch.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/i8042.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/jbd2.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/libps2.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/mbcache.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/mmc_block.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/mmc_core.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/rtsx_usb.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/rtsx_usb_sdmmc.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/serio.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/serio_raw.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/sr_mod.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/uas.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/usb-storage.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/usbhid.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/virtio_blk.ko
usr/lib/modules/5.15.78-1-MANJARO/kernel/xhci-pci.ko
usr/lib/modules/5.15.78-1-MANJARO/modules.alias.bin
usr/lib/modules/5.15.78-1-MANJARO/modules.builtin.alias.bin
usr/lib/modules/5.15.78-1-MANJARO/modules.builtin.bin
usr/lib/modules/5.15.78-1-MANJARO/modules.dep.bin
usr/lib/modules/5.15.78-1-MANJARO/modules.devname
usr/lib/modules/5.15.78-1-MANJARO/modules.softdep
usr/lib/modules/5.15.78-1-MANJARO/modules.symbols.bin
usr/lib/systemd/
usr/lib/systemd/libsystemd-shared-251.8-1.so
usr/lib/systemd/systemd-udevd
usr/lib/udev/
usr/lib/udev/ata_id
usr/lib/udev/rules.d/
usr/lib/udev/rules.d/50-udev-default.rules
usr/lib/udev/rules.d/60-persistent-storage.rules
usr/lib/udev/rules.d/64-btrfs.rules
usr/lib/udev/rules.d/80-drivers.rules
usr/lib/udev/scsi_id
usr/lib64

[manjaro-gnome /]# lsinitcpio -c /boot/initramfs-5.15-x86_64.img
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=""

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap consolefont resume filesystems fsck"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
#COMPRESSION="zstd"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
[manjaro-gnome /]# 

[manjaro-gnome /]# lsinitcpio -a /boot/initramfs-5.15-x86_64.img
==> Image: /boot/initramfs-5.15-x86_64.img 
==> Created with mkinitcpio 32
==> Kernel: 5.15.78-1-MANJARO
==> Size: 8.73 MiB
==> Compressed with: gzip
  -> Uncompressed size: 22.69 MiB (.384 ratio)
  -> Estimated decompression time: 0.191s

==> Included modules:
  atkbd			  crc32c-intel		  firewire-sbp2		  libps2		  rtsx_usb		  sr_mod		  virtio_blk
  cdrom			  crc32c_generic	  hid-multitouch	  mbcache		  rtsx_usb_sdmmc	  uas			  xhci-pci
  crc-itu-t		  ext4			  i8042			  mmc_block		  serio			  usb-storage
  crc16			  firewire-core		  jbd2			  mmc_core		  serio_raw		  usbhid

==> Included binaries:
  blkid			  fsck			  kmod			  switch_root		  udevadm
  busybox		  fsck.ext4		  mount			  systemd-tmpfiles

==> Early hook run order:
  udev

==> Hook run order:
  udev
  keymap
  resume

==> Cleanup hook run order:
  udev

[manjaro-gnome /]# 

Let me help him: Search results for 'fix grub' - Manjaro Linux Forum :rofl:
Sorry but it’s getting late here, and real live is demanding some attention also…

1 Like

This all looks fine to me. At this point I’d just go refresh mirrors and update again - in chroot.
And check

pacman -Qkk 1>/dev/null

for any missing/broken files (there are always some errors there you can ignore though) and reinstall those packages.

Or just reinstall every package.

Well all of this after you fix/reinstall you grub and see if you still can’t boot. :stuck_out_tongue:

1 Like

Are you booting PopOS GRUB menu, not Manjaro GRUB menu?

Check what is the output of efibootmgr

1 Like
[manjaro-gnome /]# efibootmgr
BootCurrent: 000C
Timeout: 0 seconds
BootOrder: 0000,000B,000A,0001,0002,0004,0005,0006,0009,000C
Boot0000* manjaro	HD(1,GPT,32c520d9-eeb8-5743-af65-2327573bad2d,0x1000,0x96000)/File(\EFI\manjaro\grubx64.efi)
Boot0001* Diskette Drive	BBS(Floppy,Diskette Drive,0x0)0000424f
Boot0002* M.2 SATA SSD	BBS(HD,P2: ADATA SU650NS38           ,0x0)0000424f
Boot0004* USB Storage Device	BBS(USB,KingstonDataTraveler 3.00000,0x0)0000424f
Boot0005* CD/DVD/CD-RW Drive	BBS(CDROM,CD/DVD/CD-RW Drive,0x0)0000424f
Boot0006* Onboard NIC	BBS(Network,Realtek PXE B03 D00,0x0)0000424f
Boot0009* Internal HDD	BBS(HD,P0: ST1000LM035-1RK172        ,0x0)0000424f
Boot000A* UEFI: ST1000LM035-1RK172, Partition 1	HD(1,GPT,c34b710e-c7a1-46e3-b571-ec0fe4ca4829,0x1000,0xf8fff)/File(EFI\boot\bootx64.efi)0000424f
Boot000B* UEFI: ADATA SU650NS38, Partition 1	HD(1,GPT,32c520d9-eeb8-5743-af65-2327573bad2d,0x1000,0x96000)/File(EFI\boot\bootx64.efi)0000424f
Boot000C* UEFI: KingstonDataTraveler 3.00000, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(13,0)/HD(2,GPT,d578c906-a8fa-428f-8f00-3fc55a19a0c2,0x39abfe0,0x10000)0000424f
[manjaro-gnome /]# 

That looks ok, Manjaro boot has been set as the highest priority in the boot order.

1 Like

You need to check all packages if they are corrupted (don’t match their checksum).

  1. Chroot to your system
  2. Install pacutils
# pacman -S pacutils
# paccheck --md5sum --quiet

What is the output of paccheck ?

1 Like

let’s see.

[manjaro-gnome /]# pacman -S pacutils
resolving dependencies...
looking for conflicting packages...

Packages (1) pacutils-0.11.1-2

Total Download Size:   0.16 MiB
Total Installed Size:  0.48 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 pacutils-0.11.1-2-x86_64                                                                          162.7 KiB  94.4 KiB/s 00:02 [#############################################################################] 100%
(1/1) checking keys in keyring                                                                                                 [#############################################################################] 100%
(1/1) checking package integrity                                                                                               [#############################################################################] 100%
(1/1) loading package files                                                                                                    [#############################################################################] 100%
(1/1) checking for file conflicts                                                                                              [#############################################################################] 100%
(1/1) checking available disk space                                                                                            [#############################################################################] 100%
:: Processing package changes...
(1/1) installing pacutils                                                                                                      [#############################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[manjaro-gnome /]# paccheck --md5sum --quiet
firefox: '/usr/lib/firefox/distribution/distribution.ini' md5sum mismatch (expected 921df2d08fb7af73e4b1bb5a2c5a5a46)
warning: fwupd: '/etc/grub.d/35_fwupd' read error (No such file or directory)
glibc: '/usr/bin/locale-gen' md5sum mismatch (expected c5356ee3c544864e36b3ab7763eb7805)
warning: grub-btrfs: '/etc/grub.d/41_snapshots-btrfs' read error (No such file or directory)
linux515: '/usr/lib/modules/5.15.78-1-MANJARO/modules.alias' md5sum mismatch (expected e37cbaeba4c722e9dd31e9c464d9a36c)
linux515: '/usr/lib/modules/5.15.78-1-MANJARO/modules.alias.bin' md5sum mismatch (expected e6414ba293fc466f6d4621122a384a22)
linux515: '/usr/lib/modules/5.15.78-1-MANJARO/modules.dep' md5sum mismatch (expected c06296837e6361e2c73378da5d2aed01)
linux515: '/usr/lib/modules/5.15.78-1-MANJARO/modules.dep.bin' md5sum mismatch (expected 5629b14658ee970dc1e972abeafba4bf)
linux515: '/usr/lib/modules/5.15.78-1-MANJARO/modules.symbols' md5sum mismatch (expected 93bd202e4c6e1822eb208bced1e4d3d5)
linux515: '/usr/lib/modules/5.15.78-1-MANJARO/modules.symbols.bin' md5sum mismatch (expected e18f6e3dc57fb0da9e8203b53a36253c)
warning: memtest86+: '/etc/grub.d/60_memtest86+' read error (No such file or directory)
networkmanager: '/usr/lib/NetworkManager/conf.d/20-connectivity.conf' md5sum mismatch (expected 49caac9bf3e4b29e217744aec5003245)
pacman-mirrors: '/usr/share/pacman-mirrors/mirrors.json' md5sum mismatch (expected 299b092b3a21a6f7abfdc9a6e71d9ffa)
vlc: '/usr/lib/vlc/plugins/plugins.dat' md5sum mismatch (expected 0f3242072ec18e936d327794d57e0236)

Grub package looks OK, rest you can ignore these errors (because checksums of linux515 are for Arch Linux.).

But there is a similar issue from EOS forum.
Someone said deleting all of the boot entries in /boot/efi/EFI and then reinstalling grub to solve the issue. :man_shrugging:

1 Like

I removed the HDD and now I’m here


sorry for posting an image

What is the output cat /etc/fstab ?


I do not know why you removed the HDD which has nothing to do with this issue of GRUB. :man_shrugging:

1 Like

I just commented /mnt/hdd from /etc/fstab.
now I’m in manjaro. thanks guys. appreciate your help

Please don’t write something unrelated for the third time and even mark it as a solution. By this logic anyone who is stuck in initramfs should commented /mnt/hdd from /etc/fstab?

We don’t know what is the solution because we don’t know what even the problem was, nor what you did to fix it. Topics like this just make searching the internet more and more useless.

2 Likes

This topic already is not searchable because of

  • Images are used instead of text in important places
  • An inxi is missing
  • The creator of the thread didn’t say anything about the history
  • It was not analyzed which grub was started via uefi (there are 2 hard drives, each with an EFI partition)

I think there was a second Linux installed. Because there was no proper planning, control over the boot process was lost. The update then changed the wrong grub.cfg. …

To get such things under control I wrote maxi:

You can also use maxi -eg

to collect information about the boot process. This works,

  • when you are in your running system (with CTRL+ALT+F2).
  • And also in a live environment