Grub wont open + Libarchive.so.13 deleted

Its done but manjaro grub is still freezing in asus screen
mhwd-kernel -li outputs now

Currently running: 5.15.16-1-MANJARO (linux515)
The following kernels are installed in your system:

  • linux510
  • linux54

maybe youll need to reinstall grub also…
first try installing the 5.17 kernel:
mhwd-kernel -i linux517
update-grub
mkinitcpio -P
if there were no errors run:
exit
systemctl reboot

mhwd-kernel -i linux517 outputs the following

:: Synchronizing package databases…
core 166.9 KiB 265 KiB/s 00:01 [#####################################################] 100%
extra 1895.7 KiB 2.72 MiB/s 00:01 [#####################################################] 100%
community 7.0 MiB 3.10 MiB/s 00:02 [#####################################################] 100%
multilib 177.5 KiB 1334 KiB/s 00:00 [#####################################################] 100%
error: no targets specified (use -h for help)

and if you try this:
pacman -Syyu linux517

Work but I cant still boot :frowning:

what remains is reinstalling grub:
output from:
lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME

I get this
PATH PTTYPE PARTTYPE FSTYPE PARTTYPENAME
/dev/loop0
/dev/loop1
/dev/loop2
/dev/loop3
/dev/sda
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sda5
/dev/sda6
/dev/sdb
/dev/sdb1
/dev/sdb2
/dev/nvme0n1
/dev/nvme0n1p1
/dev/nvme0n1p2
/dev/nvme0n1p3
/dev/nvme0n1p4
/dev/nvme0n1p5
/dev/nvme0n1p6

thats all?
and output from:
lsblk -f
parted -l
cat /etc/fstab

[manjaro /]# lsblk -f                                         
NAME        FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0                                              
loop1                                              
loop2                                              
loop3                                              
sda                                                
|-sda1                                 229M    11% /boot/efi
|-sda2                                             
|-sda3                                             
|-sda4                                             
|-sda5                                59.5G    64% /
`-sda6                                             
sdb                                                
|-sdb1                                             
`-sdb2                                             
nvme0n1                                            
|-nvme0n1p1                                        
|-nvme0n1p2                                        
|-nvme0n1p3                                        
|-nvme0n1p4                                        
|-nvme0n1p5                                        
`-nvme0n1p6                                        
[manjaro /]# parted -l
Model: ATA ST1000LX015-1U71 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  274MB   273MB   fat32        EFI system partition          boot, esp
 2      274MB   290MB   16.8MB               Microsoft reserved partition  msftres
 3      290MB   785GB   785GB   ntfs         Basic data partition          msftdata
 4      785GB   790GB   4294MB  ntfs         Basic data partition          msftdata
 5      790GB   999GB   210GB   ext4
 6      999GB   1000GB  839MB   ntfs         Basic data partition          hidden, diag


Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      2839MB  2843MB  4194kB  primary               esp


Model: KINGSTON SNVS1000GB (nvme)
Disk /dev/nvme0n1: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  274MB   273MB   fat32        EFI system partition  boot, esp
 2      274MB   290MB   16.8MB               MSR partition         msftres
 3      290MB   785GB   785GB   ntfs         Basic data partition  msftdata
 4      785GB   790GB   4294MB  ntfs         Basic data partition  msftdata
 5      790GB   999GB   210GB   ntfs         Basic data partition  msftdata
 6      999GB   1000GB  839MB   ntfs         Basic data partition  msftdata


[manjaro /]# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=801E-E876                            /boot/efi      vfat    umask=0077 0 2
UUID=173c4f10-a14c-4dd0-837e-09a7e22b786a /              ext4    defaults,noatime 0 1

edit your post, click on this icon in the editor: </> and put the outputs inside of them…

1 Like

run again this command:
lsblk -f
and then copy the formated output here…

NAME        FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0                                              
loop1                                              
loop2                                              
loop3                                              
sda                                                
|-sda1                                 229M    11% /boot/efi
|-sda2                                             
|-sda3                                             
|-sda4                                             
|-sda5                                59.5G    64% /
`-sda6                                             
sdb                                                
|-sdb1                                             
`-sdb2                                             
nvme0n1                                            
|-nvme0n1p1                                        
|-nvme0n1p2                                        
|-nvme0n1p3                                        
|-nvme0n1p4                                        
|-nvme0n1p5                                        
`-nvme0n1p6 

thats it?

yes it is all I get, what are you trying to do?

and also post output from this:
blkid

/dev/loop1: TYPE="squashfs"
/dev/nvme0n1p5: LABEL="Nuevo vol" BLOCK_SIZE="512" UUID="FC0613750613305E" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5ff45ee7-18f1-4f00-a8d7-00fa7bca8013"
/dev/nvme0n1p3: LABEL="OS" BLOCK_SIZE="512" UUID="446820E56820D806" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="885e8720-e6dd-11eb-9477-efd28e652680"
/dev/nvme0n1p1: UUID="801E-E876" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="885e871b-e6dd-11eb-9477-efd28e652680"
/dev/nvme0n1p6: LABEL="RECOVERY" BLOCK_SIZE="512" UUID="66B2CF5FB2CF31FB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="885e8730-e6dd-11eb-9477-efd28e652680"
/dev/nvme0n1p4: LABEL="SharedDisk" BLOCK_SIZE="512" UUID="3E0EA98C0EA93E31" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="885e8729-e6dd-11eb-9477-efd28e652680"
/dev/nvme0n1p2: PARTLABEL="MSR partition" PARTUUID="885e871c-e6dd-11eb-9477-efd28e652680"
/dev/sdb2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="EC32-C57A" BLOCK_SIZE="512" TYPE="vfat"
/dev/sdb1: BLOCK_SIZE="2048" UUID="2022-01-23-13-09-40-00" LABEL="MANJARO_XFCEM_2122" TYPE="iso9660"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/sda4: LABEL="SharedDisk" BLOCK_SIZE="512" UUID="3E0EA98C0EA93E31" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="a65818ae-abbf-40b4-afc8-e1637efdb1b8"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="72845421-4b9b-42a7-8d8c-8606e93fe7ed"
/dev/sda5: UUID="173c4f10-a14c-4dd0-837e-09a7e22b786a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="26cfc501-a66e-1243-9fb8-ae105d31d173"
/dev/sda3: LABEL="OS" BLOCK_SIZE="512" UUID="3E70A3B870A37575" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="517ec845-cc0c-4f86-aefe-6e982bf75de9"
/dev/sda1: LABEL_FATBOOT="SYSTEM" LABEL="SYSTEM" UUID="801E-E876" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="f42ff209-4ebb-498e-84f8-64adb137ecff"
/dev/sda6: LABEL="RECOVERY" BLOCK_SIZE="512" UUID="66B2CF5FB2CF31FB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b57b65f0-b7c6-474b-86a2-f1c77db09d19"
/dev/loop3: TYPE="squashfs"

i dont know, you could try reinstall grub… so are you running efi, just to be sure?

1 Like

I tried following this tutorial https://wiki.manjaro.org/index.php?title=GRUB/Restore_the_GRUB_Bootloader but I get this messages for the following commands.

[manjaro /]# pacman -Syu grub
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                        7.0 MiB  3.91 MiB/s 00:02 [#####################################################] 100%
 multilib is up to date
warning: grub-2.06-6 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) grub-2.06-6

Total Installed Size:  47.93 MiB

:: Proceed with installation? [Y/n] y
(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%
error: failed to commit transaction (conflicting files)
grub: /etc/grub.d/00_header exists in filesystem
... several lines of a file existing in filesystem ...
Errors occurred, no packages were upgraded.

So tried doing

pacman -Syu --overwrite '*' grub
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: grub-2.06-6 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: /boot/grub/grub.cfg installed as /boot/grub/grub.cfg.pacnew
warning: /etc/default/grub installed as /etc/default/grub.pacnew
:: Grub does no longer support side-loading modules when secure boot is
   enabled. Thus booting will fail, unless you have an efi executable
   'grubx64.efi' with bundled modules.
ldconfig: File /usr/lib/libhpipp.so.0 is empty, not checked.
... several lines saying x is empty or truncated, not checked ...
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...

and the some steps later I tried to chroot as told in the tutorial but i cant

[manjaro manjaro]# manjaro-chroot /mnt /bin/bash
mount: /mnt/proc: mount point does not exist.

I kept on creating the directories by sudo mkdir /mnt/proc for example but now i get

manjaro manjaro]# manjaro-chroot /mnt /bin/bash
mount: /mnt/etc/resolv.conf: mount point does not exist.
chroot: failed to run command '/bin/bash': No such file or directory
[manjaro manjaro]# sudo mkdir /mnt/etc/resolv.conf
mkdir: cannot create directory ‘/mnt/etc/resolv.conf’: No such file or directory

look at this:

Grub does no longer support side-loading modules when secure boot is
   enabled. Thus booting will fail, unless you have an efi executable
   'grubx64.efi' with bundled modules.

do you have enabled secure boot in bios? check that first

It is already disabled, normally I have a dual boot I dont know if that changes anything?