fs_wipe
This commit is contained in:
parent
c641c95c0d
commit
ce6ca845bc
4 changed files with 10 additions and 10 deletions
|
@ -34,7 +34,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
echo
|
||||
echo "#${number}: ${device}4"
|
||||
# wipe bios
|
||||
fs_wipe "${device}4"
|
||||
sh_fs_wipe "${device}4"
|
||||
done
|
||||
#
|
||||
number=0
|
||||
|
@ -43,7 +43,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
echo
|
||||
echo "#${number}: ${device}3"
|
||||
# format esp
|
||||
fs_wipe "${device}3" "1M"
|
||||
sh_fs_wipe "${device}3" "1M"
|
||||
fs_make_fat "${device}3" "esp-${number}" "0000000${number}"
|
||||
# mount esp
|
||||
mkdir --parents "/media/esp/${number}"
|
||||
|
@ -56,7 +56,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
echo
|
||||
echo "#${number}: ${device}2"
|
||||
# wipe boot
|
||||
fs_wipe "${device}2" "1G" 1
|
||||
sh_fs_wipe "${device}2" "1G" 1
|
||||
done
|
||||
#
|
||||
members=""
|
||||
|
@ -81,7 +81,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
echo
|
||||
echo "#${number}: ${device}1"
|
||||
# wipe crypt head
|
||||
fs_wipe "${device}1" "1G" 1
|
||||
sh_fs_wipe "${device}1" "1G" 1
|
||||
done
|
||||
#
|
||||
members=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue