pv-grub(GRUBブートローダをXen mini-osカーネルに移植したもの)を使うことで、Linodeインスタンスでカスタムカーネルや代替OSを起動することができるようになりました。 基本的には、Linodeはpv-grubカーネルで起動し、menu.lstと関連するカーネルファイルを探し、そのカーネルを実行します。
この機能は非常に素晴らしいものですが、これは間違いなく、そこにいる調整者のためのものです。 私たちは、pv-grub 自体のサポートを超えて、カスタム構成や代替オペレーティングシステムのサポートを提供することはありません。 何か特別なニーズがある場合や、単にいろいろ試してみたい場合を除いては、私たちのカーネルを実行することをお勧めします。
コメント (9)
[…] Posted on December 24, 2008 – 8:19am I reckon the logo on Linode Wiki needs a change. Via Linode’s latest blog post, it is now possible to roll your own operating system with Linode’s pv-grub support. […]
[…] Linode Blog » Custom kernels with pv-grubThis would be enough to run selinux or app-armor on linode now. […]
How stable is that? Is it stable enough for a production system?
How stable is pv_grub? pv_grub boots your own kernel, and then it’s done, so it has little to do with stability. I think the question is: how stable the custom kernel that you’ve provided is.
Well, the reason I’m asking is because I have experienced stability problems with vmware’s CONFIG_VMI kernel option in an otherwise very stable kernel.
In case anyone else is thinking of going down the same path I tried, the CentOS 5.2 kernel-xen package wasn’t built with all of the options specified on the linked wiki page, so it won’t work with pv-grub without a custom compile (unless I did something wrong).
That’s great news. I’m going to play around with this a bit.
I suspect I won’t be able to get it to do what I ultimately want: boot an OpenSolaris (2008.11) instance. I’ve been able to get OpenSolaris running well on XenServer, but I can’t use pv_grub. The root filesystem is ZFS, so the script can’t reach in and pull out the menu.lst file unless it knows how to deal with that FS.
In my experience, I have to use the PV-args and PV-kernel parameters in XenServer to make it work (see my website for details). If there’s a way that you can expose those configuration items, that would be awesome.
I recently switched to Linode because of this. I’ve been running Gentoo with my own custom kernel for a few days now and it’s working great. This feature is awesome.
I’m in the process of switching from slicehost because of this.