mimosa wrote:So there is no point in writing a second stanza in elilo.conf, pointing at another partition;
elilo has very limited boot manger capabilities and cannot automatically detect boot loaders and present menu items as rEFInd and Grub 2 can. It also cannot load boot loaders that are outside of it directory, which eliminates booting Windows. So if you want to be able to multi-boot with elilo you would not only have to manually create stanza for each OS you also need install each operating systems kernel and initrd in the same directory, Using elilo as a boot manager is really only usefully if you want to boot different kernels with the same root file system or you want to have various boot options to pass to the kernel. If you recall back about a year or two, when dejmos was developing the Live versions of Salix, he used elilo as a boot manager to launch the various kernels and language combinations. I believe that he had over 30 stanza setup to boot the various combinations. He eventually switched over to Grub 2.
mimosa wrote:installing elilo during Salix installation will make that the only boot option, unless other steps are taken.
Yes, and those other steps are to either used the UEFI firmware boot manager (all UEFI system have this, you just need to know which key to press when you boot your system) or install a boot manger like rEFInd or Grub 2.
Is this going to be the same in 14.2?
Yup, as long as Slackware uses elilo as it UEFI boot loader.
Because that looks harder for anyone who wants to dual boot with Windows, for example, compared to Lilo
You still can use the UEFI boot manger to launch other installed OS or install a boot manager.
mimosa wrote:So, I have two directories, EFI/Salix and EFI/Salix_sda5. In each directory, there is elilo.efi, which is identical to the file elilo-x86_64.efi. refind presents those as separate boot options (seeing double as it were) but if the duplciates are deleted, there are only two (one each) instead of four.
rEFInd, in it default configuration, searches all the file systems on the system hard drive and present menu items for all files that ending in
.efi. In your case it is finding the elilo.efi files in EFI/Salix and EFI/Salix_sda5 along with the elilo-x86_64.efi files in the /boot directory of your two root file system. I'm pretty sure that the elilo-x86_64.efi menu items will failed to boot because there is no elilo.conf in the /boot directories.
If your are getting these "double" entries, then you must have installed rEFInd from another source than my package, because I change the refind.conf file to ignore all .efi files in /boot directories. The configuration file that I included in my package only detects
.efi in the ESP partition as I found that most others that it detects will not boot anyway.
mimosa wrote: But should I also uninstall refind first? Presumably, if so, it would in fact be sufficient just to rename the EFI/refind directory in order to temporarily take it out of commission.
There is no need to uninstall rEFInd. When the OS installer run elilo, or Grub 2 or even when installing rEFInd, they all run a program called
efibootmgr which manages the boot options stored in the UEFI firmwares NVRAM. NVRAM holds pointers to all the register bootloaders along with the boot order. The two things that efibootmgr does when it is invoked is to register the new bootloader to the UEFI boot menu and sets the new boot loader as the first options which result in the newly installed OS to directly boot on the next system reboot. In effect it becomes the default boot option and make it appears that your other OS are not there. (On no!! I installed Ubuntu and now Window install is gone!). So you can keep rEFInd installed, it just will not be the first boot option. To check what OS are registered and what the boot option are run efibootmgr in a termina. efibootmgr does need efivars module loaded befor you can run it. Here is what mine looks like.
Code: Select all
rich[EFI]$ sudo modprobe efivars
rich[EFI]$ sudo efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0005,0003,0007,000F,0008,0001,0012,0011
Boot0000* rEFInd Boot Manager
Boot0001* UEFI Shell
Boot0002* Salix_Xfce
Boot0003* Salix_Mate
Boot0005* Windows Boot Manager
Boot0007* Salix_OB
Boot0008* Slackware
Boot000F* ubuntu
Boot0011* UEFI: IP4 Realtek Ethernet Controller
Boot0012* UEFI: ADATA USB Flash Drive 1100
You can change the boot order using efibootmgr -o option. So If i wanted to have Windows as the first boot option i would do the following
Code: Select all
#efibootmgr -o 0005,0000,0002,0003,0007,000F,0008,0001,0012,0011
If your going to be setting up multi-boot UEFI system, then you need to get familiar with efibootmgr.