LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   How to change Kernel used by Slackware's Installer? (https://www.linuxquestions.org/questions/slackware-installation-40/how-to-change-kernel-used-by-slackwares-installer-4175666206/)

me_for_root 12-18-2019 09:20 PM

How to change Kernel used by Slackware's Installer?
 
Hey there,

I am trying to install Slackware-64-current on an sd card plugged to m laptop's card reader but have been having some issues with drivers not being loaded/available for the card reader present on the laptop. I ran `lsusb` and `lspcid` and they both showed that the card reader was detected, just not assigned a driver.

I built a custom kernel with the necessary drivers for my laptops devices embedded it but I am not sure where I should put it so that:
  1. the installer will use it to boot
  2. the installed Slackware version will use it

Can any one give me some pointers? I would greatly appreciate it.

alekow 12-19-2019 01:26 PM

Depending on the machine you are using you would want to put your kernel under
Code:

/EFI/BOOT
folder and edit the
Code:

/EFI/BOOT/grub.cfg
or in the
Code:

/kernels
directory and modify
Code:

/isolinux/isolinux.cfg
All that on the installation media of course. After installation you can chroot to your system and install the kernel the usual way. If you have aother linux installation already on the machine you may as well just install the whole system using chroot.

me_for_root 12-22-2019 02:35 PM

Alright following your instructions, I was able to boot with the custom kernel image.
Now my sd card is detected properly as mm*. I created 4 partitions(efi, swap, root, home) on it but the installer does not pick up on them.
I ran fsck on all the created partitions and they are all clear of errors. Any idea what might be the issue here?

Didier Spaier 12-23-2019 07:26 AM

The installer for Slackware version 14.2 doesn't probe SD cards. You need to use the installer for Slackware current.

me_for_root 12-24-2019 10:09 AM

I used Alien Bob's script to mirror the latest Slackware current release then created a bootable USB. Is that what you are referring to?
Also running `lsusb` shows "unassigned class" before the card reader's name, could that be a problem?


All times are GMT -5. The time now is 06:17 PM.