GOAL : Debian 11 minimal server, size 700 MB
TOOL :
- Linux : Debian 11 at
/dev/sda
, Target at/dev/sdb
- Application : debootstrap, parted
- User : root
#!/bin/bash | |
# Copyright 2017 Théo Chamley | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in the Software | |
# without restriction, including without limitation the rights to use, copy, modify, merge, | |
# publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons | |
# to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or |
GOAL : Debian 11 minimal server, size 700 MB
TOOL :
/dev/sda
, Target at /dev/sdb
#!/bin/bash | |
#Variable for PS4 | |
COL_NORM="$(tput setaf 9)" | |
COL_GREEN="$(tput setaf 2)" | |
T_BOLD="$(tput bold)" | |
COL_NORMAL="\033[0m" | |
BOLD="\033[1;33m" | |
BLINK="$(tput blink)" |
#!/bin/bash | |
#Variable for PS4 | |
COL_NORM="$(tput setaf 9)" | |
COL_GREEN="$(tput setaf 2)" | |
T_BOLD="$(tput bold)" | |
COL_NORMAL="\033[0m" | |
BOLD="\033[1;33m" | |
BLINK="$(tput blink)" |