Giter Club home page Giter Club logo

kexec-reboot's Introduction

kexec-reboot

Easily choose a kernel to kexec

Overview

Kexec lets you boot your Linux kernel into another kernel without going through the hardware reset and reinitialization performed by your system BIOS or firmware. Since this process can take several minutes, being able to skip it reduces your downtime.

The problem with kexec is it's an entirely manual process, requiring you to copy and paste the right kernel, initrd and command line arguments, and hope you got everything right.

kexec-reboot aims to automate staging a kernel for kexec, so that you can reboot more quickly and accurately.

Prerequisites

kexec-reboot requires the following packages to be installed:

  • kexec-tools 2.0.0 or higher, for /sbin/kexec
  • ruby 1.8.7 or higher

In addition, the system must use grub to boot, as kexec-reboot reads the grub configuration to determine what kernels are available. Both grub 1 and 2 are supported, as well as BIOS and UEFI boot.

Usage

kexec-reboot accepts the following command line arguments:

  • -i, --interactive

    Choose the kernel to stage from a list

  • -l, --latest

    Stage the latest kernel

  • -r, --reboot

    Reboot immediately after staging the kernel

  • -v, --[no-]verbose

    Extra verbosity.

After running kexec-reboot, simply reboot your system normally.

Examples

  • kexec-reboot -l -r

    Stage the latest kernel for kexec and reboot immediately.

  • kexec-reboot -i

    Show a list of available kernels and select one interactively.

kexec-reboot's People

Contributors

error10 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.