LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2018, 03:03 PM   #1
thecarlosfilipe
LQ Newbie
 
Registered: Feb 2018
Posts: 5

Rep: Reputation: Disabled
Boot with ELILO


Hello guys! I migrated yesterday from Arch Linux to Slackware in order to learn more about Linux in general. My notebook has two boot modes: LEGACY and UEFI. I installed Slackware in UEFI mode and every time I start it appears here is image: https://prnt.sc/jbn9yv. Is this normal? I think it could be some mistake or something. What do you think? Can I change something to appear normal? If nothing is wrong, I apologize for the noob question I asked. Thank you for your attention. I hope I can enjoy the most of this unique and well-spoken distro.
 
Old 05-12-2018, 03:28 PM   #2
The_Dark_Passenger
Member
 
Registered: Apr 2018
Distribution: Slackware64 14.2 & -Current
Posts: 93

Rep: Reputation: Disabled
That's not normal. What's the model of the notebook, and are you using 14.2 or current?
 
Old 05-12-2018, 03:41 PM   #3
thecarlosfilipe
LQ Newbie
 
Registered: Feb 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by The_Dark_Passenger View Post
That's not normal. What's the model of the notebook, and are you using 14.2 or current?
My laptop is the Lenovo G40-70 and I'm using Slackware Stable (14.2).

Last edited by thecarlosfilipe; 05-12-2018 at 03:43 PM.
 
Old 05-12-2018, 04:25 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
The Lenovo web site lists several GPU options for your laptop.
Quote:
Graphic memory chip

Integrated / AMD Jel LE / AMD Jel Pro / nvidia N15S-GT /
nvidia N15V-GM
Which one do you have? It could be any number of issues with the GPU module (intel, nv, nouveau, or whatever the heck AMD Jel uses) or framebuffer selected. Boot into the install media. Then
Code:
mount /dev/sda1 /mnt
(assuming your laptop bootable partition is sda1. Adjust as needed). Now
Code:
cd /mnt/boot/efi/EFI/Slackware/
You should see these files: elilo.conf and elilo.efi. NOTE: for Slackware64 x86_64 elilo.efi should be the same size as /mnt/boot/elilo-x86_64.efi. Take a look at your elilo.conf - I'll use mine as an example. Note that I have entries to both the generic and huge kernels. You may just have one stanza.
Code:
chooser=simple
delay=1
timeout=1
#
image=vmlinuz-generic
        label=Slackware
        initrd=initrd.gz
        read-only
        append="root=/dev/sda2 vga=normal ro"

image=vmlinuz-huge
        label=Slacksafe
        read-only
        append="root=/dev/sda2 vga=normal ro"
Does your append line have "vga=normal"? if not add it (I think vi is available when booting from the install media), save and try booting again. After editing the elilo.conf, you do not need to run eliloconfig. If that doesn't work, go back in and try
Code:
append="root=/dev/sda1 vga=normal nomodeset ro"
 
1 members found this post helpful.
Old 05-13-2018, 12:11 PM   #5
thecarlosfilipe
LQ Newbie
 
Registered: Feb 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kingbeowulf View Post
The Lenovo web site lists several GPU options for your laptop.

Which one do you have? It could be any number of issues with the GPU module (intel, nv, nouveau, or whatever the heck AMD Jel uses) or framebuffer selected. Boot into the install media. Then
Code:
mount /dev/sda1 /mnt
(assuming your laptop bootable partition is sda1. Adjust as needed). Now
Code:
cd /mnt/boot/efi/EFI/Slackware/
You should see these files: elilo.conf and elilo.efi. NOTE: for Slackware64 x86_64 elilo.efi should be the same size as /mnt/boot/elilo-x86_64.efi. Take a look at your elilo.conf - I'll use mine as an example. Note that I have entries to both the generic and huge kernels. You may just have one stanza.
Code:
chooser=simple
delay=1
timeout=1
#
image=vmlinuz-generic
        label=Slackware
        initrd=initrd.gz
        read-only
        append="root=/dev/sda2 vga=normal ro"

image=vmlinuz-huge
        label=Slacksafe
        read-only
        append="root=/dev/sda2 vga=normal ro"
Does your append line have "vga=normal"? if not add it (I think vi is available when booting from the install media), save and try booting again. After editing the elilo.conf, you do not need to run eliloconfig. If that doesn't work, go back in and try
Code:
append="root=/dev/sda1 vga=normal nomodeset ro"
My elilo.conf was thus https://prnt.sc/jhcmq2, then I followed your tip and put in that file what you recommended and gave boot error. I had to reinstall the system again.
 
Old 05-13-2018, 01:06 PM   #6
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
I was afraid of having to do a clean install so I didn't even attempt it. I'll wait for a quick and simple solution to switch from lilo to elilo without issues. Topic is interesting nonetheless, I was going to start one of my own regarding the same issue.
 
Old 05-13-2018, 04:06 PM   #7
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 561

Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by thecarlosfilipe View Post
My elilo.conf was thus https://prnt.sc/jhcmq2, then I followed your tip and put in that file what you recommended and gave boot error. I had to reinstall the system again.
Hello,

Don't reinstall yet... unless you really want to :-)
I've seen something similar to this before and that was to do with the bmp background image (I tried to modify) displayed when the elilo chooser appears.

Your circumstances could be different but as a test try to boot the latest/current slackware-live from a usb stick or other media first.
If you're successful booting with the live media, the issue can be easily worked out.

Last edited by yvesjv; 05-13-2018 at 04:09 PM.
 
Old 05-13-2018, 05:12 PM   #8
vino29
LQ Newbie
 
Registered: Dec 2008
Location: in front of my PC
Distribution: Slackware
Posts: 17

Rep: Reputation: 32
i have the same problem with my HP 640p laptop. i found the link below which seem to explain the issue but i did not have time to explore the fix.

https://www.linuxquestions.org/quest...ot-4175479719/

good luck!
 
Old 05-13-2018, 09:14 PM   #9
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
thecarlosfilipe,
If you can boot the install media you do not have to reinstall to fix up booting issues. You can always use the install DVD/usb as a boot disk to boot into your installation to fix stuff.

Interesting discussion in the link vino29 posted. I've not had to fiddle with efifb settings on 3 systems here. The laptops and small compact systems I have all have intel embeded GPU's - mostly still legacy BIOS. The few EFI systems worked OOTB but then they never had Windows 8 etc, or other, install. Maybe OP has a weird UEFI implementation?

Basically, I would just keep using lilo and legacy boot it if the UEFI motherboard allows it. EFI is a pain. That said, since the OP was running Arch (and the efifb ran fine there), I see no reason why Slackware couldn't use the same boot settings. Go into the UEFI settings and restore factory defaults and clear out everythng. Then run eliloconfig to set everything to Slackware defaults.

Also, the OP did nto say what embedded GPU he has. On Lenovo there have been boot screen issues if the shared graphics memory is >512MB.
 
  


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
ELILO - how to dual boot Windows trainee Slackware 11 08-13-2020 01:11 PM
ELILO Boot loader then reboot loop ammoun SUSE / openSUSE 0 07-10-2017 03:44 AM
[SOLVED] elilo vs kernel and initrd on /boot wowbaggerHU Slackware - Installation 4 02-05-2017 05:57 PM
[ANNOUNCE] elilo with a boot menu. Didier Spaier Slackware 6 07-17-2016 12:18 PM

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

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