LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 04:03 PM   #1
thecarlosfilipe
LQ Newbie
 
Registered: Feb 2018
Posts: 4

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, 04:28 PM   #2
The_Dark_Passenger
LQ Newbie
 
Registered: Apr 2018
Distribution: Slackware64 14.2 & -Current
Posts: 24

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, 04:41 PM   #3
thecarlosfilipe
LQ Newbie
 
Registered: Feb 2018
Posts: 4

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 04:43 PM.
 
Old 05-12-2018, 05:25 PM   #4
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 859
Blog Entries: 9

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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, 01:11 PM   #5
thecarlosfilipe
LQ Newbie
 
Registered: Feb 2018
Posts: 4

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, 02:06 PM   #6
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 669

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, 05:06 PM   #7
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Debian, Freebsd
Posts: 47

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 05:09 PM.
 
Old 05-13-2018, 06:12 PM   #8
vino29
LQ Newbie
 
Registered: Dec 2008
Location: in front of my PC
Distribution: Slackware
Posts: 11

Rep: Reputation: 24
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, 10:14 PM   #9
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 859
Blog Entries: 9

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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


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

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

All times are GMT -5. The time now is 10:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration