You are not logged in.

#1 2020-10-12 15:41:40

klock
Member
Registered: 2020-10-12
Posts: 7

How can I create a seperete systemd-boot entry for my custom kernal

Hello I am trying to get Anbox working on Arch Linux, according to the wiki page for Anbox  it said on kernel 5.7.0 you need to enable some kernel options and I followed the Kernel/Arch Build System, I have done everything but I am not sure how to create a seperete bootloader entry for this custom kernel so I can boot from it. If anyone can assist me with this. Thank you.

Offline

#2 2020-10-12 15:47:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: How can I create a seperete systemd-boot entry for my custom kernal

Which bootloader are you using?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2020-10-12 15:47:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: How can I create a seperete systemd-boot entry for my custom kernal

Offline

#4 2020-10-12 15:54:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How can I create a seperete systemd-boot entry for my custom kernal

You do it exactly the same way you created the other entries.

Offline

#5 2020-10-12 16:17:44

klock
Member
Registered: 2020-10-12
Posts: 7

Re: How can I create a seperete systemd-boot entry for my custom kernal

ewaller wrote:

Which bootloader are you using?

I am using systemd-boot

Offline

#6 2020-10-12 16:18:49

klock
Member
Registered: 2020-10-12
Posts: 7

Re: How can I create a seperete systemd-boot entry for my custom kernal

I have read it but I don't know still how I can create that entry

Offline

#7 2020-10-12 16:23:30

klock
Member
Registered: 2020-10-12
Posts: 7

Re: How can I create a seperete systemd-boot entry for my custom kernal

Scimmia wrote:

You do it exactly the same way you created the other entries.

Here is how my default entry looks like:
title Arch Linux
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options cryptdevice=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:luks:allow-discards root=/dev/mapper/luks rootflags=subvol=@ rd.luks.options=discard rw


I am not sure how do I add the custom linux file like by def I have the vmlinuz-linux

Offline

#8 2020-10-12 16:24:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: How can I create a seperete systemd-boot entry for my custom kernal

Offline

#9 2020-10-12 16:27:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How can I create a seperete systemd-boot entry for my custom kernal

And how was that "default" entry created?

Offline

#10 2020-10-12 16:31:19

klock
Member
Registered: 2020-10-12
Posts: 7

Re: How can I create a seperete systemd-boot entry for my custom kernal

Scimmia wrote:

And how was that "default" entry created?

Created that file in /boot/loader/entries/entryname.conf during install...

Offline

#11 2020-10-12 16:34:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How can I create a seperete systemd-boot entry for my custom kernal

So you should have some idea what those things are, and making another one trivial.

What kernel file are you trying to boot? What initramfs? etc.

Offline

#12 2020-10-12 16:37:16

klock
Member
Registered: 2020-10-12
Posts: 7

Re: How can I create a seperete systemd-boot entry for my custom kernal

Scimmia wrote:

So you should have some idea what those things are, and making another one trivial.

What kernel file are you trying to boot? What initramfs? etc.

Yes exactly I know that but I don't seem to have any other initramfs or linux images there other then these default ones. I am assuming maybe thats because the compilation/installation of this custom kernel messed up or they should be generated some way(ignore my ingorance please i dont know much about this)

Offline

#13 2020-10-12 16:41:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How can I create a seperete systemd-boot entry for my custom kernal

Then you didn't install it.

Offline

#14 2020-10-12 16:44:09

klock
Member
Registered: 2020-10-12
Posts: 7

Re: How can I create a seperete systemd-boot entry for my custom kernal

Scimmia wrote:

Then you didn't install it.

Yeah your right I just realized now that I have to pacman -U those tarballs ... Really sorry just me being dumb

Offline

Board footer

Powered by FluxBB