This commit is contained in:
2024-02-04 09:30:42 +03:00
parent 7772dba774
commit c27f202368
56 changed files with 710 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
## boot from USB
Most often a computer does not boot from USB but from local HDD or SSD (disk), to change this you need to go into the BIOS
Typically to go in bios you need to reboot your computer and press F1 or del button while booting, don't mind keep on pushing those 2 buttons till you see a screen like the following
![](img/bios1.png)
This shows the computer access the bios.
Look for a screen which lets you configure the boot options
![](img/bios_boot.png)
configure the screen to be something like
![](img/bios_boot2.png)
make sure the USB key, disk ... all get priority on internal HDD,SSD or NVME disk.
this will make sure we can boot from a USDB disk.
If you see something like above it means the computer will boot from USB first.
![](img/bios_save.png)
Don't forget to save your changes, see screenshot and now the computer will reboot.

View File

@@ -0,0 +1,54 @@
# 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB