Установка чистой Ubuntu 18.04 через debootstrap
Подготовка среды через debootstrap
Создаете папку /media/ubuntu/root и подготовьте среду
mkdir /media/ubuntu/root
mkdir -p /media/ubuntu/root/etc/apt
cd /media/ubuntu/root
debootstrap --arch amd64 bionic root http://ru.archive.ubuntu.com/ubuntu
cp /etc/apt/sources.list /media/ubuntu/root/etc/apt/sources.list
cp /etc/resolv.conf /media/ubuntu/root/etc/resolv.conf
mount -t proc proc /media/ubuntu/root/proc
mount -t sysfs sys /media/ubuntu/root/sys
mount -o bind /dev /media/ubuntu/root/dev
mount -t devpts none /media/ubuntu/root/dev/pts
Установка базового ПО
Сделайте chroot
chroot /media/ubuntu/root
Установите базовое ПО
apt update
apt upgrade -y
locale-gen en_US.UTF-8
locale-gen ru_RU.UTF-8
# Install sys tools
apt install ubuntu-standard linux-base linux-generic dbus bridge-utils \
cron htop mc nano aptitude unar curl dnsutils sudo grep man anacron \
g++ gcc cpp openssh-client unrar unar bzip2 zip unzip p7zip-full \
python2.7 python3 tar mtools grub-efi grub-efi-amd64 attr -y
# Install openbox
aptitude install xorg openbox sddm sddm-theme-maldives dconf-editor \
wicd gedit nitrogen compton tint2 lxappearance lxappearance-obconf \
obmenu docky volti xxkb xkbind gxkb adwaita-icon-theme-full adwaita-qt \
gmrun qlipper breeze-icon-theme gtk3-engines-breeze gnome-screensaver \
breeze breeze-cursor-theme breeze-gtk-theme breeze-icon-theme \
qt5-style-plugins xterm obconf obconf-qt alsa alsaplayer update-manager \
ubuntu-gnome-wallpapers ubuntu-wallpapers-bionic ubuntu-gnome-wallpapers \
kubuntu-wallpapers-bionic gnome-backgrounds florence inxi \
pcmanfm menu compton alsa-base alsa-tools alsa-utils alsamixergui \
lxqt lxqt-about lxqt-core lxqt-config lxqt-sudo lxqt-qtplugin lxqt-panel \
kde-spectacle scrot libnotify-bin gnome-disk-utility smartmontools \
pulseaudio pavumeter pavucontrol pavucontrol-qt traceroute \
smbclient gvfs-bin libnotify-bin cups clamav clamav-freshclam -y
# Install LXQT
aptitude install lxqt lxqt-about lxqt-core lxqt-config lxqt-sudo lxqt-qtplugin lxqt-panel
# Install App
aptitude install audacious baobab hardinfo firefox konsole chromium-browser \
ffmpeg vlc geany geany-plugins libreoffice okular gwenview eog eog-plugins \
language-pack-ru pinta ark filezilla gnome-terminal shutter simplescreenrecorder -y
# Install systemsettings
aptitude install systemsettings dolphin plasma-framework plasma-workspace plasma-sdk
# Install Drivers
aptitude install xserver-xorg-input-synaptics -y
# Remove package
aptitude purge postfix mailutils
Отмонтирование устройств
После установки ПО, отмонтируйте устройства
umount /media/ubuntu/root/proc
umount /media/ubuntu/root/sys
umount /media/ubuntu/root/dev
umount /media/ubuntu/root/dev/pts