mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove add_efi_memmap, grub is used to boot so no efistub booting, remove cgroup_disable=memory no error is shown anymore
This commit is contained in:
parent
5b7325e3cb
commit
242bf74024
2 changed files with 6 additions and 6 deletions
|
@ -2982,10 +2982,10 @@ bootloader_kernel_parameters() {
|
|||
|
||||
[[ "${_rootpart}" == "" ]] && _rootpart="${PART_ROOT}"
|
||||
|
||||
_KERNEL_PARAMS_COMMON_UNMOD="root=${_rootpart} rootfstype=${ROOTFS} rw ${ROOTFLAGS} ${RAIDARRAYS} ${CRYPTSETUP} cgroup_disable=memory"
|
||||
_KERNEL_PARAMS_COMMON_UNMOD="root=${_rootpart} rootfstype=${ROOTFS} rw ${ROOTFLAGS} ${RAIDARRAYS} ${CRYPTSETUP}"
|
||||
# add uncommonn options here
|
||||
_KERNEL_PARAMS_BIOS_UNMOD="${_KERNEL_PARAMS_COMMON_UNMOD}"
|
||||
_KERNEL_PARAMS_UEFI_UNMOD="${_KERNEL_PARAMS_COMMON_UNMOD} add_efi_memmap"
|
||||
_KERNEL_PARAMS_UEFI_UNMOD="${_KERNEL_PARAMS_COMMON_UNMOD}"
|
||||
_KERNEL_PARAMS_BIOS_MOD="$(echo "${_KERNEL_PARAMS_BIOS_UNMOD}" | sed -e 's# # #g' | sed -e 's# # #g')"
|
||||
_KERNEL_PARAMS_UEFI_MOD="$(echo "${_KERNEL_PARAMS_UEFI_UNMOD}" | sed -e 's# # #g' | sed -e 's# # #g')"
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ if [ ${grub_platform} == "pc" ]; then
|
|||
menuentry "Arch Linux x86_64 Archboot - BIOS Mode" {
|
||||
set gfxpayload=keep
|
||||
_menu_running
|
||||
linux /boot/vmlinuz_x86_64 cgroup_disable=memory rootfstype=ramfs console=ttyS0,115200 console=tty0
|
||||
linux /boot/vmlinuz_x86_64 rootfstype=ramfs console=ttyS0,115200 console=tty0
|
||||
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs_x86_64.img
|
||||
}
|
||||
fi
|
||||
|
@ -78,7 +78,7 @@ if [ ${grub_platform} == "efi" ]; then
|
|||
menuentry "Arch Linux x86_64 Archboot" {
|
||||
set gfxpayload=keep
|
||||
_menu_running
|
||||
linux /boot/vmlinuz_x86_64 cgroup_disable=memory rootfstype=ramfs add_efi_memmap console=ttyS0,115200 console=tty0
|
||||
linux /boot/vmlinuz_x86_64 rootfstype=ramfs console=ttyS0,115200 console=tty0
|
||||
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs_x86_64.img
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@ if [ ${grub_platform} == "efi" ]; then
|
|||
menuentry "Arch Linux AA64 Archboot" {
|
||||
set gfxpayload=keep
|
||||
_menu_running
|
||||
linux /boot/vmlinuz_aarch64 cgroup_disable=memory rootfstype=ramfs audit=0 nr_cpus=1 add_efi_memmap console=ttyS0,115200 console=tty0
|
||||
linux /boot/vmlinuz_aarch64 rootfstype=ramfs audit=0 nr_cpus=1 console=ttyS0,115200 console=tty0
|
||||
initrd /boot/amd-ucode.img /boot/initramfs_aarch64.img
|
||||
}
|
||||
|
||||
|
@ -105,7 +105,7 @@ if [ ${grub_platform} == "efi" ]; then
|
|||
menuentry "Arch Linux x86_64 Archboot - EFI MIXED MODE" {
|
||||
set gfxpayload=keep
|
||||
_menu_running
|
||||
linux /boot/vmlinuz_x86_64 cgroup_disable=memory _IA32_UEFI=1 rootfstype=ramfs add_efi_memmap console=ttyS0,115200 console=tty0
|
||||
linux /boot/vmlinuz_x86_64 _IA32_UEFI=1 rootfstype=ramfs console=ttyS0,115200 console=tty0
|
||||
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs_x86_64.img
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue