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 - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-18-2018, 05:50 PM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
EFI3M, the EFI Multi-boot Menu Maker


EFI3M, the EFI Multi-boot Menu Maker, is available here:
https://github.com/DidierSpaier/EFI3M

This shell script builds a menu with entries for all accessible EFI OS boot loaders at time of running it, that will be presented at next startup, stored in an internal EFI System Partition and/or written on an USB stick, making it a rescue multi-boot media.

How to use it?
1) Download the script EFI3M
2) Make it executable:
chmod 0755 EFI3M
3) Run it as root (use sudo for some distributions):
./EFI3M or "sh EFI3M"

It should work on any Linux distribution with GRUB2 installed (used to build the menu as an EFI application).

The menu can include entries to start any Linux distribution and generally any system with an EFI boot loader: BSD distribution, Mac OS, Microsoft Windows or other installed on any system connected to the medium: hard disk, SSD, NVMe, ..

To help the visually impaired, the boot menu optionally plays a sound at startup, a tune of n sounds when starting the boot entry numbered n from
the top of the menu, and specific tunes for reboot and halt, so they know what they are doing.

To know more, you have the README on GitHub, and a page of information accessible from the main menu of EFI3M when running it.

I have tested EFI3M on Slint64-14.2.1.1, Slackware 14.2, Debian testing, Fedora Workstation 28-1.1, Arch Linux 20180601, openSUSE 15.0 Leap,
Ubuntu Mate 18.04.

EDIT: to allow starting from the EFI3M menu boot loaders built with elilo (like those found in Slackware and derivatives) you will need grub version 2.02.

I plan to internationalize EFI3M, but as my native language is French I need to first enhance the wording of the dialog in English. I will be grateful for your proposed correction.

Greetings,

Last edited by Didier Spaier; 06-22-2018 at 12:19 PM.
 
Old 07-12-2018, 06:12 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Original Poster
Rep: Reputation: Disabled
Hello,

I just uploaded an new version of EFI3M on GitHub:
https://github.com/DidierSpaier/EFI3M

You can get it typing:
wget https://raw.githubusercontent.com/Di...M/master/EFI3M

This will download the shell script EFI3M that should be run as root.

Enhancements:
I have checked that script can be used with speech using orca.

This is also true on the console using espeakup, only moving a boot entry up or down while reordering the boot entries is not spoken, I don't know why.

Reordering the boot entries is now simpler: just select a boot entry typing its number, then move it with the up or down arrow key. the corresponding line will be distinguished from the others by a * as first character.

I will just paste below the second page of the requirements and features as displayed by the script itself as it details the sound features:

<quoted page below>
Requirements:
GRUB version at least 2.02 should be installed, as well as usual
utilities found in pretty much any Linux distribution.

Sound aid for the visually impaired:
After booting, navigate in the menu with the up and down arrow keys.
If brltty, espeakup or orca is active when EFI3M is run:
1) A Beep is emitted as soon as the menu is displayed.
2) When pressing Enter on the menu entry n (numbered from the top of
the menu), a tune of n sounds is played. The user can then confirm
this choice pressing Enter (the same tune is then played again) or go
back to the top of the menu pressing the Esc key.
3) The same apply to the the last entries, Halt and Reboot. A descending
arpeggio is played for Halt, a descending followed by an ascending
arpeggio for Reboot. Again, confirm with Enter or cancel with Esc.

The sound can also be set afterwards: type 4 in the main menu of EFI3M,
then M for Mute or S for Sound, and validate the setting typing V.

To apply the modification to an USB stick you will need to write again
the menu on it, typing 3 in the main menu.
<quoted page ended above>

For those who tried a previous version and as some file names have changed you may want to remove the stale files with the script remove-efibootmenu before running the new EFI3M:

get it with this command then:
wget https://raw.githubusercontent.com/Di...ve_efibootmenu

Best regards,

Didier
 
  


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
resize efi question [/boot/efi] with boot flag gparted mtdew3q Fedora 4 03-19-2017 10:02 PM
EFI multi boot - Linux only - how? alfredo10 Linux - General 11 08-17-2016 05:20 AM
[SOLVED] Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration ironQiu Slackware 4 02-09-2015 06:21 AM
[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
How to create multi-boot CD menu musicman_ace Linux - General 1 04-03-2006 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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