hackathons/dar1/2_prepare_computer/2_empty_disk.md
2024-02-04 09:30:42 +03:00

1.1 KiB

Empty disk

prepare rescue USB stick

We use system rescue procedure to empty the disk, its anyhow very handy to have a USB stick with this rescue OS.

see https://www.system-rescue.org/Download/

see https://fastly-cdn.system-rescue.org/releases/11.00/systemrescue-11.00-amd64.iso

we use balena etcher tool to burn the ISO onto a USB stick, its a very straight forward process to burn the iso on a USB stick.

the tool can be found on https://etcher.balena.io/

now boot computer with the USB stick

make sure bios has been prepared to boot from USB see here

after booting you should see something like this

Select first item

check which disk to erase do

sfdisk -l

in this case we see /dev/sda... which is the USB stick we are booting from and /dev/nvme0n1 which is the internal nvme disk, this is the one we will have to empty

empty the disk

Be careful following command will erase your disk completely !!!

wipefs -a /dev/nvme0n1

Now your disk is empty, go to next step to boot Zero-OS