-
Download and install VirtualBox.
-
Download the Fedora CoreOS ISO
-
Create a new VM in VirtualBox
- For the OS, Other Linux, 64-bit should be fine
- Give the VM at least 2GB (depending on your physical memory).
- Create a disk of whatever size you want. I made a VMDK file that could expand dynamically up to 50GB.
-
Mount the ISO in the VM
- Right click on the VM and click settings
- Go to the Storage tab
- Click on the empty disk on the left
- Click the disk icon next to IDE Secondary on the right
- Choose the ISO
- Check the Live CD/DVD box
- Go to the Network tab
- Make sure Bridge is selected
-
Start the VM. It should boot into CoreOS to a core@localhost prompt.
-
Run
sudo fdisk -l
. You should have a /dev/sda device. That's the VM's disk. -
Create an Ignition file. (If you are unsure how to do that, check the Fedora Docs.)
-
Upload your Ignition file to an HTTP server somewhere that the VM can access.
-
Make sure your network adapter within the VM is enabled/configured (
sudo nmcli
orsudo nmtui
). -
Use
curl
to download your Ignition file to the VM.curl <url to ignition file> > <file name>.ign
-
Use
coreos-installer
to install to the VM's disk with your keys:sudo coreos-installer install /dev/sda --ignition-file <path to .ign file> --copy-network
-
Shut down the VM:
shutdown now
. -
Edit the VM settings again and remove the ISO from the machine.
-
Power it up again. You should end up at a login prompt displaying an assigned IP address.
-
SSH into the VM by using that IP address:
PS C:\Users\user> ssh core@<ip address> The authenticity of host '<ip address> (<ip address>)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '<ip address>' (ECDSA) to the list of known hosts. Fedora CoreOS 32.20201104.3.0 Tracker: https://github.com/coreos/fedora-coreos-tracker Discuss: https://discussion.fedoraproject.org/c/server/coreos/ [core@localhost ~]$
-
-
Save mac641/7b4e24ad0dc0c2cac281ca6b8b48eb07 to your computer and use it in GitHub Desktop.
Installing Fedora CoreOS on VirtualBox on Windows 10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment