I want to install CoreOS to the disk of an dedicated server, from a USB stick.
In CoreOS's documentation I found the Installing to Disk guide that requires another Linux set up and running as base. Unfortunately, I do not have that. Instead, I'm running OS X on my MacBook Pro, and I'd like to run installation of CoreOS using a USB stick.
So what I'm thinking of looks like this:
- Prepare a USB stick with CoreOS installer on MacBook Pro.
- Attach USB stick to Intel NUC and boot the machine.
- Wait until CoreOS has been installed, then remove USB stick and reboot Intel NUC.
Is there some way to get this working? If so, how do I do that? If not, what's the easiest alternative?
Assuming you have physical access to the machine (keyboard + screen), you can install CoreOS from any Linux LiveCD. You could create a bootable Ubuntu USB on OSX, then boot to that, and then use the CoreOS install script from the Ubuntu live boot.
Once you have logged in, it would look something like:
But the process is documented in a few places, try here or here.
Copy the CoreOS ISO to USB using dd.or a similar tool.
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
Boot it, and run coreos-install directly by following the Install to disk instructions found on the CoreOS website.