xen error: “you need to load the kernel first”
January 11th, 2012debian(lenny) 无端端换了grub2,整个grub的架构和配置都天翻地覆。 安装xen重启系统后,grub会出现下面的提示:
问题的原因是grub2没有load到xen真正的内核,如xen-3.2-1-amd64.gz,而是把vmlinuz-2.6.26-2-xen-amd64作为内核。
网上google了一下,试了几个方法都不行,grub2的语法似乎是有点问题,也没有时间去慢慢试了,机房的同事还在守着。
于是用了最简单的解决方法,使用apt安装grub Legacy 取代grub2即可。
即可。会提示与grub-pc由冲突,同意解决方案即可:
The following actions will resolve these dependencies:
Remove the following packages:
grub-pc
Score is 121
Accept this solution? [Y/n/q/?] Y
安装完后运行
update-grub
重启机器即可启动xen的内核。






