Whole machine hangs during upgrade

I’ve ran the scripts and rebooted.

Then:

$ cat /proc/sys/vm/overcommit_memory
1

and

$ cat /sys/kernel/mm/transparent_hugepage/enabled
always [madvise] never

(So first thing changed from 0 to 1 but second thing still returns the same).