After about a month of trial and erroring and kicking cats have finally got my head round EFI (Elephant's Foot Initiative?)
I have a Salix minimal installation and a Salix full installation on a hard drive but when I run eliloconfig it defaults to creating a "Salix" folder and files in the ESP (Efi System Partition) which overwrites any existing folder. I suppose I could put two entries in the elilo.conf file but I'd prefer to keep them separate as they are then both listed in my motherboard's UEFI boot menu.
Are there any options you can pass to eliloconfig to create a user named folder? At the moment I'm just editing the eliloconfig script and replacing all instances of "Salix" with "Salix_X,Y,etc." which works.
Eliloconfig
Re: Eliloconfig
I bet if you spend another month or two with it you will come around to liking it and recognize its advantages over legacy BIOS. \knome wrote:After about a month of trial and erroring and kicking cats have finally got my head round EFI (Elephant's Foot Initiative?)
Yes this is a know issue and is on the list to address at the next release. Installing any of the versions of Salix side by side will results in overwriting the exiting /EFI/Salix folder.knome wrote:I have a Salix minimal installation and a Salix full installation on a hard drive but when I run eliloconfig it defaults to creating a "Salix" folder and files in the ESP (Efi System Partition) which overwrites any existing folder.
None that I am aware of.knome wrote:Are there any options you can pass to eliloconfig to create a user named folder?
I guess that as good of a way of doing it for now. After I experienced the overwrite issue I started to rename the the directory such as Salix_xfce, then ran efibootmgr to register the installation with the efi boot manager. My /boot/efi/EFI directory looks like this: directories and renamed them Salix_xfce, Salix_mate, and Salix_ob.knome wrote:At the moment I'm just editing the eliloconfig script and replacing all instances of "Salix" with "Salix_X,Y,etc." which works.
Code: Select all
rich[efi]$ tree /boot/efi/
/boot/efi/
|-- EFI
| |-- Boot
| | `-- Shellx64.efi
| |-- Microsoft
| | `-- Boot
| | |-- BCD
| | |-- BCD.Backup.0001
| | |-- BCD.LOG
| | |-- bootmgfw.efi
| | `-- bootx64.efi
| |-- Salix_mate
| | |-- elilo.conf
| | |-- elilo.efi
| | |-- elilo.png
| | `-- vmlinuz
| |-- Salix_ob
| | |-- elilo.conf
| | |-- elilo.efi
| | |-- elilo.png
| | `-- vmlinuz
| |-- Salix_xfce
| | |-- elilo.conf
| | |-- elilo.efi
| | |-- elilo.png
| | `-- vmlinuz
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
Re: Eliloconfig
Thanks @ laprjns for the explanation.
I do like EFI and am enjoying the journey. I guess it's one of those things that I'll set up and forget about for a couple of years. When I come to tweak it again it'll all be automated and GUI'ed like a comfy slipper.
I'm using efibootmgr but am not up to speed on the commands for registering an entry. I was letting eliloconfig do the dirty work for me.
What's that Microsoft thingy in your EFI directory?
I do like EFI and am enjoying the journey. I guess it's one of those things that I'll set up and forget about for a couple of years. When I come to tweak it again it'll all be automated and GUI'ed like a comfy slipper.
I'm using efibootmgr but am not up to speed on the commands for registering an entry. I was letting eliloconfig do the dirty work for me.
What's that Microsoft thingy in your EFI directory?

Re: Eliloconfig
An idea is to replace all instances of "Salix" with $3 and pass as third argument the name of folder you like to create.knome wrote: Are there any options you can pass to eliloconfig to create a user named folder? At the moment I'm just editing the eliloconfig script and replacing all instances of "Salix" with "Salix_X,Y,etc." which works.
Since you run eliloconfig from a running system $1 it will be / and the $2 will be the root_device /dev/sda1 and $3 can be Salix_xfce for example.
e.g. sudo eliloconfig / /dev/sda1 Salix_xfce
also can run the script like this
sudo eliloconfig "" "" Salix_xfce
In this case script will put / /dev/sda1 by its own.
I cannot test it because i don't have an uefi laptop.
Re: Eliloconfig
Thanks, but that doesn't seem to work. The "/dev/sda1" gets declared as the root partition of the operating system in elilo.conf. In an EFI system /dev/sda1 is usually the VFAT EFI System Partition.djemos wrote: e.g. sudo eliloconfig / /dev/sda1 Salix_xfce
Re: Eliloconfig
Please ignore my previous post. Your instructions do work. Pass the OS's root partition as $2 works and the "" "" doodah works.djemos wrote:An idea is to replace all instances of "Salix" with $3 and pass as third argument the name of folder you like to create.knome wrote: Are there any options you can pass to eliloconfig to create a user named folder? At the moment I'm just editing the eliloconfig script and replacing all instances of "Salix" with "Salix_X,Y,etc." which works.
Since you run eliloconfig from a running system $1 it will be / and the $2 will be the root_device /dev/sda1 and $3 can be Salix_xfce for example.
e.g. sudo eliloconfig / /dev/sda1 Salix_xfce
also can run the script like this
sudo eliloconfig "" "" Salix_xfce
In this case script will put / /dev/sda1 by its own.
I cannot test it because i don't have an uefi laptop.
I know very little about Bash scripting and had to do a bit of research on passing arguments to Bash scripts.
Now I have to fire up efibootmgr and remove the spurious Salix_Test entry!

Re: Eliloconfig
This is no longer true.laprjns wrote: knome wrote:Are there any options you can pass to eliloconfig to create a user named folder?
None that I am aware of.

“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984