Oh, I see I made a mistake. I wrote nvme drive, but I really wanted to write ssd. mmcblk is the kind of ssd drives that are usually soldered on laptop motherboards.
And I also remembered that, while it works for me, the standard installer doesn't actually support them out of the box. The installer boots, it completes the installation, but then it won't boot. The reason for that is that, unfortunately, the huge kernel does not include the necessary modules to boot from mmcblk drives.
So, what you have to do, is that after the installation completes, you need to mount the drive, install the kernel-generic package (+friends) and then create an initrd for your system, which you will use in your bootloader.
Assuming /dev/mmcblkp0 is your /boot/efi and /dev/mmcblkp1 is your /...
1. Download the kernel-generic, kernel-modules and kernel-headers packages from here:
http://slackware.uk/slackware/slackware ... -5.15.161/ (64bit)
or
http://slackware.uk/slackware/slackware ... -5.15.161/ (32bit - you probably need the -smp packages)
2. Put those on another USB drive (assuming this appears as /dev/sda2 in your installer/live session)
3. From the installer command line (or the live image I guess), mount everything, chroot into it, install the new packages and create an initrd:
Code: Select all
mkdir /mmc
mount /dev/mmcblkp1 /mmc
mount /dev/mmcblkp0 /mmc/boot/efi
mkdir /mmc/usb
mount /dev/sda2 /mmc/usb
mount --bind /dev /mmc/dev
mount --bind /proc /mmc/proc
mount --bind /sys /mmc/sys
chroot /mmc
spkg /usb/*.txz # the kernel packages should be in the root directory of your usb drive for this to work, otherwise change the path accordingly
geninitrd # this should create an initrd.gz file in /boot
4. If you're using elilo (from the standard installer), edit your /boot/efi/EFI/Salix-Xfce-15.0/elilo.conf file, add a
line under the image line and also copy the initrd and kernel-generic into that directory
Code: Select all
cp /boot/initrd.gz /boot/efi/EFI/Salix-Xfce-15.0/
cp /boot/vmlinuz-generic /boot/efi/EFI/Salix-Xfce-15.0/vmlinuz
That should probably do it. I'm writing these from memory so I might be missing something.
If you're using grub (from the live installer), then you should probably do something similar to update its configuration. Once again, djemos might be able to help more with that.
I know, it's not easy. I've wanted to update the installer for this, but I never got to it. It will all work with the next release, since slackware-current moved to using kernel-generic only, but noone knows when that will be.