Safely test keyboard is working during 'init' script in boot

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

Safely test keyboard is working during 'init' script in boot

#1 Post by gyro »

The keyboard is only required during the execution of the 'init' script if you:
1) Have multiple savefiles/savefolders
2) Use an encrypted savefile
3) Boot "pfix=rdsh"

If you don't do any of these things, relax, there's no need to test.

If you are already successfully doing any of these, with the target kernel, (vmlinuz and zdrv), then your keyboard is fine, there's no need to test.

If you intend to do any of these things then it's safer to test your keyboard using the following method, before you need it.

Boot a frugal install that has the target kernel installed with "pfix=ram,rdsh".
This will boot to a console command prompt towards the end of the 'init' script.
Type 'exec switch', without the quotes.
If this works your keyboard is fine with the current kernel.
If it does not work then it is safe to shutdown using the power switch, since no disk partitions are mounted.

gyro

Post Reply