LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-10-2024, 02:46 AM   #1
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Zenwalk
Posts: 575

Rep: Reputation: 155Reputation: 155
Slackware-current on UEFI with encrypted root partition


I have a brand-new ASUS Vivabook laptop and I have attempted a slackware-current installation with an encrypted root partition. Slackware 15.0 would not boot this thing.

The laptop has a UEFI motherboard and I partitioned the HD as instructed on the README_UEFI. For a plain installation I have no issues to report. It went smooth. For LVM, setup mounts /dev/sda2 (sda being the installation USB drive) under /mnt/boot/efi/ . This is due to a bug in the SeTEFI script. One only needs to hardcode PREFERRED_EFI_PARTITION to /dev/nvme0n1p1 or mount manually under /mnt/boot/efi/ and then edit /mnt/etc/fstab after the installation. efibootmgr also fails unless it is run manually as shown here: https://docs.slackware.com/howtos:sl...uefi_and_elilo

However I hit a brick for encrypted root partitions, both on LVM and also straight on the partition. I verified that mkinitrd.sh created the correct -C and -r arguments and all files on /mnt/boot/efi/ , but on boot up the laptop loads the kernel, initrd.gz and then plays dead. I cannot interact anymore and I have to switch off manually.

On Ubuntu 24.04, the installation on encrypted LVM was smooth, but I would prefer Slackware. However, I don’t feel safe without an encrypted root partition installation.

I am experienced on encrypted Slackware installations, and I can report that on Virtualbox, it went smooth even on UEFI motherboards.

I have been struggling for a week and I ran out of ideas. Any help would be appreciated.
 
Old 07-11-2024, 05:45 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
I’m not an expert on encryption, however just a thought, have you tried without encryption to see if possibly you’re missing a kernel module in the initrd?
 
1 members found this post helpful.
Old 07-11-2024, 09:53 AM   #3
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Zenwalk
Posts: 575

Original Poster
Rep: Reputation: 155Reputation: 155
Without encryption, the laptop boots but the monitor only kicks late in the booting process, at:

Quote:
sof-audio-pci-intel-tgl
So I think that I need to load "some" firmware on initrd before crypsetup is called by the init script in initrd.gz.

1. In what order is the firmware loaded?
2. How could I possibly load (some or all) firmware in initrd before it calls cryptsetup?
 
Old 07-11-2024, 10:19 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
Quote:
the laptop boots but the monitor only kicks late in the booting process
If you are using grub add "insmod all_video" to the grub menuentry
 
1 members found this post helpful.
Old 07-12-2024, 02:34 AM   #5
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Zenwalk
Posts: 575

Original Poster
Rep: Reputation: 155Reputation: 155
Quote:
If you are using grub add "insmod all_video" to the grub menuentry
That's it. I just set-up grub as my bootloader and the problem has been resolved.

Thanks a lot @colourpurple21859
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI Class 3 :: To use UEFI, or not to use UEFI? jheengut Slackware 19 12-30-2020 09:24 AM
[SOLVED] Unable to decrypt root fs with UEFI+encrypted LVM arcctgx Slackware 5 08-28-2016 01:12 PM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 12:25 PM
[SOLVED] Initrd for kernel 3.8.11 and encrypted luks root partition in current Phorize Slackware 8 06-15-2013 09:04 AM
usb stick unlocking scheme for root encrypted partition in current escaflown Slackware 6 05-09-2010 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration