User Tools

Site Tools


linux:previous-kernel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:previous-kernel [2020/08/02 19:45] – created Wulf Rajeklinux:previous-kernel [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 10: Line 10:
 </code> </code>
 change  change 
-<code>GRUB_DEFAULT=0</code> +<code>GRUB_DEFAULT=0 #boots the latest kernel</code> 
-to desired kernel +to the desired kernel name 
-probably also increase+ 
 +Increase timeout to 2 seconds to display boot menu if necessary:
 <code>GRUB_TIMEOUT=0</code> <code>GRUB_TIMEOUT=0</code>
-to 2 seconds for manual adjustment where necessary 
  
 apply changes: apply changes:
Line 21: Line 21:
 ===== Bash Script ===== ===== Bash Script =====
  
-<code kernelchoice.sh>+<code bash kernelchoice.sh>
 #!/bin/bash #!/bin/bash
 if [ "$LOGNAME" != "root" ] if [ "$LOGNAME" != "root" ]
linux/previous-kernel.1596393941.txt.gz · Last modified: (external edit)