Git Product home page Git Product logo

grub-entries's Introduction

grub-entries

A shell script to list grub's top-level menu entries.

With the -g option it also adds a glyph to the entries.

Arch Linux users can get it from the AUR: paru -S grub-entries-git.

Otherwise, clone the repository and run sudo make install.

grub-entries's People

Stargazers

 avatar

Watchers

 avatar

Forkers

pybvv

grub-entries's Issues

`grub-entries` does omit numbers in GRUB boot `menuentry` names.

I have working menuentrys with numbers, and grub-entries does not print the numbers:

I have the following menuentrys (output of grep ^menuentry /boot/grub/grub.cfg):

menuentry '[0] Artix, kernel vmlinuz-linux version 5.17.8-artix1-1.' {
menuentry '[1] Artix, kernel vmlinuz-linux-xanmod-anbox version unknown_version.' {
menuentry '[2] Artix, kernel vmlinuz-linux-pf version 5.18.0-pf1.' {
menuentry '[3] Artix, kernel vmlinuz-linux-pf-custom version 5.18.0-pf1-longcmdline-custom.' {
menuentry '[4] Artix, kernel vmlinuz-linux-pf-m14t-custom version 5.17.0-pf5-longcmdline-m14t-custom.' {
menuentry '[EFI] Windows boot manager' {
menuentry '[EFI] GRUB2 Filemanager' {
menuentry '[EFI] Clover boot loader' {
menuentry '[EFI] Artix GRUB' {
menuentry '[EFI] PLoP-Kexec Boot Manager' {
menuentry '[EFI] memtest86+' {
menuentry '[EFI] syslinux' {
menuentry '[EFI] Default "/EFI/boot/bootx64.efi"' {
menuentry '[other] PLoP Boot Manager 5' {
menuentry '[other] PLoP Boot Manager 6' {
menuentry '[other] PLoP-Kexec Boot Manager' {
menuentry '[other] memtest86+' {
menuentry 'Artix Linux' --class artix --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c108f006-6047-4082-8720-f88426ea9edb' {
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-852B-FF15' {
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
menuentry "Bootable Floppy Image: FreeDos_1.2_Floppy" {
menuentry "Alpine Netboot" {
menuentry "Arch Linux Netboot" {
menuentry 'Reboot' --class tool --id reboot {
menuentry 'Poweroff' --class tool --id poweroff {

But grub-entries does print the following:

[] Artix, kernel vmlinuz-linux version .-artix-.
[] Artix, kernel vmlinuz-linux-xanmod-anbox version unknown_version.
[] Artix, kernel vmlinuz-linux-pf version .-pf.
[] Artix, kernel vmlinuz-linux-pf-custom version .-pf-longcmdline-custom.
[] Artix, kernel vmlinuz-linux-pf-mt-custom version ..-pf-longcmdline-mt-custom.
[EFI] Windows boot manager
[EFI] GRUB Filemanager
[EFI] Clover boot loader
[EFI] Artix GRUB
[EFI] PLoP-Kexec Boot Manager
[EFI] memtes+
[EFI] syslinux
[EFI] Default "/EFI/boot/bootx.efi"
[other] PLoP Boot Manager 
[other] PLoP Boot Manager 
[other] PLoP-Kexec Boot Manager
[other] memtes+
Artix Linux
Windows Boot Manager (on /dev/sda)
UEFI Firmware Settings
Bootable Floppy Image: FreeDos_._Floppy
menuentry
Alpine Netboot
Arch Linux Netboot
Reboot
Poweroff

Ommiting numbers, which is not correct.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.