From 18ac54c81f5352260f22cb48741a0031f65e5477 Mon Sep 17 00:00:00 2001 From: jedi Date: Tue, 15 Feb 2022 05:43:07 +0100 Subject: [PATCH] wipe partitions before luks --- entry.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index f386c03..6335f36 100755 --- a/entry.sh +++ b/entry.sh @@ -79,6 +79,10 @@ function first_stage(){ echo echo w ) | fdisk ${DEVICE} + + + wipefs -a ${DEVICE}1 + wipefs -a ${DEVICE}2 echo mkfs.ext4 ${DEVICE}1 yes | mkfs.ext4 ${DEVICE}1 @@ -150,8 +154,8 @@ function second_stage(){ unset USER_PASSWORD btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui) - apt install -y git wget materia-gtk-theme - #apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender + 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 freecad git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh chmod 0755 $HOME/.oh-my-zsh chown -R jedi:jedi $HOME