Install into VPS

178 views
Skip to first unread message

Donald Gordon

unread,
Apr 21, 2014, 5:13:23 AM4/21/14
to coreo...@googlegroups.com
Hi

I'm trying to install CoreOS into a KVM VPS managed by SolusVM.

I managed to boot an iPXE ISO, and boot CoreOS off the internet -- but the resulting machine couldn't see a /dev/sda, only /dev/sr0 (the iPXE image).  Does the PXE image have a custom kernel that is missing virtio support?

Is there a recommended way to perform this sort of install?  I could try booting off a rescue CD ISO, converting the QEMU CoreOS image to a flat file, and dd-ing that to the disk.

Regards

Donald

Michael Marineau

unread,
Apr 21, 2014, 11:24:39 AM4/21/14
to coreos-dev

On Apr 21, 2014 2:13 AM, "Donald Gordon" <d...@dis.org.nz> wrote:
>
> Hi
>
> I'm trying to install CoreOS into a KVM VPS managed by SolusVM.
>
> I managed to boot an iPXE ISO, and boot CoreOS off the internet -- but the resulting machine couldn't see a /dev/sda, only /dev/sr0 (the iPXE image).  Does the PXE image have a custom kernel that is missing virtio support?

Yes, the kernel includes virtio but virtio block devices aren't called sd*, those are SCSI devices. Virtio is vd* I think, check /proc/partitions.

>
> Is there a recommended way to perform this sort of install?  I could try booting off a rescue CD ISO, converting the QEMU CoreOS image to a flat file, and dd-ing that to the disk.

Well, the recommended way is to start from a CoreOS disk image directly but if your provider doesn't support managing disk images directly then yes you are stuck with booting to a rescue system or attaching the volume to another host to write an image to it. The coreos-install script can help with this step. No need to start from the qemu image, just use the plain coreos_production_image.bin so you don't need to convert and it is smaller so you don't need to write as much. The filesystem will be resized to fill your disk on boot.

http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/

Reply all
Reply to author
Forward
0 new messages