There are two steps: building an initrd to provide the missing module at boot, and hooking it up with your bootloader.
Here are some instructions about how to make the initrd:
https://docs.slackware.com/howtos:slack ... or_generic
Make sure you use the right kernel number, which can be checked by
Because you are using the Live you installed from, everything is the same in both environments, so you can do all this in relative comfort; but if you were booting from a different Linux, you could build the initrd inside the chroot. It's important to have everything you want to be able to use actually plugged in when building the initrd.
Then establish the location of your device and mount it to a temporary directory, for example by running
lsblk. You want the root directory /, not the separate /boot partition (though you will need to mount that too to put the initrd in the right place and tell the bootloader about it). In fact on second thoughts, it may be best to do that first:
Code: Select all
mkdir -p /mnt/boot/efi
mount /dev/sdb1 /mnt/boot/efi # whatever the right partiition is
cp initrd.gz /mnt/boot/efi/EFI/Salix-Xfce-14.2/
And edit elilo.conf to tell the bootloader it is there:
Code: Select all
notepad /mnt/boot/efi/EFI/Salix-Xfce-14.2/elilo.conf
This initrd allows you to boot with the generic kernel (slimmer than the default 'huge' kernel) but for simplicity, I suggest sticking with the latter.
Here is my elilo.conf (yours will probably be different, especially the root partition):
Code: Select all
mimosa[~]$ cat /boot/efi/EFI/Salix-Xfce-14.2/elilo.conf
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
label=vmlinuz
read-only
append="root=/dev/sdb2 vga=normal ro"
You just need to add this line to the indented stanza:
Now we chroot into the installation and update the bootloader:
Code: Select all
mkdir /mnt/chroot
mount /dev/sdb2 /mnt/chroot # whatever the right partiition is
cd /mnt/chroot
mount -t proc /proc proc/
mount --bind /sys sys/
mount --bind /dev dev/
chroot /mnt/chroot /bin/bash
Mount the boot partition inside the chroot:
Code: Select all
lsblk
mkdir -p /boot/efi
mnt /dev/sdXY /boot/efi # choose the right partition (it is conceivable it will look different inside the chroot)
Update the bootloader:
Answer yes to both questions (though once you have it working you may prefer to boot with rEFInd).
Full disclosure: this is just from memory and what I hope are reliable sources, and I haven't tested it. But hopefully it is mostly right and others can add corrections as needed!