LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-25-2022, 11:07 AM   #1
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 220

Rep: Reputation: 184Reputation: 184
Slackware not booting


I'm unable to get Slackware 15 (current) running on a new laptop.
The laptop in question is UEFI only.

Things I've tried so far:
- LUKS+LVM
- LUKS encrypted root
- unencryped root (nu LUKS, no LVM)

The result is always the same: elilo loads the kernel and initrd and then hangs forever.
No error message during installation, no error message during boot.

I tried Ubuntu and Manjaro - no problems.

Ideas?
 
Old 12-25-2022, 12:36 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,404

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
The result is always the same: elilo loads the kernel and initrd and then hangs forever.
This sounds like elilo can not find your root partition. That said, what is the current state of your install with respect to luks and lvm.

Could you post the output of lsblk -f and the contents of elilo.conf.

Is this a multi-boot system? Are you using a boot manager?
 
Old 12-25-2022, 07:17 PM   #3
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Edie may have a tip or two? https://blog.edie.io/2019/06/16/slac...lvm-over-luks/
 
Old 12-27-2022, 09:06 AM   #4
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 220

Original Poster
Rep: Reputation: 184Reputation: 184
really nothing fancy ..

lsblk -f
Code:
sda                                             8:16   0 465,8G  0 disk  
├─sda1                                          8:17   0     1G  0 part  
├─sda2                                          8:18   0     5G  0 part  
└─sda3                                          8:19   0 459,8G  0 part  
  └─cryptvg                                   254:1    0 459,7G  0 crypt 
    ├─cryptvg-root                            254:2    0    64G  0 lvm   
    └─cryptvg-home                            254:3    0   384G  0 lvm
sda1 is the EFI partition, sda2 is the unencrypted /boot

elilo.conf
Code:
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
        label=vmlinuz
        initrd=initrd.gz
        read-only
        append="root=/dev/mapper/cryptvg-root vga=normal ro"
and yes there is an appropriate initrd.gz in place and yes, kernel and initrd.gz were copied to /boot/efi/EFI/Slackware

I've likely installed Slackware a hundred times over the years and this isn't the first UEFI install either.
 
Old 12-27-2022, 09:23 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,866

Rep: Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684Reputation: 1684
Maybe a video issue that elilo can't handle, give grub a try and have
one of the following lines added to the menuentry
insmod all_video
insmod eif_uga
insmod efi_gop

Last edited by colorpurple21859; 12-27-2022 at 09:24 AM.
 
1 members found this post helpful.
Old 03-26-2023, 12:48 PM   #6
ldarby
LQ Newbie
 
Registered: Nov 2019
Location: UK
Distribution: TBD
Posts: 25

Rep: Reputation: Disabled
This issue is probably the same as the issue in this thread:
https://www.linuxquestions.org/quest...re-4175671086/ (specifically, this message: https://www.linuxquestions.org/quest...ml#post6420414)

TLDR: check the framebuffer address with lspci -vv
Quote:
lspci -vv | grep -A 10 VGA.*controller
If that shows e.g.

Quote:
Region 0: Memory at XYZ (64-bit, prefetchable) [size=256M]
then this system can't be booted with elilo. (it actually can boot, just has no display). If it shows 32 bit, then the problem where it "hangs" after elilo loads the kernel and initrd has a different root cause from that thread.

If this new laptop has a CDROM drive and you booted the installer off that, the CDROM installer uses grub to boot, not elilo, this is why the installer works in this case.

Last edited by ldarby; 03-26-2023 at 12:49 PM.
 
1 members found this post helpful.
Old 04-05-2023, 08:10 AM   #7
JinxsDad
Registered User
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 287

Rep: Reputation: 23
I'm having a similar issue. I loaded v15 from dvd and grub just puts me in a grub recovery or repair (one of those), so I'm having to use a usb boot stick. I was going to keep M$ CrashOs around for bit, but an accident with a partitioning app ended that, so Slackware has the entire 1 TB SSD. I only mention that so your know I'm not dual booting. I'm using a Lenovo Ideapad L340 Gaming (gamedev for me) laptop with the dreaded (didn't know at the time) Nvidia gtx gpu. Its default is UEFI, but I have had to keep it set to legacy/legacy first for booting at all.

So I'm interested in any solutions that would work on my laptop.

Thanks

PS: I'll be posting in separate posts about a few other issues (dual mirrored monitors, lack of sound, and setting the display timer to 0, aka don't blank the screen, just so anyone here familiar with those know). Again, thanks!
 
  


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
Question about dual booting Slackware stable (14.2) and Slackware -current. Howard1975 Slackware 13 03-12-2018 12:48 AM
dual boot system booting in Redhat linux but not booting in Windows XP sumitra Linux - Newbie 3 03-24-2011 09:42 AM
Not booting through nfsroot but booting properly through Flash saumitralele Linux - Newbie 4 01-11-2011 10:06 PM
Dual Booting Slackware, best Slackware based Distro, and Partitioning...? Novatian Slackware 6 06-07-2010 08:09 PM

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

All times are GMT -5. The time now is 11:06 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