因项目需要,在ubuntu 12.04上安装xen 4.0.1,内核已经配置过了,之后编译的时候,先make,然后make install一直出现下述错误提示。
对xen安装不怎么懂,网上查了很久也找不到缘由,希望大家尽快帮忙解决一下啊。
*** Missing file: arch/x86/boot/vmlinuz
*** You need to run "make" before "make install".make[1]: *** [install] 错误 1
make: *** [install] 错误 2
试过“ cp arch/x86/boot/vmlinuz /boot/vmlinuz ” ,提示无法获取“arch/x86/boot/vmlinuz”的文件状态:没有那个文件或目录
对xen安装不怎么懂,网上查了很久也找不到缘由,希望大家尽快帮忙解决一下啊。
*** Missing file: arch/x86/boot/vmlinuz
*** You need to run "make" before "make install".make[1]: *** [install] 错误 1
make: *** [install] 错误 2
试过“ cp arch/x86/boot/vmlinuz /boot/vmlinuz ” ,提示无法获取“arch/x86/boot/vmlinuz”的文件状态:没有那个文件或目录
解决方案 »
- xshell5老是出现安装程序组件错误,好心人帮忙解决下
- linux kernel compiling
- ubuntu16.04关机后马上自动重启
- 如何利用Terminate和后台运行的应用程序进行通信
- linux重启后通过python下发 ip link命令失败,显示512
- 关于libssh2,登陆失败Authentication by password failed
- 已经安装了win7旗舰版,打算装双系统,现在用u盘安装,但是出了下面这个错,大佬给帮忙看看?
- ubuntu18中vm安装win7失败
- 一个iso镜像可以装两个centos系统吗
- 请教一下关于VMware装虚拟机的事
- 我是名linux驱动工程师,交流一下我的经历
- shell expect 执行错误时如何将错误的信息返回
谢谢提醒啊,我按照 http://blog.csdn.net/zhou191954/article/details/38981267 所示的方法安装,安装到第四步一直没有出现Xen内核的系统,文中的方法尝试了也没有效果,执行xm list 一直提示 ERROR:Can't find hypervisor information in sysfs ! 请问这到底是怎么回事啊
谢谢提醒啊,我按照 http://blog.csdn.net/zhou191954/article/details/38981267 所示的方法安装,安装到第四步一直没有出现Xen内核的系统,文中的方法尝试了也没有效果,执行xm list 一直提示 ERROR:Can't find hypervisor information in sysfs ! 请问这到底是怎么回事啊to be honest with you, I will not recommend Xen (not commercial XenServer) to anyone due to its poor performance and compatibility issues...I am not sure why you have to use xen...why not KVM?As for installing it, if you could, you may want to switch from ubuntu to centos. The reason is simple: RHEL/CentOS has better support on Xen from day 1. Although RHEL dropped Xen () on version 6, it's not difficult at all to find a third party repository having xen enabled kernel built for your CentOS 6.XIn terms of compiling xen kernel, I am not interested at all because it's simply wasting your time...
谢谢提醒啊,我按照 http://blog.csdn.net/zhou191954/article/details/38981267 所示的方法安装,安装到第四步一直没有出现Xen内核的系统,文中的方法尝试了也没有效果,执行xm list 一直提示 ERROR:Can't find hypervisor information in sysfs ! 请问这到底是怎么回事啊
to be honest with you, I will not recommend Xen (not commercial XenServer) to anyone due to its poor performance and compatibility issues...I am not sure why you have to use xen...why not KVM?As for installing it, if you could, you may want to switch from ubuntu to centos. The reason is simple: RHEL/CentOS has better support on Xen from day 1. Although RHEL dropped Xen () on version 6, it's not difficult at all to find a third party repository having xen enabled kernel built for your CentOS 6.XIn terms of compiling xen kernel, I am not interested at all because it's simply wasting your time...
多数linux发行版已经在逐渐减少对xen的支持。装了 xen 内核后如果提示没有使用xen内核,可能是启动时没选 xen 内核。编译内核时不建议用 make install。
make 成功后会有生成 arch/x86_64/boot/bzImage 或 arch/x86/boot/bzImage,手动复制 /boot 目录,PS: bzImage 和 vmlinuz 是一个东东,名字不同而已。
复制好后用 make modules_install 安装模块。
再调整启动参数使用新内核。
如果有使用initramfs,还得更新 initramfs。