mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
try to solve the memory gap with --mem-max option
This commit is contained in:
parent
7d90f629ea
commit
5f8e179e3e
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ _kexec () {
|
||||||
else
|
else
|
||||||
echo -e "Running \033[1m\033[92mkexec\033[0m with \033[1mold\033[0m KEXEC_LOAD ..."
|
echo -e "Running \033[1m\033[92mkexec\033[0m with \033[1mold\033[0m KEXEC_LOAD ..."
|
||||||
# works on systems with <6GB
|
# works on systems with <6GB
|
||||||
kexec -c -f /"${VMLINUZ}" --initrd="/initrd.img" --reuse-cmdline &
|
kexec -c -f --mem-max=0x80000000 /"${VMLINUZ}" --initrd="/initrd.img" --reuse-cmdline &
|
||||||
fi
|
fi
|
||||||
sleep 2
|
sleep 2
|
||||||
_clean_kernel_cache
|
_clean_kernel_cache
|
||||||
|
|
Loading…
Reference in a new issue