You are not logged in.

#1 2018-03-18 17:27:48

cpcp800
Member
Registered: 2016-08-31
Posts: 15

Using systemd-boot and to different kernels

I wan't to use pcie passthrough on my desktop pc, and i have been following this guide Arch wiki - PCI passtrough via OVMF

I got to the mkinitcpio step, and i wanted to make a different kernel for gaming, since i want to use the regular drivers for normal linux usage. I made a custom mkinitcpio called mkcustominit.conf and i ran

#!/bin/bash
mkinitcpio -c /home/cpj/Projects/Windows/mkcustominit.conf -g /boot/linux-gaming.img

I then duplicated my boot loader to /boot/loader/entries/gaming.conf and wrote it as:

title Arch Linux
linux /linux-gaming.img
initrd /initramfs-linux.img
options cryptdevice=UUID=d0a76cb1-6972-49bf-84ff-399753408f95:cryptlvm root=/dev/mapper/partyVan-root resume=/dev/mapper/partyVan-swap rootfstype=ext4 rw intel_iommu=on

However when i boot i get an error saying the kernel is unsupported. Did a miss a step or is this not the correct way to do what i am trying to do?

Offline

#2 2018-03-18 17:33:51

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

Re: Using systemd-boot and to different kernels

mkinitcpio makes initrd images, not kernel images.

Offline

Board footer

Powered by FluxBB