LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-16-2022, 04:12 PM   #1
longing
LQ Newbie
 
Registered: Feb 2022
Posts: 2

Rep: Reputation: 0
Question Missing elilo.conf with UEFI & LUKS


I've partitioned my laptop's SSD using cgdisk as described in README-CRYPT.TXT and README-UEFI.TXT. That is:
  • /dev/sda1: To be mounted in /boot/efi, type EFI system partition
  • /dev/sda2: To be set up as one encrypted physical volume with one volume group, which has 3 logical volumes inside (/, /home & swap). Type LVM volume

`setup` recognizes the swap partition just fine and in the TARGET section I make sure my future /etc/fstab looks just as I want. It also automatically recognizes my EFI partition and adds that to the fstab (to be mounted as vfat). Then I install all packages except for KDE & BSD games.

The issue comes when the CONFIGURE stage takes place. I choose to skip LILO configuration in favor of ELILO. However, the menu that is supposed to let me create entries & stuff never shows up.

I tried to run `eliloconfig`, which complains about no EFI partition being mounted at /boot/efi. Indeed, `mount` shows that `/dev/sda1` has been mounted as ext4 (I assume setup did this) instead of vfat (which is what /etc/fstab contains).

I can't manually mount it as vfat. `mount` will complain about bad sectors on that partition. It's like my installer never ran `mkfs.vfat` (or similar?) on my /dev/sda1 partition or something...

Therefore, I can't ultimately modify my autogenerated elilo.conf to boot into my encrypted volumes since it doesn't exist...

Do you have any ideas on how to debug this? On my system, I have been able to reproduce it this way 3 out of 3 times, so maybe someone else can too. Happy to give more input if needed!

Last edited by longing; 02-16-2022 at 04:39 PM. Reason: typo
 
Old 02-17-2022, 12:35 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,359

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
You may have to run mkfs.vfat on sda1 before running setup, set mount point to /boot/efi and when asked to format select no.

Last edited by colorpurple21859; 02-17-2022 at 12:36 PM.
 
Old 02-18-2022, 09:41 AM   #3
longing
LQ Newbie
 
Registered: Feb 2022
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
You may have to run mkfs.vfat on sda1 before running setup, set mount point to /boot/efi and when asked to format select no.
That did the trick! The `setup` program was finally able to add all that boilerplate into `/boot/efi`.
 
  


Reply



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
[SOLVED] Uefi and full disk encryption with lvm on luks with luks keyfile lancsuk Slackware 2 04-02-2021 02:43 PM
UEFI Class 3 :: To use UEFI, or not to use UEFI? jheengut Slackware 19 12-30-2020 09:24 AM
[SOLVED] 14.2 setup encrypted UEFI elilo LUKS & LVM crash GrumpyGnome Slackware - Installation 3 04-15-2017 06:25 PM
UEFI PXE server elilo.conf configuration miszum Linux - Networking 2 08-05-2011 11:31 AM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

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

All times are GMT -5. The time now is 03:36 PM.

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