From db48fd2dcb0a0c7f826e042740e68148bb0be351 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 3 Jun 2026 11:58:01 +0100 Subject: [PATCH] hardware: Add memtest=1 to kernel options Run a basic kernel based memory test on boot to potentially catch any RAM issues. The test only adds up to a minute on boot on large memory systems. --- cookbooks/hardware/templates/default/grub.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/hardware/templates/default/grub.erb b/cookbooks/hardware/templates/default/grub.erb index 305a5b0b0..1fd2aba6e 100644 --- a/cookbooks/hardware/templates/default/grub.erb +++ b/cookbooks/hardware/templates/default/grub.erb @@ -22,7 +22,7 @@ GRUB_CMDLINE_LINUX="console=tty0 <%= @units.sort.uniq.collect { |unit| "console= <% end -%> # Arguments to add to the kernel command line (except recovery entries) -GRUB_CMDLINE_LINUX_DEFAULT="panic=30" +GRUB_CMDLINE_LINUX_DEFAULT="panic=30 memtest=1" # Do not wait for infinite time on a failed boot GRUB_RECORDFAIL_TIMEOUT=2 -- 2.47.3