1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-11-09 08:21:32 -05:00
This commit is contained in:
Tommy 2023-07-26 15:40:48 -07:00
parent 83b92ae181
commit e8b62e23cb
2 changed files with 6 additions and 1 deletions

View File

@ -20,9 +20,14 @@ cfdisk /dev/nvme0n1
cfdisk /dev/nvme0n2
```
![cfdisk](/images/cfdisk.png)
## Mirroring the ESP partition
__Skip this if you are not doing mirroring__
While the EFI specs do not support `mdadm`, we can setup mdadm with metadata v1.0, which will be put at the end of the parition and allows it to boot.
`mdadm --create /dev/md0 --level 1 --raid-disks --metadata 1.0 /dev/nvme0n1p1 /dev/nvme0n1p2`
```bash
mdadm --create /dev/md0 --level 1 --raid-disks --metadata 1.0 /dev/nvme0n1p1 /dev/nvme0n1p2
```

BIN
static/images/cfdisk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB