🐧 Linux 6 soon in a repository near you

Correct me if I am wrong. But going through the arch wiki, the method I am using:

Will have to see how this is different from the method you used. But I can see the advantage of using git, so I can update the kernel on the fly and compile again.

I am testing now…

I am also quite new to this subject so I am trying to learn how this is done reading through the wiki article.

What you posted above seems to be the steps to be taken to get it done!

Please post back and tell us how it went. Good luck!

Linux 6.0 is in testing so it is easier to just add testing repo and install.

Screenshot_20221008_122722

2 Likes

How to please :grin:

Just add the testing repo in /etc/pacman.conf by uncommenting the entries and save the file. Then install via pacman. After you have installed linux 6.0 then reboot and go back and comment out the testing repo. This way you’ll only install the updated kernel and not all the other packages in testing. If you try to update with the testing repo you’ll get every package that’s in it.

sudo pacman -S linux linux-headers
2 Likes

You know there’s an AUR package, linux-mainline, right?

https://aur.archlinux.org/packages/linux-mainline

Plus if you add the maintainer’s repo (miffe), you can avoid the complilation time and get it pre-built.

1 Like

And some people camp out in the Chick-fil-A parking lot for three days before the grand opening.

What is the difference between this and what’s in testing?

If you have this package, it will pull the release candidates from each new kernel. You don’t have to wait for the package to hit Arch Testing, it gets it from source (https://kernel.org/).

thanks for the link… trying to compile for the fun/learning of it and see how fast my new cpu goes. I don’t know miffe, and generally only install very few AUR packages.

I feel safer compiling the kernel on my own.

1 Like

Okay… I used to install mainline kernels on Mint years back.

Edit: https://www.kernel.org/

using all the cpu power… will see how long it takes to compile that linux kernel.

image
:wink:

edit: I took about 15 min…

image

4 Likes

I found Virtual-box isn’t working with linux 6.0 on my system. It complains about UEFI and secure boot.

Perhaps point 8 described here might help?

Edit: actually arch wiki mentions additional packages needed for other kernels.

Install the core packages
Install the virtualbox package. You will also need to choose a package to provide host modules:

for the linux kernel, choose virtualbox-host-modules-arch
for any other kernel (including linux-lts), choose virtualbox-host-dkms
To compile the VirtualBox modules provided by virtualbox-host-dkms, it will also be necessary to install the appropriate headers package(s) for your installed kernel(s) (e.g. linux-lts-headers for linux-lts). [1] When either VirtualBox or the kernel is updated, the kernel modules will be automatically recompiled thanks to the DKMS pacman hook.

No … it’s a kernel thing. I’ve used virtual-box for a long time. This is a new kernel and it needs updates to virtual box for it to work.

Thankfully, my system doesn’t listen to what you’re saying.

1 Like

Well this is what i get on the linux 6.0 in testing.

Screenshot_20221009_110300

First, did you install the 6.0 kernel headers from Testing to accompany your 6.0 kernel from Testing?

https://archlinux.org/packages/testing/x86_64/linux-headers/

Then, for the Virtualbox modules:

If you are using the virtualbox-host-modules-arch package, then you need to install the version from Testing to use with your 6.0 kernel from Testing.

However, if you are using the virtualbox-host-dkms package, it will build the modules for the 6.0 kernel, no problem.

Yes i installed the headers from testing. What i was getting at before is exactly what you are saying i need the updated virtualbox-host-modules-arch but i didn’t realize they were available in testing yet. Hadn’t looked but i will now. :+1:

Looks like i already have them.