Code Monkey home page Code Monkey logo

deep-freezer's Introduction

Debian deep freezer

Deep freeze your Debian-based Linux with wrapped Lethe. All changes made to frozen system are reverted after reboot. Changes can be made in dedicated grub entry.

About

This tool uses old program called Lethe. It wrapps some things so that this old fella runs on modern Debian-based Linuxes (such as Ubuntu).

Usage

To freeze your Linux, simply run commands listed below:

git clone https://github.com/TheArqsz/deep-freezer.git && \
cd deep-freezer && \
chmod +x deep-freezer.sh && \
./deep-freezer.sh

To unfreeze your system, run:

./deep-freezer.sh --unfreeze

or

./deep-freezer.sh -u

Other parameters:

./deep-freezer.sh --no-color # do not use colors in output
./deep-freezer.sh --verbose # verbose output
./deep-freezer.sh --help # show help

Grub entries

Script creates two grub entries:

  • First with plain name of distribution (e.g. Debian or Ubuntu) which is freezed by Lethe - changes made here, are not persistent
  • Second with name Persistent (not Lethe-freezed) distribution-name - changes made here are persistent and visible for previous entry

Licensing

All rights for Lethe go to its authors. It is licensed under GPL license. Files can be found here. Copyright notice for Lethe Debian package may be found here.

I am the author only for wrapper that automates deep freeze. It may be shared under GPL license (see LICENSE).

deep-freezer's People

Contributors

thearqsz avatar

Stargazers

 avatar  avatar  avatar Ruben Cancho avatar  avatar

Watchers

James Cloos avatar  avatar

deep-freezer's Issues

Not work

Hello, unfortunately the Script is not working on Linux Mint 21 Vanessa, I just tested it and it didn't freeze the system, the changes that were made were kept when restarting or turning on the system.

When running the script I received the following message:

**#### Starting deep freeze in 5 seconds ####
#### Quit now (CTRL-C) if you didn't backup important files ####
4 3 2 1 0 
#### Changing grub entries ####
#### Changed grub entries ####
#### Updating grub ####
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
/usr/sbin/grub-mkconfig: 275: cannot create /boot/grub/grub.cfg.new: Operation not permitted**

Could you please check.

Thanks in advance.

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.