This commit is contained in:
Valeria Fadeeva 2023-10-29 12:48:07 +05:00
parent 976133c6ac
commit b21451bbd4
3 changed files with 26 additions and 6 deletions

View File

@ -9,8 +9,8 @@ menuentry "EFI {OSNAME} ({KERNEL})" {
loader /EFI/Linux/{KERNEL_EFI}-fallback.efi loader /EFI/Linux/{KERNEL_EFI}-fallback.efi
} }
submenuentry "Terminal" { submenuentry "EFI {OSNAME} ({KERNEL}) fallback terminal" {
add_options "systemd.unit=multi-user.target" loader /EFI/Linux/{KERNEL_EFI}-fallback-terminal.efi
} }
submenuentry "{OSNAME} ({KERNEL})" { submenuentry "{OSNAME} ({KERNEL})" {
@ -24,5 +24,11 @@ menuentry "EFI {OSNAME} ({KERNEL})" {
initrd /EFI/Linux/{INITRAMFS_FALLBACK} initrd /EFI/Linux/{INITRAMFS_FALLBACK}
options "{CMDLINE}" options "{CMDLINE}"
} }
submenuentry "{OSNAME} ({KERNEL}) fallback terminal" {
loader /EFI/Linux/{KERNEL_VMLINUZ}
initrd /EFI/Linux/{INITRAMFS_FALLBACK}
options "{CMDLINE} systemd.unit=multi-user.target"
}
} }

View File

@ -13,6 +13,12 @@ menuentry "{OSNAME} ({KERNEL})" {
options "{CMDLINE}" options "{CMDLINE}"
} }
submenuentry "{OSNAME} ({KERNEL}) fallback terminal" {
loader /EFI/Linux/{KERNEL_VMLINUZ}
initrd /EFI/Linux/{INITRAMFS_FALLBACK}
options "{CMDLINE} systemd.unit=multi-user.target"
}
submenuentry "EFI {OSNAME} ({KERNEL})" { submenuentry "EFI {OSNAME} ({KERNEL})" {
loader /EFI/Linux/{KERNEL_EFI}.efi loader /EFI/Linux/{KERNEL_EFI}.efi
initrd initrd
@ -25,8 +31,10 @@ menuentry "{OSNAME} ({KERNEL})" {
options options
} }
submenuentry "Terminal" { submenuentry "EFI {OSNAME} ({KERNEL}) fallback terminal" {
add_options "systemd.unit=multi-user.target" loader /EFI/Linux/{KERNEL_EFI}-fallback-terminal.efi
initrd
options
} }
} }

View File

@ -9,8 +9,8 @@ menuentry "EFI {OSNAME} ({KERNEL})" {
loader /EFI/Linux/{KERNEL_EFI}-fallback.efi loader /EFI/Linux/{KERNEL_EFI}-fallback.efi
} }
submenuentry "Terminal" { submenuentry "EFI {OSNAME} ({KERNEL}) fallback terminal" {
add_options "systemd.unit=multi-user.target" loader /EFI/Linux/{KERNEL_EFI}-fallback-terminal.efi
} }
submenuentry "{OSNAME} ({KERNEL})" { submenuentry "{OSNAME} ({KERNEL})" {
@ -24,5 +24,11 @@ menuentry "EFI {OSNAME} ({KERNEL})" {
initrd /EFI/Linux/{INITRAMFS_FALLBACK} initrd /EFI/Linux/{INITRAMFS_FALLBACK}
options "{CMDLINE}" options "{CMDLINE}"
} }
submenuentry "{OSNAME} ({KERNEL}) fallback terminal" {
loader /EFI/Linux/{KERNEL_VMLINUZ}
initrd /EFI/Linux/{INITRAMFS_FALLBACK}
options "{CMDLINE} systemd.unit=multi-user.target"
}
} }