How do I install CoreOS on Linode?

2014-08-06 03:13:26 +08:00
 suifengdaren
Rebuild your Linode using Debian 7.5 x64 and set the size to 1GB (we need this partition for GRUB) Set the root password to anything, as you won't ever boot Debian again.

Create a raw disk, spanning the rest of the Linode called 'CoreOS'; add this to the profile in between the swap and Debian disk.

Boot your Linode and SSH into it as root.

wget the CoreOS installer to a directory on your debian install. Create a cloud-config.yaml with your private key (directions here)

Run ./coreos-install -d /dev/xvdb -c cloud-config.yaml

After the script succeeds, run the following:

mkdir /mnt/core-boot
rm -rf /boot/grub
mv /mnt/core-boot/boot/grub /boot
Now run vi /boot/grub/menu.lst. Change all instances of root (hd0,0) to root (hd1,0) On the next boot, you can log into Core by running ssh core@<yourserver-ip>. The SSH key you added before will allow you to log in.
6502 次点击
所在节点    云计算
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/126327

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX