Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9168861
  • 博文数量: 1669
  • 博客积分: 16831
  • 博客等级: 上将
  • 技术积分: 12594
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-25 07:23
个人简介

柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!

文章分类

全部博文(1669)

文章存档

2023年(4)

2022年(1)

2021年(10)

2020年(24)

2019年(4)

2018年(19)

2017年(66)

2016年(60)

2015年(49)

2014年(201)

2013年(221)

2012年(638)

2011年(372)

分类: 系统运维

2012-10-26 18:01:32

CentOS6.0安装xen-tools失败:Fatal error: Failed to determine Linux distribution and version  

2012-10-25 12:40:44|  分类: 虚拟化-XenServer |  标签: |字号 

用户在安装CentOS 6的时候选择的模板为CentOS6.0(64-bit)(experimental),安装完centos6.0后在安装xen-tools的时候报错:Fatal error: Failed to determine Linux distribution and version

        查看xenserver6.0 Virtual Machine Installation Guide
         
         CentOS只支持到5.5,6.0并不在支持列表当中,是否有其他途径安装xen-tools呢,答案是可以的:
1.       在Xencenter里光驱换成xs-tools.iso
2.       通过SSH登录CentOS6.0
     #mkdir /mnt/xentools
    #mount /dev/xvdd /mnt/xentools
    #cd /mnt/xentools/Linux
     # rpm -ivh xe-guest-utilities-xenstore-6.0.0-743.x86_64.rpm
     # rpm -ivh xe-guest-utilities-6.0.0-743.x86_64.rpm
查看虚拟机器此时状态,发现xentools安装成功。。




1.在Xencenter里光驱换成xs-tools.iso
2.登陆SSH:
[root@ns0 ~]# cd /mnt
[root@ns0 mnt]# ls
[root@ns0 mnt]# mkdir xs-tools
[root@ns0 mnt]# mount /dev/xvdd /mnt/xs-tools/
mount: block device /dev/xvdd is write-protected, mounting read-only
[root@ns0 mnt]# cd /mnt/xs-tools/Linux/
[root@ns0 Linux]# bash install.sh
Detected `CentOS release 5.2 (Final)' (centos version 5).
The following changes will be made to this Virtual Machine:
* packages to be installed/upgraded:
- kernel-xen-2.6.18-53.1.13.el5.xs4.1.0.24.x86_64.rpm
- xe-guest-utilities-4.1.0-257.x86_64.rpm
Continue? [y/n] y
Preparing...########################################### [100%]
1:xe-guest-utilities########################################### [100%]
Preparing...########################################### [100%]
package kernel-xen-2.6.18-92.el5 (which is newer than kernel-xen-2.6.18-53.1.13.el5.xs4.1.0.24) is already installed
You should now reboot this Virtual Machine.
重启完成安装。
阅读(1422) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~