LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-02-2018, 03:42 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 312

Rep: Reputation: 22
First UEFI/elilo system (14.2/x86_64) will not boot after installation


When Slackware's finished with the DVD it opens the optical drive door so the disk can be removed, then reboots when directed to. First time ever this reboot fails for me: told to specify a boot disk or put a bootable image on a device it can see. I'll explain what I did and ask to be shown where I went off the track.

The Asus motherboard's boot priority is the optical drive (labeled P2), then the SSD (sda, labeled P0); the second drive, sdb labeled P1, is not bootable. Perhaps I missed setting /dev/sda1 (a EFI disk formatted fat32) as bootable? I did not see that option when formatting the disk (type GPT) with cfdisk.

After partitioning (/dev/sda1 is the EFI vat32 allotted 100m; /dev/sda2 is swap allotted 32G, and /dev/sda3 is / alloted the rest of the 240G SSD), I ran setup, formatted swap, /dev/sda3, /dev/sdb1, /dev/sdb2, and /dev/sdb3) as ext4.

Installed everything but the KDE languages and games.

Told the installer to skip installing lilo in the MBR, and not make a USB boot disk. Assumed that the default boot image was the huge one like on all previous installations. I intended to point elilo.config to the generic kernel and have the huge kernel as a backup (as all other systems have been configured) after rebooting.

Set up the network for this server/workstation, and the mouse driver. Retrieved the DVD and tried rebooting.

Where should I start looking for the reason it won't boot without the distribution DVD?
 
Old 09-02-2018, 03:51 PM   #2
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 885

Rep: Reputation: Disabled
Are you sure that your BIOS set to "secure boot" (for UEFI) or similar and not "legacy" or something?

I have that issue with one of my HP's.
 
1 members found this post helpful.
Old 09-02-2018, 04:29 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,695

Rep: Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236
You need to set the BIOS to UEFI mode (either UEFI only or UEFI first, legacy second), Secure Boot off, and CSM (Compatibility Support Module) on. If you weren't offered a chance to set up elilo then it's likely these options were not set properly.
 
1 members found this post helpful.
Old 09-02-2018, 04:32 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,837

Rep: Reputation: Disabled
Probably you made a mistake editing elilo.conf or failed to have the kernel and initrd properly copied to the EFI system partition.

I would take too much time to find out exactly, so just reinstall but this time accept to make an USB boot stick (it would have allowed you to boot the installed system then make the needed fixes), and just set the system to use the huge kernel (this is the default), this is far less prone to errors. Yiou do not have to edit elilo.conf at all, the installer will write it and install elilo for you.

When the system will be installed and only then, you will be able to add a lilo stanza to elilo.conf for the generic kernel, keeping the one for the huge kernel just in case.

Last edited by Didier Spaier; 09-02-2018 at 04:35 PM.
 
Old 09-03-2018, 11:37 AM   #5
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 312

Original Poster
Rep: Reputation: 22
Pat, Didier, Skaendo:

Found the source of the problem: I forgot that the 14.2 DVD marks the bit-ness of the version on the _same_ side of the disk rather than the opposite site. So, I put the installation disk in the optical drive with 'x86_64' up and, therefore, installed the 32-bit version. I just tested this by mounting the disk in this host and seeing the directories listed. Sigh.

So, I'll re-install the distribution -- with the 'x86_64' _down_.

Sigh,

Rich
 
Old 09-03-2018, 12:16 PM   #6
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 312

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by rshepard View Post
Pat, Didier, Skaendo:

Found the source of the problem: I forgot that the 14.2 DVD marks the bit-ness of the version on the _same_ side of the disk rather than the opposite site. So, I put the installation disk in the optical drive with 'x86_64' up and, therefore, installed the 32-bit version. I just tested this by mounting the disk in this host and seeing the directories listed. Sigh.

So, I'll re-install the distribution -- with the 'x86_64' _down_.
Just completed the re-installation ensuring it is the 64-bit version and I have the same results: it won't boot off the SSD (explicitly selected in the BIOS setup screen). The screen reads,

"Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key"

Any and all ideas are needed!

Rich

Last edited by rshepard; 09-03-2018 at 12:17 PM.
 
Old 09-04-2018, 03:13 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,963

Rep: Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656
Were you prompted to install elilo during installation? That would help determine if you booted the installer in the UEFI or legacy mode.
 
Old 09-04-2018, 03:42 PM   #8
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 552

Rep: Reputation: 148Reputation: 148
Further to bassmadrigal's suggestion: can you check whether the EFI partition actually got the expected files? After mounting the EFI partition under /boot/efi you would expect something like this:
Quote:
bash-4.4# ls /boot/efi/EFI/Slackware/
elilo.conf
elilo.efi
initrd.gz
vmlinuz
if not, there is nothing to boot

Last edited by brobr; 09-04-2018 at 03:44 PM. Reason: simplified
 
Old 09-06-2018, 04:20 PM   #9
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 312

Original Poster
Rep: Reputation: 22
bassmadrigal, brobr, et al.:

With local help (from a SBo package maintainer and hardware guru) we got the new desktop properly booting. It turns out that on the Asus Sabertooth fx990 BIOS version I have there are two places to set boot order. The one on the main BIOS page was correctly set, the second one -- on one of the Advanced sub-menus -- I had either not seen or not recognized its significance. Changing that one to look first at the optical drive, then at the vfat32 partition on /dev/sda1/ did the trick. Saving the configuration and rebooting brought up the elilo installation on the 14.2 DVD.

Installation went quickly (with 8 cores on the CPU and 16G RAM) and it now boots from /dev/sda1/ as it should.

My thanks to all of you,

Rich
 
1 members found this post helpful.
  


Reply

Tags
boot, installation, uefi


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
[SOLVED] 14.2/x86_64: UEFI/elilo migration rshepard Slackware 8 08-29-2018 10:47 AM
[SOLVED] elilo broken on Slackware 14.2 after Windows 10 update on dual boot UEFI system hyperhead Slackware 5 08-03-2016 01:45 PM
[SOLVED] Cant boot in EFI mode: elilo doesnt load from the UEFI menu in a Asus motherboard. Linux-at-last Slackware 5 04-03-2014 04:23 PM

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

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