You are not logged in.

#1 2017-03-30 17:26:31

Foryah
Member
Registered: 2016-06-02
Posts: 27

Can't boot newly build kernel

I have a custom kernel built, and now I'm trying to boot it. I followed the tutorial here. Everything except the copy system.map which is optional as far as I understand.

I'm using systemd-boot as a boot manager, and after I reboot, I see the custom kernel in the boot list, I select it, and then I get a black screen that does nothing. I have no idea where I can get the logs for that...

Offline

#2 2017-03-30 18:08:34

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

Re: Can't boot newly build kernel

Sounds like the initrd is broken or nonexistent. However, without a lot more information about what you did, it will not be possible to say.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-30 18:20:19

Foryah
Member
Registered: 2016-06-02
Posts: 27

Re: Can't boot newly build kernel

What I did is:
1. I followed this tutorial : https://wiki.archlinux.org/index.php/Ke … ompilation
2. I went into /boot/loader/entries, created a new entry there called custom.conf looking like this :

title		Custom
linux 		/vmlinuz-linux411
initrd		/initramfs-linux411.img
options		root=UUID=d4119526-26e6-4a7c-8451-2333fc5c0d21 rw

3. After that I ran :

bootctl update

Yes, I do have vmlinuz-linux411 and initramfs-linux411.img and  initramfs-linux411-fallback.img in my /boot directory

edit: My default Arch kernel works fine, just this custom build doesn't boot....

Last edited by Foryah (2017-03-30 18:21:13)

Offline

Board footer

Powered by FluxBB