GithubHelp home page GithubHelp logo

customdebian's Introduction

CustomDebian

Script to build your custom liveCD Debian.

Lazy mode / TL;DR

git clone https://github.com/Oros42/CustomDebian.git
cd CustomDebian
sudo ./build_custom_debian.sh new

And get your ISO in ./livework/Amnesia-Debian-amd64.iso Estimated time : 20 minutes with a 400 kB/s Internet connection.
Size of ISO : 189 Mo
By default, on boot, the whole system is load in RAM. So you need at least 200Mo of RAM. And you can remove the USB key or liveCD after booting.

Build your custom Debian

Setup

git clone https://github.com/Oros42/CustomDebian.git
cd CustomDebian
./build_custom_debian.sh

Customize your Debian

CustomDebian
.
├── build_custom_debian.sh <-- the only file you should run
├── config  <-- edit this file
├── custom_conf
│   └── etc <-- put here your customs conf who are copy in /etc/ of your live
├── custom_setup <-- put here your scripts which will be run in chroot.
│                    (Examples https://github.com/Oros42/CustomDebianSetup ) 
│   ├── default.sh
│   └── README.md
├── default <-- don't touch
├── livework <-- it's where ISO is build
└── other_files
    ├── setup_in_chroot_footer.sh
    ├── setup_in_chroot_head.sh
    └── splash.png <-- change this picture if you want

Let's go to build !

sudo ./build_custom_debian.sh new

And get your ISO in ./livework/?.iso
Estimated time : 20 minutes with a 400 kB/s Internet connection.
Size of ISO : 189 Mo
By default, on boot, the whole system is load in RAM. So you need at least 200Mo of RAM. And you can remove the USB key or liveCD after booting.

You want to add something in your liveCD ?

cd CustomDebian/livework/
chroot chroot
# Here, your are in the chroot of your liveCD Debian
mount none -t proc /proc
mount none -t sysfs /sys
mount none -t devpts /dev/pts
export HOME=/root
export LC_ALL=C
export PS1="\e[01;31m(live):\W \$ \e[00m"

# Do what you want :-)

umount /proc /sys /dev/pts
exit
# exit chroot
cd ..

And rebuild your live :

sudo ./build_custom_debian.sh rebuild

And get your new ISO in ./livework/?.iso

customdebian's People

Contributors

oros42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

customdebian's Issues

How to make the ISO UEFI bootable?

Hi! i 'm using this tool with satisfaction for my works :) but i would like to make the ISO system UEFI bootable and installable. Would you know how to do it? thanks a lot for your work! 👍

Add new packages

Hi ! How do you add other packages or delete a few ?
For example : if I want to add KVM in the package list, how can I do that ?
Thanks.

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.