You don’t have a /boot
partition.
From within the chroot, can you try reinstalling mkinitcpio
and libarchive
pacman -S libarchive mkinitcpio
You don’t have a /boot
partition.
From within the chroot, can you try reinstalling mkinitcpio
and libarchive
pacman -S libarchive mkinitcpio
I do ?
[root@EndeavourOS liveuser]# df -h |grep mnt
/dev/mapper/CryptoLUKS 452G 79G 350G 19% /mnt
/dev/nvme0n1p1 300M 14M 286M 5% /mnt/boot/efi
And
[root@EndeavourOS liveuser]# fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVLB512HAJQ-000L7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3495D514-F984-1041-A6CB-053AA96F4508
Device Start End Sectors Size Type
/dev/nvme0n1p1 4096 618495 614400 300M EFI System
/dev/nvme0n1p2 618496 964734406 964115911 459.7G Linux filesystem
/dev/nvme0n1p3 964734407 1000206899 35472493 16.9G Linux filesystem
/dev/nvme0n1p3
is swap btw, also maybe I mix up everything in my brain here and I may not have any /boot partition, sorry if it’s the case
Ok I’m gonna try that right now !
Thanks again =)
That is your efi partition which is mounted at /boot/efi
. That isn’t involved in this problem really except for the fact that you previously had it mounted in the wrong spot.
Thanks a lot for explanation, these are very essential.
It didn’t do too I think :
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
bsdtar: Write error
: Write error==> ERROR: Image generation FAILED: bsdtar (step 1) reported an error
(5/5) Checking which packages need to be rebuilt
[root@EndeavourOS boot]# ls -la
total 30176
drwxr-xr-x 4 root root 4096 Jan 10 20:10 .
drwxr-xr-x 19 root root 4096 Jan 10 19:44 ..
drwxr-xr-x 4 root root 4096 Jan 1 1970 efi
drwxr-xr-x 6 root root 4096 Jan 7 14:18 grub
-rw------- 1 root root 0 Jan 10 20:09 initramfs-linux-fallback.img
-rw------- 1 root root 0 Jan 10 20:09 initramfs-linux.img
-rw------- 1 root root 0 Jan 10 20:09 initramfs-linux-lts-fallback.img
-rw------- 1 root root 0 Jan 10 20:09 initramfs-linux-lts.img
-rw------- 1 root root 0 Jan 10 20:10 initramfs-linux-zen-fallback.img
-rw------- 1 root root 0 Jan 10 20:09 initramfs-linux-zen.img
-rw-r--r-- 1 root root 10380224 Jan 10 19:48 vmlinuz-linux
-rw-r--r-- 1 root root 9314336 Jan 10 19:48 vmlinuz-linux-lts
-rw-r--r-- 1 root root 11179328 Jan 10 20:07 vmlinuz-linux-zen
I’m sure I messed up somewhere, I guess something in my hard drive got corrupted when I suspended my laptop (happened one time by the past) because my /
is encrypted, I don’t know really, as this post says :
https://bbs.archlinux.org/viewtopic.php?id=262209
and this one :
Maybe it seems there is something that cannot be repaired in this/my case, I’m gonna run a big rsync to backup /home
/etc
, maybe /opt
and /srv
then reinstall ╮(^_^)╭
At least we tried ! Thanks so much @dalto, thank you @s4ndm4n too ! I’m gonna try to not make you guys lose more time on me, I’ll manage by now \ø/
Cheers !
It’s odd that vmlinuz files can be written there though.
Maybe something is wrong with zstd or so. Can you try reinstalling that in chroot?
✲゚。✧٩(・ิᴗ・ิ๑)۶✲゚。✧
That did it! ! ! !! ! ! !
I then reinstall linux
linux-lts
linux-zen
with pacman -S
, recreated grub.cfg
with grub-mkconfig
and grub-install
like in this tutorial (UEFI part).
Thank you @moson <3
How did this started you think ? This is so strange L(・o・)」
Don’t know. Something went wrong with a previous update when upgrading zstd
it seems (last pkg update was 2021-12-29). Maybe the pacman log reveals something.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.