Skip to main content
Topic: Trying to build a custom .iso (Read 218 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Trying to build a custom .iso

I'm trying to follow the Artix wiki https://wiki.artixlinux.org/Main/InstallationUsingBuildiso to make a custom .iso but since the first step I can't "modprobing" loop, giving this error:
Code: [Select]
modprobe: FATAL: Module loop-control not found in directory /lib/modules/6.4.10-artix1-1
I tried to manually find it but the only thing I found is a list inside
Code: [Select]
/lib/modules/6.8.7-artix1-1
named 'modules.alias', where I found
Code: [Select]
alias devname:loop-control loop
.
So, I tried to modprobe loop-control but same error occur.
The command 'lsmod'  doesn't list any 'loop' or 'loop-control' module.
Then (but not sure at all that it could be the cause of something) with
Code: [Select]
dinitctl list
I've found
Code: [Select]
[     {X}] syslog-ng (exit status: 1)
.

Anyone can help?
Thanks a lot.

Re: Trying to build a custom .iso

Reply #1
What does uname -r show ?

My hunch would be that the kernel loaded by your bootloader (probably grub) is not the same as the kernel installed by pacman.

That could explain why the modprobe error is referencing 6.4.10-artix1-1.
That's probably the version of the kernel which is running.

This can happen when /boot is not the same directory as where the bootloader is loading the kernel from.
So pacman keeps placing new kernels in /boot, along with matching modules in /usr/lib/modules, but the older kernel is always used and it has no modules installed.

Like I say, just a hunch.