I am trying to install Slackware 15.0 on my
2011 MacBook Pro. I am able to do this without any problems when I do not encrypt my root partition. However, if I try to install onto an encrypted root partition then I get stuck on this screen when I boot:
I have successfully installed Slackware 15.0 on my main computer (on multiple occasions) using the exact same partition/encryption setup on btrfs using the grub bootloader.
In the image you can see that it seems to know to ask for my decryption passphrase, but cannot actually prompt me. Hmm.
Next I will walk you through how I went about the installation.
Before running the installer I partition my disks. Here is the output of lsblk -f to show how I have done this:
Code:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
|-sda1 vfat FAT32 9886-F7B8 492.1M 4% /boot/efi
|-sda2 ext2 1.0 56454cfa-acaa-488e-a6e7-30a0671b2d00 838.8M 12% /boot
`-sda3 crypto_LUKS 2 6403afb3-cac7-409b-8b81-001ae5ba999f
`-lukssda3 btrfs 81b1cb8e-7ec4-43a9-928c-136931e20e0d 456.1G 2% /
...
As you can see I setup my encrypted partition to use btrfs, so I then create a root subvolume that I mount at /mnt before mounting my boot and efi partitions.
Next I run the installer. Note that I skip installing lilo/elilo because I am going to use grub.
After I successfully run the slackware installer, I go back to the shell, chroot into /mnt, setup my /etc/fstab, and run the following commands before rebooting:
# /usr/share/mkinitrd/mkinitrd_command_generator.sh | sh
Code:
OK: /lib/modules/5.15.19/kernel/drivers/usb/storage/usb-storage.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/ehci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/ehci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/ehci-pci.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/xhci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/xhci-pci-renesas.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/xhci-pci.ko added.
WARNING: Could not find firmware "/lib/firmware/renesas_usb_fw.mem"
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/ehci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/ohci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/ohci-pci.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/xhci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/usb/host/uhci-hcd.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/usbhid/usbhid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/i2c/i2c-core.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/i2c-hid/i2c-hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-generic.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/acpi/video.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/platform/x86/wmi.ko added.
OK: /lib/modules/5.15.19/kernel/net/rfkill/rfkill.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/input/sparse-keymap.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/acpi/battery.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/acpi/platform_profile.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/platform/x86/asus-wmi.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/usbhid/usbhid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-asus.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-cherry.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/usbhid/usbhid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-logitech.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/usbhid/usbhid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-logitech-dj.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-logitech-hidpp.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-lenovo.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-microsoft.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/5.15.19/kernel/drivers/hid/hid-multitouch.ko added.
OK: /lib/modules/5.15.19/kernel/lib/zstd/zstd_compress.ko added.
OK: /lib/modules/5.15.19/kernel/lib/zstd/zstd_compress.ko added.
OK: /lib/modules/5.15.19/kernel/fs/btrfs/btrfs.ko added.
OK: /lib/modules/5.15.19/kernel/crypto/af_alg.ko added.
OK: /lib/modules/5.15.19/kernel/crypto/algif_skcipher.ko added.
/boot/initrd.gz created.
Be sure to run lilo again if you use it.
# grub-install --target=x86_64-efi --efi-directory=/boot/efi
Code:
Installing for x86_64-efi platform.
Installation finished. No error reported.
# grub-mkconfig -o /boot/grub/grub.cfg
Code:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-huge-5.15.19
Found initrd image: /boot/initrd.gz
Found linux image: /boot/vmlinuz-huge
Found initrd image: /boot/initrd.gz
Found linux image: /boot/vmlinuz-generic-5.15.19
Found initrd image: /boot/initrd.gz
Found linux image: /boot/vmlinuz-generic
Found initrd image: /boot/initrd.gz
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
In case you are thinking the problem is with my /etc/fstab, here is what that file looks like:
Code:
UUID=81b1cb8e-7ec4-43a9-928c-136931e20e0d / btrfs rw,noatime,compress=zstd,space_cache=v2,commit=120,subvol=@ 0 1
UUID=9886-F7B8 /boot/efi vfat defaults,noatime 0 2
UUID=56454cfa-acaa-488e-a6e7-30a0671b2d00 /boot ext2 defaults,noatime 0 2
UUID=81b1cb8e-7ec4-43a9-928c-136931e20e0d / btrfs rw,noatime,compress=zstd,space_cache=v2,commit=120,subvol=@snapshots 0 2
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs nosuid,nodev,noexec 0 0
Any ideas on what the problem could be?
Please note that when I get this machine setup I will refer to it as my slackmac.