You are not logged in.
When I boot up, I get the following error message
Loading Linux linux-zen ...
error: file ’/vmlinuz-linux-zen’ not found.
Loading initial ramdisk ...
error: you neeed to load the kernel first.I use grub as a bootloader (the one with best luks compatibility).
My grub entry (from the Grub ’e’ minimal editor):
setparams ’Arch Linux, with Linux linux-zen’
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 1931-092C
echo ’Loading Linux linux-zen ...’
linux /vmlinuz-linux-zen root=/dev/mapper/ArchOs-root rw loglevel=3 quiet cryptdevice=UUID=89f23fbd-20cb-4502-9e33-549b44432735:cryptlvm CONFIG_DRM_SIMPLEDRM=y
echo ’Loading initial ramdisk ...’
initrd /intel-ucode.img /initramfs-linux-zen.imgMy boot partition is not encrypted, but my root & home partitions are lvm volumes on a luks encrypted partition.
https://wiki.archlinux.org/title/Dm-cry … VM_on_LUKS
The only difference with the installation commands provided is the use of --type luks1 flag due to restricted compatibility between luks2 and GRUB. (Why is luks2 the default flag?
). And xfs partitioning.
All on the same nvme :
cryptsetup luksFormat --type luks1 /dev/nvme0n1p2
cryptsetup luksOpen /dev/nvme0n1p2 archos
(pvcreate /dev/mapper/archos)
vgcreate /dev/mapper/archos
lvcreate --name root -L 60G archos
lvcreate --name home -l 100%FREE archos
mkfs.xfs -L root /dev/archos/root
mkfs.xfs -L home /dev/archos/home
mkswap /dev/archos/swapEverything worked fine after the installation I did a few weeks ago. I guess something broke after a `pacman -Syu --overwrite (some pytorch directory)` upgrade.
Here is an extract of `/etc/default/grub`:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet cryptdevice=UUID=89f23fbd-20cb-4502-9e33-549b44432735:cryptlvm CONFIG_DRM_SIMPLEDRM=y
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"
# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y
(...)Rest of the file is default options.
I have only configured linux-zen kernel and not the fallback image. It shows the same error.
Likewise I have installed linux kernel too, but I have not configured it and it shows the exact same error (but with /vmlinuz-linux file instead).
Mounting through the installation medium, I could query the versions of the kernel packages with pacman -Qs linux-zen et pacman -Qs linux
linux-zen 5.18.7.zen1-1
linux-zen-headers 5.18.7.zen1-1
linux 5.18.7.arch1-1
linux-api-headers 5.17.5-2
I will try to send me the /etc/fstab, the mkinitcpio.conf through the installation medium and edit the post with the files.
Here is the HOOKS line from /etc/mkinitcpio.conf :
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems keyboard fsck)lvm2 is installed (2.03.16-1).
I have redone a grub install and a mkconfig. Strange output of mkinitcpio -P
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
Installing for x86_64-efi platform.
Installation finished. No error reported.
# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Warning:os-prober will not be executed to detect othe bootable partitions.
(...)
Adding boot menu entry for UEFI Firmware Settings ...
done
# mkinitcpio -P
==> ERROR: No presets found in /etc/mkinitcpio.dI reinstalled pikaur that was somehow broken.
A new version off linux-zen kernel showed up. Which I could install. I had strange errors about sha-512 not being present.
mkinitcpio.d was empty, thus mkinitcpio -P failed, but with linux-zen reinstallation mkinitcpio -P worked.
Now grub doesn’t show any entry.
EDIT: I forgot a mkconfig -o /boot/grub/grub.cfg
The menu entry added up and everything boots up normally !
Pikaur was not broken, I tried to launch it with the root user ...
I suppose the error was in the linux-zen kernel previous version.
Last edited by dlesnoff (2022-07-02 10:57:06)
Offline