Whenever I boot, I get this for a while, before it switches to ‘too few args’. It eventually lets me into the emergency terminal, and when I cat the offending file, it also just says ‘too few args‘. Here is an image, I will answer any questions.
I have never ever had any Dracut bugs when booting using grub. Was the system up to date? Maybe try sudo dracut-rebuild
please post the output of this command:
pacman -Q | grep dracut
It should read
dracut-108_eos-1
Pudge
I got
dracut 108_eos-1
eos-dracut 1.7-1
It is, and this command had no effect on the issue
Do you mean the contents of the file are literally the words “too few args”? I guess that would explain the error line 1: too: command not found.
Is there anything else in the file? If not, I would guess there was an error of some kind when it was created.
See if a package owns that file.
pacman -Qo /path/to/file
If something owns it, perhaps you can delete that file or move it to backup and reinstall the package.
This file only exists during boot, and I can only find it from the emergency shell.
In what context did you run this command? Most likely you will need to set up a chroot from the live environment before you run it.
https://discovery.endeavouros.com/system-rescue/arch-chroot/
If you can, sign in to the forum from the live environment and paste the output of the command into the thread so we can see what is happening.
ah, alright
Pudge:
pacman -Q | grep dracutI got
dracut 108_eos-1 eos-dracut 1.7-1
You have two versions of dracut installed. Try deleting eos-dracut 1.7-1
@dalto correct me if I am wrong on this. If still not working install
kernel-install-for-dracut ?
Pudge
@dalto correct me if I am wrong on this.
Those are different, you need both of those with grub.
You shouldn’t remove either.
I am confused. Maybe it’s old age.
Is this different from systemd boot versus grub?
Would systemd boot only require dracut 108_eos-1?
Thanks for your assistance.
Pudge
Is this different from systemd boot versus grub?
Yes, systemd-boot requires kernel-install-for-dracut and other bootloaders require eos-dracut
Back to the original issue, @wyatt things like this are usually caused by one of a couple of issues:
- Corrupt files on the source system when the initrd is built
- A partial update is causing things to be out of sync(Either caused by holding things back in
/etc/pacman.confor a partially updated mirror)
I would chroot into the system, validate you don’t have anything in holdPkg and then so an update and run dracut-rebuild
