You are not logged in.

#1 2021-08-07 05:12:12

l4mm3rz
Member
Registered: 2021-08-07
Posts: 2

Installing Custom Kernel on Arch Instalation

hello, is possible to install a custom kernel without having a system up?, all the articles I read and videos the guys already had a system up and was installing one kernel over the other, but I wanted to have only one kernel

Offline

#2 2021-08-07 05:15:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Installing Custom Kernel on Arch Instalation

What are you actually trying to achieve? http://mywiki.wooledge.org/XyProblem


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-08-07 05:34:13

l4mm3rz
Member
Registered: 2021-08-07
Posts: 2

Re: Installing Custom Kernel on Arch Instalation

i'm sorry if the question was horrible, I wanted from the iso directly install a custom kernel instead of installing everything cute "pacstrap -i /xyz linux linux-firmware base" go up the system to then customize the kernel, would it be possible just "pacstrap -i /xyz base base-devel" and from chroot I install the custom kernel?

Offline

#4 2021-08-07 05:44:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Installing Custom Kernel on Arch Instalation

You can install pretty much anything from the live environment, provided you have the package available. You still haven't clarified why you need a custom kernel to boot into, as opposed to installing one once you boot into your system.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-08-07 06:58:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,365

Re: Installing Custom Kernel on Arch Instalation

l4mm3rz wrote:

I wanted to have only one kernel

That's not necessarily a very robust approach though and I'd actually suggest to have at least two kernels, esp. if one is custom (in case you mess up and your custom kernel doesn't boot anymore; in general in case an upstream update turns out to be incompatible w/ your HW)

Offline

#6 2021-08-07 11:53:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,500
Website

Re: Installing Custom Kernel on Arch Instalation

l4mm3rz wrote:

would it be possible just "pacstrap -i /xyz base base-devel" and from chroot I install the custom kernel?

Yes.  There is no need to install a kernel at all in some circumstances (some VM / chroot systems).  But still, see the notes above on why this is most likely a bad idea in your situation.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB