Code Monkey home page Code Monkey logo

ab9il / linux-respinner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brightflash64/linux-respinner

1.0 2.0 0.0 224 KB

A script to respin and maintain Debian / Ubuntu / Linux Mint ISO file releases. Edit and create freshly remastered iso files with your own software and settings. Most recently used with Ubuntu 22.04 and Rhino Linux 2023, Debian 12, Eznix, and Peppermint OS disc images.

License: GNU General Public License v3.0

Shell 100.00%
linux ubuntu-respin mint-respin chroot-ubuntu-iso remaster-rhino remaster-rhino-linux remaster-ubuntu

linux-respinner's Introduction

Linux-Respinner

Scripts to respin and maintain Debian / Ubuntu / Linux Mint ISO file releases.

These scripts are exactly what I use to remaster and customize Ubuntu and Debian iso files, debloating and configuring the Linux for various specialty live environments.

Crack open your favorite livecd and set up a more perfect choice of web browser, bookmarks, desktop, or window manager. The official releases are great, but the bottom line with Linux is that you can make a distro into just about anything you want.

Dependencies:

fd-find fzf genisoimage squashfs-tools syslinux-utils xorriso

Usage (multifunction.sh):

multifunction.sh <task>
  1. Place in a working directory on a medium large enough to hold the original iso file, the extracted iso contents, and a working linux filesystem (in total, about four times the size of the original iso file).
  2. Edit the variables at the top of the script to set paths, username, and other items.
  3. The DISTRIBID variable is critically important! Must be set to "Debian", "Ubuntu", "Mint", or "Rhino""" type of iso.
  4. The UBUCODE variable is also important. Set to "focal", "lunar", as appropriate. For Rhino Linux, "rhino" is correct.
  5. Make the script executable.
  6. Run as root in a terminal; use the "extractiso" argument to rip the iso data.
  7. Restart the respinner script, with "chroot" argument.
  8. When in the chroot environment, update, install, or remove software.
  9. You can also add or delete files directly in the root file system directory.
  10. To leave the chroot, execute "exit" and let the script clean up and quit.
  11. Restart the script again, choosing the "makedisk" argument.

Usage (group-update):

group-update
  1. Select the desired task from the menu (apt update, extract iso content, build a new iso, etc)
  2. Manually edit the project dirs to activate for the current task.
  3. Manually edit the function for directly fixing files with no chroot environment.
  4. Manually edit the function for executing discrete tasks within the chroot environment.
  5. For safety, comment out the project dirs, discrete tasks, and file fixes when you finish a set of tasks.

The group-update script is a centralized management tool for one or many iso respin projects. Edit the variables near the beginning of the script, especially to set paths and "dirs" for the project directories. Set paths as needed for copying deb packages, kernel files, or other items into your projects, or to delete any items.

In each project directory, place multifunction.sh and the original distro iso which will be extracted and respun. The group-update script will cd into each project and execute multifunction.sh for its various tasks.

linux-respinner's People

Contributors

ab9il avatar brightflash64 avatar

Stargazers

 avatar

Watchers

 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.