I'm following a GPU passthrough guide online which requires me to add "pci-stub" to /etc/initramfs-tools/modules. But it doesn't exist. I'm using OpenSUSE Tumbleweed.
1 Answer
In OpenSUSE the process is a bit different.
You need to open /etc/sysconfig/kernel for editing and than locate the line below starting with:
INITRD_MODULES="..."
which you need to edit and add the module you want to install.
After this you need to run mkinitrd that is equivalent to update-initramfs in Debian like distros.
PS: I never done this before so be careful
-
That file isn't there for some reason. And I've given up, I'm going to try installing Windows 10 with dual bootAvery Alejandro– Avery Alejandro2019-01-02 01:50:01 +00:00Commented Jan 2, 2019 at 1:50
-
What are you trying to do?JonLord– JonLord2019-01-02 02:05:08 +00:00Commented Jan 2, 2019 at 2:05
-
/etc/sysconfig/kernel does not exist FYI.twoLeftFeet– twoLeftFeet2019-04-27 04:39:28 +00:00Commented Apr 27, 2019 at 4:39
-
In my OpenSUSE Tumbleweed even
mkinitrddoes not exist. Some OpenSUSE documentation says dodracut -f. Don't know if it's the same thing.Andyc– Andyc2023-05-05 15:07:57 +00:00Commented May 5, 2023 at 15:07