wipe partitions before luks
This commit is contained in:
parent
9322001485
commit
18ac54c81f
1 changed files with 6 additions and 2 deletions
8
entry.sh
8
entry.sh
|
@ -79,6 +79,10 @@ function first_stage(){
|
||||||
echo
|
echo
|
||||||
echo w
|
echo w
|
||||||
) | fdisk ${DEVICE}
|
) | fdisk ${DEVICE}
|
||||||
|
|
||||||
|
|
||||||
|
wipefs -a ${DEVICE}1
|
||||||
|
wipefs -a ${DEVICE}2
|
||||||
|
|
||||||
echo mkfs.ext4 ${DEVICE}1
|
echo mkfs.ext4 ${DEVICE}1
|
||||||
yes | mkfs.ext4 ${DEVICE}1
|
yes | mkfs.ext4 ${DEVICE}1
|
||||||
|
@ -150,8 +154,8 @@ function second_stage(){
|
||||||
unset USER_PASSWORD
|
unset USER_PASSWORD
|
||||||
|
|
||||||
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
|
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
|
||||||
apt install -y git wget materia-gtk-theme
|
apt install -y git wget materia-gtk-theme htop nmap
|
||||||
#apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender
|
#apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender freecad
|
||||||
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
|
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
|
||||||
chmod 0755 $HOME/.oh-my-zsh
|
chmod 0755 $HOME/.oh-my-zsh
|
||||||
chown -R jedi:jedi $HOME
|
chown -R jedi:jedi $HOME
|
||||||
|
|
Loading…
Reference in a new issue