How I Installed CoreOS (Bare Metal)

1. Find an empty bare metal server. I’m using an MSI Windbox.
2. Build a Debian live bootable flash-drive.
3. Boot system in Debian, and login (user/live)
4. Run command:

wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install

5. Run command (Note: This will partition the HDD/SSD and install CoreOS, all data will be lost!):

sudo ./coreos-install -d /dev/sda -C stable

6. Create a file called ‘cloud-config.yml’ and the following minimum configuration:

#cloud-config
users:
 - name: core
   passwd: <your_hashed_password>

(Note: Passwd should be hashed, use one of the following tools):

1. mkpasswd --method=SHA-512 --rounds=4096
2. openssl passwd -1

7. Mount coreos filesystem and copy ‘cloud-config.yml’ file:

sudo mount /dev/sda6 /mnt
sudo cp -f cloud-config.yml /mnt/
sudo umount /mnt

8. Reboot!