From d10e9320676a9beb7e97908eb5ad459ccb60261f Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Sat, 15 Apr 2023 18:05:53 +0500 Subject: [PATCH] Fix Readme --- README.md | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 312e2ed..4a20125 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,73 @@ -# melawy-refind-menu-generator- +# melawy-refind-menu-generator Menu generator for rEFInd loader for kernels in /ESP_PATH/EFI/Linux for Arch Linux + +``` +cat /efi/EFI/refind/manual.conf +``` +``` +menuentry "EFI Arch Linux (linux-xanmod-anbox)" { + icon /EFI/refind/themes/lera-sugar/icons/os_arch.png + ostype Linux + graphics on + + loader /EFI/Linux/linux-xanmod-anbox.efi + + submenuentry "EFI Arch Linux (linux-xanmod-anbox) fallback" { + loader /EFI/Linux/linux-xanmod-anbox-fallback.efi + } + + submenuentry "Terminal" { + add_options "systemd.unit=multi-user.target" + } + + submenuentry "Arch Linux (linux-xanmod-anbox)" { + loader /EFI/Linux/vmlinuz-linux-xanmod-anbox + initrd /EFI/Linux/initramfs-linux-xanmod-anbox.img + options "root=UUID=24f2a700-319b-41f2-853f-c5711cd4081d rw rootflags=subvol=@ quiet splash bgrt_disable nvidia-drm.modeset=1 nvme_load=YES apparmor=1 security=apparmor loglevel=3 systemd.unified_cgroup_hierarchy=0 fsck.mode=force fsck.repair=yes add_efi_memmap initrd=EFI\Linux\intel-ucode.img initrd=EFI\Linux\amd-ucode.img" + } + + submenuentry "Arch Linux (linux-xanmod-anbox) fallback" { + loader /EFI/Linux/vmlinuz-linux-xanmod-anbox + initrd /EFI/Linux/initramfs-linux-xanmod-anbox-fallback.img + options "root=UUID=24f2a700-319b-41f2-853f-c5711cd4081d rw rootflags=subvol=@ quiet splash bgrt_disable nvidia-drm.modeset=1 nvme_load=YES apparmor=1 security=apparmor loglevel=3 systemd.unified_cgroup_hierarchy=0 fsck.mode=force fsck.repair=yes add_efi_memmap initrd=EFI\Linux\intel-ucode.img initrd=EFI\Linux\amd-ucode.img" + } +} + +menuentry "rEFInd HARD" { + icon /EFI/refind/themes/lera-sugar/icons/os_systemd-boot.png + ostype Linux + graphics on + loader /EFI/refind_hard/refind_x64.efi +} + +menuentry "Windows 11" { + icon /EFI/refind/themes/lera-sugar/icons/os_win11.png + ostype Windows + loader /EFI/ms11/Boot/bootmgfw.efi +} + +menuentry "Memtest86+ from EFI" { + icon /EFI/refind/themes/lera-sugar/icons/tool_memtest.png + loader /EFI/memtest/bootx64.efi +} + +menuentry "GRUB" { + icon /EFI/refind/themes/lera-sugar/icons/os_systemd-boot.png + ostype Linux + graphics on + loader /EFI/boot/grubx64.efi + + disabled +} + +menuentry "Systemd Boot" { + icon /EFI/refind/themes/lera-sugar/icons/os_systemd-boot.png + ostype Linux + graphics on + loader /EFI/systemd/systemd-bootx64.efi + + disabled +} + +default_selection "linux" +``` \ No newline at end of file