You are not logged in.

#1 2021-02-08 18:22:26

ThL117
Member
Registered: 2020-10-28
Posts: 7

[SOLVED] Kernel installation issue

So, after two months I decided to try to install Arch once again. Currently I'm running Gentoo on ZFS, so the easiest way to install it was this https://wiki.archlinux.org/index.php/In … stribution .
Now I have ZFS dataset with Arch, and working Arch chroot environment, but it seems pacman fails to install the kernel.
I tried both

pacman -S linux
pacman -S linux-lts

but no matter what I do, /boot directory is empty. This is clearly not a:
1. "Pacman installed everything, but you've unmounted /boot, so it *seems* empty" kind of issue. I've never mounted /boot, in a first place (Actually, I tried this later too, with ext4 /boot, but nothing happened).
2. "You forgot to update something" kind of issue. Everything else installs and works as expected. I can even see the kernel modules, when I do

pacman -Ql linux linux-lts

Should I trigger kernel installation with some command, like I do on Gentoo or anything else? Am I missing something?

Last edited by ThL117 (2021-02-10 03:10:15)

Offline

#2 2021-02-08 18:35:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: [SOLVED] Kernel installation issue

/boot is populated by alpm hooks provided by either mkiticpio or dracut. Which are you using?

Edit: it seems dracut doesn't have alpm hooks.

Last edited by WorMzy (2021-02-08 18:40:41)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2021-02-08 19:02:27

ThL117
Member
Registered: 2020-10-28
Posts: 7

Re: [SOLVED] Kernel installation issue

WorMzy wrote:

/boot is populated by alpm hooks provided by either mkiticpio or dracut. Which are you using?

Edit: it seems dracut doesn't have alpm hooks.

I use dracut. ZFS has official support for it.
If it does not have alpm hooks (Not sure what this is, will google), what should I do?

Offline

#4 2021-02-08 19:11:49

ThL117
Member
Registered: 2020-10-28
Posts: 7

Re: [SOLVED] Kernel installation issue

ThL117 wrote:
WorMzy wrote:

/boot is populated by alpm hooks provided by either mkiticpio or dracut. Which are you using?

Edit: it seems dracut doesn't have alpm hooks.

I use dracut. ZFS has official support for it.
If it does not have alpm hooks (Not sure what this is, will google), what should I do?

These are just some post-install hooks. Okay. So the simple answer is "copy it yourself".
E.g. from

/lib/modules/5.4.95-1-lts/vmlinuz

Offline

#5 2021-02-08 19:17:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: [SOLVED] Kernel installation issue

ThL117 wrote:
WorMzy wrote:

/boot is populated by alpm hooks provided by either mkiticpio or dracut. Which are you using?

Edit: it seems dracut doesn't have alpm hooks.

I use dracut. ZFS has official support for it.
If it does not have alpm hooks (Not sure what this is, will google), what should I do?

You should read the dracut wiki page.

Last edited by Scimmia (2021-02-08 19:17:42)

Offline

#6 2021-02-08 19:23:55

ThL117
Member
Registered: 2020-10-28
Posts: 7

Re: [SOLVED] Kernel installation issue

Scimmia wrote:
ThL117 wrote:
WorMzy wrote:

/boot is populated by alpm hooks provided by either mkiticpio or dracut. Which are you using?

Edit: it seems dracut doesn't have alpm hooks.

I use dracut. ZFS has official support for it.
If it does not have alpm hooks (Not sure what this is, will google), what should I do?

You should read the dracut wiki page.

Just finished. My guess about "copy it yourself" was right. And I wrote a shell script that copies kernel and builds initramfs.

Offline

Board footer

Powered by FluxBB