LinuxQuestions.org
Help answer threads with 0 replies.
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 03-27-2023, 07:52 AM   #1
jazzi
Member
 
Registered: Mar 2006
Location: Tea Garden
Distribution: Slackware 15.0
Posts: 31

Rep: Reputation: 3
Question ELILO error - ExitBootSvcs: failed, memory map has changed - Slackware 15.0


Hello there,

Just installed Slackware 15.0 yesterday, everything goes fine.

Today I edited /etc/rc.d/inte1.conf to set the static IP address instead of dhcp by NetworkManager yesterday, then reboot and the ELILO showed me an error message as below:

Code:
ELILO v3.16 for EFI/x86_64

Loading kernel vmlinuz ... done
Loading file ignited.gz ... done
elilo.c(line 276):
ExitBootSvcs: failed, memory map has changed.

elilo.c(line 279): Main_loop: Retrying ... have to rebuild boot params
After that it boots successfully without any problem.

I tried issue command `netconfig` to set the static IP address again and the above error message shows out too.

I didn't touch anything like Kernel or Elilo, kind of confused, any help will be appreciated.

By the way, this computer has Windows 10 installed on another separate drive too.

Thanks,
jazzi

Last edited by jazzi; 03-27-2023 at 09:01 AM.
 
Old 03-28-2023, 07:58 AM   #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,246

Rep: Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861
NetworkManager and manual config of inet1.conf are mutually exclusive, never both at the same time.

So, to configure a manual IP, netmask and gateway on an ethernet, netconfig I have used for years without problems IF networkmanager is not active. You can use networkmanager to configure a static IP , netmask and gateway, just make sure there is nothing configure in inet1.conf first.
 
Old 03-29-2023, 08:43 PM   #3
jazzi
Member
 
Registered: Mar 2006
Location: Tea Garden
Distribution: Slackware 15.0
Posts: 31

Original Poster
Rep: Reputation: 3
Thanks for the quick answer Cliff, however I found it's my stupid that the problem is nothing about NetworkManager or inet1.conf, it's about the separated Windows 10 drive.

I detached Windows hard drive before started installing Slackware, now the Windows drive is put on, thus the problem shows up.

Today I detached the Windows hard drive again for testing and the ELILO error message is gone, then connected the Windows drive to motherboard and Elilo ERROR Message showed out again.

Still searching for how to use Elilo to dual boot Windows and Slackware and no answers found yet.
 
Old 03-29-2023, 09:34 PM   #4
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,246

Rep: Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861
One way is with refind. It is easy to install. You have a little reading to do, the configuration file for refind is very well commented. There is a ton of doc on Rods Books.

I have seen comments that grub will dual boot with Windows also. I have no experience with grub.

Interestingly enough, I set up dual boot using lilo on a BIOS based machine yesterday.
 
Old 03-29-2023, 09:58 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,400

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
I think when the windows drive is attached the drive order is changed making the slackware drive the second drive not the first drive. What is the contents of /boot/efi/EFI/Slackware/elilo.conf? This could cause problems booting the generic kernel because of the initrd.gz was generated for slackware on the first drive.
 
Old 03-29-2023, 10:04 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,477
Blog Entries: 7

Rep: Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575Reputation: 2575
Quote:
Originally Posted by jazzi View Post
Today I detached the Windows hard drive again for testing and the ELILO error message is gone, then connected the Windows drive to motherboard and Elilo ERROR Message showed out again.
Attaching the Windows drive probably changes the boot order or priority of things. You can probably ignore those messages if everything works as expected.
Quote:
Originally Posted by jazzi View Post
Still searching for how to use Elilo to dual boot Windows and Slackware and no answers found yet.
Unfortunately this cannot be done because elilo is unable to boot Windows.

If you want to dual boot, you either have to use GRUB or install rEFInd.
 
Old 03-30-2023, 03:25 AM   #7
jazzi
Member
 
Registered: Mar 2006
Location: Tea Garden
Distribution: Slackware 15.0
Posts: 31

Original Poster
Rep: Reputation: 3
Question

Quote:
Originally Posted by colorpurple21859 View Post
What is the contents of /boot/efi/EFI/Slackware/elilo.conf?
Code:
bash-5.1$ cat /boot/efi/EFI/Slackware/elilo.conf 
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
        label=vmlinuz
        initrd=initrd.gz
        read-only
        append="root=/dev/nvme0n1p2 vga=normal ro"
Quote:
Originally Posted by camorri
One way is with refind.
Quote:
Originally Posted by rkelsen
If you want to dual boot, you either have to use GRUB or install rEFInd.
Thanks for the recommendation however I have to correct my saying, I do not want to have _dual boot_ with Elilo.

Windows is used for very few times, thus BIOS is used to change the operation system needs to be booted, when I want to boot Windows I will power on the computer and get into the BIOS menu to choose the specific OS. All I want now is to get rid of the error messages of Elilo.

Hereby is the layout of my PC, 2 hard drives (sda is Windows 10 installed, an EFI partition there too) and 1 NVME SSD (Slackware installed, an EFI partition here).

Code:
bash-5.1$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 111.8G  0 disk 
├─sda1        8:1    0   100M  0 part 
├─sda2        8:2    0    16M  0 part 
├─sda3        8:3    0 111.1G  0 part 
└─sda4        8:4    0   570M  0 part 
sdb           8:16   0 931.5G  0 disk 
├─sdb1        8:17   0    16M  0 part 
├─sdb2        8:18   0 638.5G  0 part 
└─sdb3        8:19   0   293G  0 part 
sdc           8:32   0   512K  0 disk 
nvme0n1     259:0    0 465.8G  0 disk 
├─nvme0n1p1 259:1    0     2G  0 part /boot/efi
├─nvme0n1p2 259:2    0    50G  0 part /
├─nvme0n1p3 259:3    0    16G  0 part [SWAP]
└─nvme0n1p4 259:4    0 397.8G  0 part /home
---

Last edited by jazzi; 03-30-2023 at 03:37 AM.
 
Old 04-01-2023, 09:07 PM   #8
jazzi
Member
 
Registered: Mar 2006
Location: Tea Garden
Distribution: Slackware 15.0
Posts: 31

Original Poster
Rep: Reputation: 3
I looked into the elilo.c (line 276) source file and found the following comments:

Quote:
/* terminate bootservices
* efi ExitBootSvcs spec: *note, get_memmap is called by create_boot_params()
* An EFI OS loader must ensure that it has the system's current memory map at the time
* it calls ExitBootServices(). This is done by passing in the current memory map's
* MapKey value as returned by GetMemoryMap(). Care must be taken to ensure that the
* memory map does not change between these two calls. It is suggested that
* GetMemoryMap()be called immediately before calling ExitBootServices(). */
As I know little about computer, so I keep searching and found another one had similar problem but under other OS which seems found the solution which I don't understand.
 
  


Reply

Tags
elilo



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] [-CURRENT] NVME elilo install failed Freaksta Slackware - Installation 3 06-18-2017 03:08 PM
Kernel virtual memory map TO Board memory map -----> Mapping !rajkums! Linux - Embedded & Single-board computer 0 10-18-2008 09:21 AM
"Partition map has no partition map entry!" aquaboot Debian 3 01-09-2007 06:52 AM

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

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