I'm confused with the vmlinuz-linux-clear-bin.cmdline file. It installs to the /boot folder. That's a problem because Grub treats it as a kernel. Then, I read below that the contents of it should be copied into linux-clear-bin.conf. Where should this file go, since it doesn't exist on my system? Will vmlinuz-linux-clear-bin.cmdline execute if it's left in my /boot folder? Is this file even necessary, since it seems to boot fine without it anyways?
Search Criteria
Package Details: linux-clear-bin 6.2.11.1297-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-clear-bin.git (read-only, click to copy) |
---|---|
Package Base: | linux-clear-bin |
Description: | Clear Linux kernel and modules in binary |
Upstream URL: | https://github.com/clearlinux-pkgs/linux |
Licenses: | GPL2 |
Provides: | WIREGUARD-MODULE |
Submitter: | yw662 |
Maintainer: | aorth |
Last Packager: | aorth |
Votes: | 13 |
Popularity: | 0.000002 |
First Submitted: | 2019-08-04 22:33 (UTC) |
Last Updated: | 2023-04-18 04:10 (UTC) |
Dependencies (7)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, linux-firmware-amd-staging-um5606-gitAUR, linux-firmware-uncompressedAUR, linux-firmware-gitAUR)
- crda (wireless-regdb) (optional) – to set the correct wireless channels of your country
- intel-ucode-clear (optional) – intel cpu and i915 firmware
- linux-clear-headers-binAUR (optional) – header files for the kernel
- mkinitcpio (mkinitcpio-gitAUR) (optional) – to create custom init cpio
Required by (2)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
Sources (2)
MikeDee commented on 2020-04-08 21:09 (UTC)
aorth commented on 2020-03-08 11:53 (UTC)
@metak yes you're right, this has been solved with the updated mkinitcpio. Thanks!
metak commented on 2020-03-08 10:47 (UTC) (edited on 2020-03-08 10:49 (UTC) by metak)
I am not sure why this happens, but the kernel boots and runs fine. If it still happens in the next few kernel releases I will look at it more closely.
aorth commented on 2020-02-20 08:19 (UTC)
With 5.5.4.910-0 there is an error during the mkinitcpio stage of installation:
cp: cannot stat '(builtin)': No such file or directory
I am not sure why this happens, but the kernel boots and runs fine. If it still happens in the next few kernel releases I will look at it more closely.
aorth commented on 2020-02-13 07:12 (UTC)
@dedguy21 You need to copy the cmdline into the config entry. Here's what I use:
title Arch Linux (clear)
linux /vmlinuz-linux-clear-bin
initrd /intel-ucode.img
initrd /initramfs-linux-clear-bin.img
options luks.name=ffe04b78-49d8-356a-8f4a-aca518cdj2n1=vg0 luks.options=discard root=/dev/mapper/vg0-root quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests intel_iommu=igfx_off no_timer_check noreplace-smp page_alloc.shuffle=1 rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs tsc=reliable rw module.sig_unenforce
Note that you need to specify the intel-ucode before the general system initrd.
dedguy21 commented on 2020-02-13 01:31 (UTC) (edited on 2020-02-13 01:42 (UTC) by dedguy21)
@aorth
should we add vmzluz-linux-clear-bin.cmdline to systemd-boot linux-clear-bin.conf
as such:
1 title Clear Linux
2 linux /vmlinuz-linux-clear-bin
3 linux /vmlinuz-linux-bin.cmdline *** guessing i would add it at this point
4 initrd /intel-ucode.cpio
5 initrd /initramfs-linux-clear-bin.img
aorth commented on 2020-02-12 17:01 (UTC)
@dedguy21 Yeah, you need to remove the old files before building. Unfortunately all Clear Linux's binary files have the same name for every update (pack-kernel-native-from-0.tar), so when you run makepkg it sees you already have it, and doesn't download a new one. Then of course the hash of the file doesn't match the one in the PKGBUILD.
dedguy21 commented on 2020-02-12 16:38 (UTC) (edited on 2020-02-12 16:51 (UTC) by dedguy21)
Update: removing the old folder and doing a fresh clone resolved the issue. Just wondering why a pull request isn't working to update?
Hi sorry for not posting that here what I get:
Making package: linux-clear-bin 5.5.2.903-1... Checking, retrieve, found (no issues) ...
Validating source files with sha256sums... Manifest.kernek-native ... Failed Pack-kernel-native-from-0.tar ... Failed
Error: One or more files did not pass the validity check
What I plan to do next is rm the linux-clear-bin git download and just start fresh instead of just running an update if it works I will update.
aorth commented on 2020-02-12 10:49 (UTC)
@dedguy21 Can please post the actual error you are getting? The package builds and installs fine for me. I'm currently booted to the kernel so it definitely works.
dedguy21 commented on 2020-02-12 09:52 (UTC)
I'm getting a validity check error again, not using aur helper, just a simple git pull && makepkg -si
Pinned Comments
aorth commented on 2020-04-09 07:01 (UTC) (edited on 2020-09-27 12:08 (UTC) by aorth)
Stock kernel parameters are saved in
/boot/vmlinuz-linux-clear.cmdline
. Although you may not need to apply all the parameters, you should copy most of these into your systemd-boot or GRUB configuration.If you are using out-of-tree kernel modules with dkms you will need to add the
module.sig_unenforce
parameter to allow loading of unsigned kernel modules.Please check the Clear Linux kernel releases on GitHub (not kernel.org) before flagging out of date here.