mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
add - in grub.cfg
This commit is contained in:
parent
3eb2ed33b9
commit
9a6a5fe6ca
1 changed files with 8 additions and 8 deletions
|
@ -61,8 +61,8 @@ function _efi_shell {
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ${grub_platform} == "pc" ]; then
|
if [ ${grub_platform} == "pc" ]; then
|
||||||
set default="Archboot Arch Linux X86_64 - BIOS Mode"
|
set default="Archboot - Arch Linux X86_64 - BIOS Mode"
|
||||||
menuentry "Archboot Arch Linux x86_64 - BIOS Mode" {
|
menuentry "Archboot - Arch Linux x86_64 - BIOS Mode" {
|
||||||
_menu_running
|
_menu_running
|
||||||
linux /boot/vmlinuz-x86_64 console=ttyS0,115200 console=tty0 audit=0
|
linux /boot/vmlinuz-x86_64 console=ttyS0,115200 console=tty0 audit=0
|
||||||
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/init-x86_64.img
|
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/init-x86_64.img
|
||||||
|
@ -75,23 +75,23 @@ fi
|
||||||
|
|
||||||
if [ ${grub_platform} == "efi" ]; then
|
if [ ${grub_platform} == "efi" ]; then
|
||||||
if [ ${grub_cpu} == "x86_64" ]; then
|
if [ ${grub_cpu} == "x86_64" ]; then
|
||||||
set default="Archboot Arch Linux x86_64"
|
set default="Archboot - Arch Linux x86_64"
|
||||||
menuentry "Archboot Arch Linux x86_64" {
|
menuentry "Archboot - Arch Linux x86_64" {
|
||||||
_menu_running
|
_menu_running
|
||||||
linux /boot/vmlinuz-x86_64 console=ttyS0,115200 console=tty0 audit=0
|
linux /boot/vmlinuz-x86_64 console=ttyS0,115200 console=tty0 audit=0
|
||||||
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/init-x86_64.img
|
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/init-x86_64.img
|
||||||
}
|
}
|
||||||
_efi_shell
|
_efi_shell
|
||||||
elif [ ${grub_cpu} == "arm64" ]; then
|
elif [ ${grub_cpu} == "arm64" ]; then
|
||||||
set default="Archboot Arch Linux AA64"
|
set default="Archboot - Arch Linux AA64"
|
||||||
menuentry "Archboot Arch Linux AA64" {
|
menuentry "Archboot - Arch Linux AA64" {
|
||||||
_menu_running
|
_menu_running
|
||||||
linux /boot/Image-aarch64.gz nr_cpus=1 console=ttyAMA0,115200 console=tty0 loglevel=4 audit=0
|
linux /boot/Image-aarch64.gz nr_cpus=1 console=ttyAMA0,115200 console=tty0 loglevel=4 audit=0
|
||||||
initrd /boot/amd-ucode.img /boot/init-aarch64.img
|
initrd /boot/amd-ucode.img /boot/init-aarch64.img
|
||||||
}
|
}
|
||||||
elif [ ${grub_cpu} == "i386" ]; then
|
elif [ ${grub_cpu} == "i386" ]; then
|
||||||
set default="Archboot Arch Linux x86_64 - EFI MIXED MODE"
|
set default="Archboot - Arch Linux x86_64 - EFI MIXED MODE"
|
||||||
menuentry "Archboot Arch Linux x86_64 - EFI MIXED MODE" {
|
menuentry "Archboot - Arch Linux x86_64 - EFI MIXED MODE" {
|
||||||
_menu_running
|
_menu_running
|
||||||
linux /boot/vmlinuz-x86_64 _IA32_UEFI=1 console=ttyS0,115200 console=tty0 audit=0
|
linux /boot/vmlinuz-x86_64 _IA32_UEFI=1 console=ttyS0,115200 console=tty0 audit=0
|
||||||
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/init-x86_64.img
|
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/init-x86_64.img
|
||||||
|
|
Loading…
Reference in a new issue