...
35
dar1/2_prepare_computer/1_prepare_bios.md
Normal 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
|
||||
|
||||

|
||||
|
||||
This shows the computer access the bios.
|
||||
|
||||
Look for a screen which lets you configure the boot options
|
||||
|
||||
|
||||

|
||||
|
||||
configure the screen to be something like
|
||||
|
||||
|
||||

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

|
||||
|
||||
Don't forget to save your changes, see screenshot and now the computer will reboot.
|
||||
|
||||
|
54
dar1/2_prepare_computer/2_empty_disk.md
Normal 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
|
||||
|
||||

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

|
||||
|
||||
after booting you should see something like this
|
||||
|
||||
Select first item
|
||||
|
||||

|
||||
|
||||
check which disk to erase do
|
||||
|
||||
```bash
|
||||
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 !!!
|
||||
|
||||

|
||||
|
||||
```bash
|
||||
wipefs -a /dev/nvme0n1
|
||||
```
|
||||
|
||||
Now your disk is empty, go to next step to boot Zero-OS
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
dar1/2_prepare_computer/img/balena.png
Normal file
After Width: | Height: | Size: 867 KiB |
BIN
dar1/2_prepare_computer/img/bios1.png
Normal file
After Width: | Height: | Size: 522 KiB |
BIN
dar1/2_prepare_computer/img/bios_boot.png
Normal file
After Width: | Height: | Size: 684 KiB |
BIN
dar1/2_prepare_computer/img/bios_boot2.png
Normal file
After Width: | Height: | Size: 679 KiB |
BIN
dar1/2_prepare_computer/img/bios_save.png
Normal file
After Width: | Height: | Size: 575 KiB |
BIN
dar1/2_prepare_computer/img/rescue2.png
Normal file
After Width: | Height: | Size: 522 KiB |
BIN
dar1/2_prepare_computer/img/rescue_erase.png
Normal file
After Width: | Height: | Size: 708 KiB |
BIN
dar1/2_prepare_computer/img/sfdisk.png
Normal file
After Width: | Height: | Size: 599 KiB |
BIN
dar1/2_prepare_computer/img/usb_rescue.png
Normal file
After Width: | Height: | Size: 801 KiB |