Every guide on the internet is wrong except this one. This is for drives up to 2TB.
- Make the partition table
fdisk /dev/sdx
o create a new empty MBR (DOS) partition table
n add a new partition
# accept all defaults
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Title</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| } | |
| html, body { | |
| height: 100%; |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "io" | |
| "log" | |
| "math/rand" | |
| "net/http" | |
| "os" |
| --- | |
| - hosts: all | |
| gather_facts: False | |
| tasks: | |
| - set_fact: | |
| myhosts: | |
| - 127.0.0.1 | |
| - 127.0.0.2 |