kexecme

Easily kexec (on Fedora)

git clone https://code.pdelong.com/kexecme.git

 1# kexecme
 2
 3A quick way to call `kexec`.
 4
 5For now, it uses the parameters specified by Grub config, which means it's most
 6handy when you want to boot into a different kernel as if through the normal
 7boot process.  More configuration may be added in the future.
 8
 9## Running
10
11To run, simply call `kexec` with superuser permissions.  You will be prompted
12to select a kernel version to boot.  That's it!
13
14```
15$ sudo ./kexecme
160       5.18.16-200.fc36.x86_64
171       5.18.15-200.fc36.x86_64
182       5.18.13-200.fc36.x86_64
193       0-rescue-9524f74ece9c47a288d25f5a117f65f9
20Select a kernel (0-3)[0]<CR>
21Booting...
22```
23
24## Dependencies
25
26- Grub must be the bootloader with entries in `/boot/loader/entries`
27- systemd