# 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

![](img/balena.png)

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](1_prepare_bios.md)

![](img/usb_rescue.png)

after booting you should see something like this

Select first item

![](img/rescue2.png)

check which disk to erase do

```bash
sfdisk -l
```

![](img/sfdisk.png)

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 !!!

![](img/rescue_erase.png)

```bash
wipefs -a /dev/nvme0n1
```

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





