Skip to content

Instantly share code, notes, and snippets.

@b9AcE
Created April 19, 2017 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b9AcE/91a382679c29c4d781145d90c9ea4a32 to your computer and use it in GitHub Desktop.
Save b9AcE/91a382679c29c4d781145d90c9ea4a32 to your computer and use it in GitHub Desktop.
Very tiny scriptlet to easily install a newly compiled Linux kernel on x86_64 using just version-name as argument.
#!/bin/bash
\/bin/cp -v arch/x86_64/boot/bzImage /boot/vmlinuz-"${1}"
\/bin/cp -v vmlinux /boot/vmlinux-"${1}"
\/bin/cp -v System.map /boot/System.map-"${1}"
\/bin/cp -v .config /boot/config-"${1}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment