Skip to content

Instantly share code, notes, and snippets.

@petrkle
Last active April 1, 2023 09:56
Show Gist options
  • Save petrkle/5c0541bf449859856788b7506e56af4a to your computer and use it in GitHub Desktop.
Save petrkle/5c0541bf449859856788b7506e56af4a to your computer and use it in GitHub Desktop.
chooser=simple
delay=1
timeout=1
#
image=vmlinuz-generic
label=vmlinuz-generic
initrd=initrd.gz
read-only
append="root=/dev/sda2 vga=normal ro quiet"
#!/bin/bash
slackpkg update
slackpkg install-new
slackpkg upgrade-all
$(/usr/share/mkinitrd/mkinitrd_command_generator.sh /boot/vmlinuz-generic | grep "^mkinitrd")
cp -v /boot/initrd.gz /boot/efi/EFI/Slackware/
cp -v /boot/vmlinuz-generic /boot/efi/EFI/Slackware/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment