Artix Linux Forum

General Category => Other distros => Topic started by: cat herders of linux on 11 November 2022, 22:38:59

Title: how bad of an error is this error?
Post by: cat herders of linux on 11 November 2022, 22:38:59
==> WARNING: Preset file `/etc/mkinitcpio.d/linux-lqx.preset' is empty or does not contain any presets.

liquorix kernel seems bugged this last update.  guess i should see if they have a forum...
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 11 November 2022, 22:41:53
i mean obviously the kernel isnt booting from liquorix.  not an artix issue either.  can i run mkinitcpio manually to correct that?
Title: Re: how bad of an error is this error?
Post by: Lancia on 12 November 2022, 06:28:33
>can i run mkinitcpio manually to correct that?

How is mkinitcpio gonna fix that when it doesn't even have a preset file to work with?
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 12 November 2022, 14:52:58
I know not enough to know even what mkinitcpio even does so...
Title: Re: how bad of an error is this error?
Post by: suren on 14 November 2022, 21:59:49
what's the output of this

Code: [Select]
pacman -Qkk qemu


maybe.
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 15 November 2022, 05:01:24
what's the output of this

Code: [Select]
pacman -Qkk qemu


maybe.
Code: [Select]
sudo pacman -Qkk qemu
[sudo] password for catherdersoflinux:
error: package 'qemu' was not found

not a qemu user.  i use virtualboxes.  that's about as fancy as i get.  Not sure what that has to do with the failing liquorix kernel though.
Title: Re: how bad of an error is this error?
Post by: Surf3r on 15 November 2022, 09:06:03
I don't think it's that bad having in mind it's labeled only as a WARNING. So it's bad but not extraordinary bad.
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 15 November 2022, 15:19:53
I don't think it's that bad having in mind it's labeled only as a WARNING. So it's bad but not extraordinary bad.
well the kernel wont boot...  so thwere's that...  I just uninstalled liquorix.  I posted to their forum.  been a day or so no responses..
Title: Re: how bad of an error is this error?
Post by: suren on 15 November 2022, 16:20:21
sorry i ment
Code: [Select]
pacman -Qkk linux-lqx

this check for files that are missing or are different
Title: Re: how bad of an error is this error?
Post by: suren on 15 November 2022, 17:12:19
I'm not sure about "linux-lqx"

but try this
Code: [Select]
sudo cp /etc/mkinitcpio.d/linux.preset /etc/mkinitcpio.d/linux-lqx.preset

then use a editor. "nano" for this example.
Code: [Select]
sudo nano /etc/mkinitcpio.d/linux-lqx.preset
and change it to look like this

Code: [Select]
# mkinitcpio preset file for the 'linux-lqx' package

ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-lqx"

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux-lqx.img"
#default_options=""

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-linux-lqx-fallback.img"
fallback_options="-S autodetect"

and then run this on shell

Code: [Select]
sudo update-grub

if this doesn't work and output of
Code: [Select]
pacman -Qkk linux-lqx
shows no difference. there's a problem with package itself
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 17 November 2022, 04:24:33
TY for the option to try.  It hangs on loading initial ram disk
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 17 November 2022, 14:08:12
Code: [Select]
sudo pacman -Qkk linux-lqx

linux-lqx: 7200 total files, 0 altered files


so at this point i just stop using liquorix.  it's been a few days and no one on their forums wishes to address it yet.  I'm guesing they built that package with some systemd dependency.  If that's the case i'm out.
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 18 November 2022, 17:47:50
your solution didn't work initially but it did work today.  linux-lqx installed today without the error but still wouldn't boot so i used the preset contents as you suggested and now it boots!
I'm not sure about "linux-lqx"

but try this
Code: [Select]
sudo cp /etc/mkinitcpio.d/linux.preset /etc/mkinitcpio.d/linux-lqx.preset

then use a editor. "nano" for this example.
Code: [Select]
sudo nano /etc/mkinitcpio.d/linux-lqx.preset
and change it to look like this

Code: [Select]
# mkinitcpio preset file for the 'linux-lqx' package

ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-lqx"

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux-lqx.img"
#default_options=""

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-linux-lqx-fallback.img"
fallback_options="-S autodetect"

and then run this on shell

Code: [Select]
sudo update-grub

if this doesn't work and output of
Code: [Select]
pacman -Qkk linux-lqx
shows no difference. there's a problem with package itself
Title: Re: how bad of an error is this error?
Post by: suren on 18 November 2022, 19:40:34
you might've needed to do a
Code: [Select]
mkinitcpio --allpresets

but i think a pacman hook did it automagicly
Title: Re: how bad of an error is this error?
Post by: cat herders of linux on 19 November 2022, 00:19:44
TY for your help!  I appreciate you.