SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.