LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-03-2016, 03:35 AM   #1
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
elilo broken on Slackware 14.2 after Windows 10 update on dual boot UEFI system


Hi,

I had Slackware 14.1 and Windows 10 (don't judge me) happily co-existing on dual boot UEFI for a year or so. However I got the bug to upgrade Slackware to 14.2 and Windows 10 recently.

Slackware 14.2 installation went fine and again both OS's could be booted via UEFI.

However after the Windows 10 Anniversary update I can no longer boot Slackware from the UEFI menu.

I have booted with my Slackware rescue USB disk and Slackware 14.2 boots ok. I run eliloconfig and re-install elilo, but still I cannot get Slackware to boot from the UEFI boot menu (there is content in /boot/efi/Slackware directory)

Has anybody got any troubleshooting tips here? After a previous Windows upgrade this happened and re-running eliloconfig worked just fine.

Thanks!
 
Old 08-03-2016, 07:14 AM   #2
zlin50
Member
 
Registered: Jan 2006
Location: Munich
Distribution: Slackware-15.0
Posts: 43

Rep: Reputation: 15
Hi,

just a guess: did your windows-update change bios-configuration?

Otherwise: please describe the problem more detailed.
 
Old 08-03-2016, 08:21 AM   #3
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Original Poster
Rep: Reputation: 19
Hi zlin50,

I been in the BIOS and have UEFI only, CMS Support for legacy

Secure Boot is disabled.

The UEFI boot menu Slackware has an entry but when I try it, it doesn't boot, screen just flashes and stays on the boot list

Its puzzling as Windows did this once before the re-running eliloconfig did the trick.

Plus the /boot/efi/ directory looks sane.

I guess its time to learn more about UEFI

Thanks!
 
Old 08-03-2016, 09:18 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
When you're in Slackware, use efibootmgr to put the boot menu entry back. The Windows 10 updater removed it.
 
Old 08-03-2016, 12:58 PM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
FWIW, I did the the Win 10 update last night and my UEFI bootmanager entry came through unscathed.
 
Old 08-03-2016, 01:45 PM   #6
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Original Poster
Rep: Reputation: 19
I fixed it, it was not the boot entry, that was always intact, something very strange happened...

So when the BIOS was in strict UEFI only the /boot/efi/EFI/ directory was read only when I booted Slackware via the USB rescue drive, then when I ran the eliloconfig it didnt give an error, but was unable to write anything or copy to the Slackware directory the initrd or vmlinuz. This became apparent by inspecting the elilo.conf file which did not contain any entries and the directory which had vmlinuz but no initrd.gz, so not surprising it was not booting.

When the BIOS was in UEFI / Legacy and I used the USB to boot the directory was RW, but eliloconfig refused to run because the /sys/firmware/efi directory was empty.

Code:
# If the system is not running under EFI, skip running this script:
if [ ! -d /sys/firmware/efi ]; then
  if [ "$T_PX" = "/" ]; then
    echo "ERROR:  System is not running under UEFI."
  fi
  exit
fi
I added the entries for the image, initrd and root disk into elilo.conf, but of course I had no initrd which I recreated with mkinitrd. Once this was done the system booted again.

So after the Windows 10 upgrade somehow the initrd.gz went missing and the UEFI BIOS entry may or may not have been set to strict

Anyhow, problems fixed. Thanks for the input.
 
  


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
Dual boot for windows 8 and rhel6 workstation in UEFI system JATA01 Linux - Desktop 3 03-23-2015 01:41 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
[SOLVED] Dual boot Windows 8 and ubuntu on UEFI system enrico_dvchp Ubuntu 3 02-18-2013 12:10 AM
LXer: Windows Update doesn't like my Linux-Windows dual-boot system LXer Syndicated Linux News 1 07-22-2011 05:20 PM

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

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