1. Hyper-V

在hyper-v中安装了ubuntu13.04,运行很好,使用起来的效果感觉比vmware要舒服。安装变异xen的内核也没有问题,可以正常的安装,update-grub之后也可以在grub启动项中发现带有xen内核的ubuntu启动选项,但是在启动之后无法进入系统,总是提示alert! /dev/disk/by-uuid/########### does not exist ,后来根据

http://blog.csdn.net/luohsh1/article/details/8657921

这篇文章里面介绍的方法来设置,重新启动之后提示 ALERT! /dev/sda1 does not exist. Dropping to a shell!  后面实在是不知道该怎么去处理了,只好放弃。后面上网稍微看了看hyper-v的架构,和xen十分类似,不知道是不是这个原因导致的。

如果有人看到这个地方,知道怎么回事的话请告知。

2. VmWare

在vmware中安装ubuntu13.04后,安装xen正常编译运行,安装方法如下:

Install dependencies

sudo apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif

sudo apt-get install texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial

sudo apt-get install make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev (we dont need libjpeg62-dev since libjpeg8-dev is already installed)

sudo apt-get install iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev

sudo apt-get install gettext

sudo apt-get install libpixman-1-dev

sudo apt-get install gcc-multilib

get xen4.3 source from http://www.xenproject.org/downloads/xen-archives/supported-xen-43-series/xen-430.html if your UI doesn't work well, use 'wget' or something else to download it

if using Chinese, these are to be added. It is recommended that you use English at the very beginning.

sudo export LC_ALL=C

sudo export LANG=C

once you have downloaded the source code, unzip it to some directory, for example "/home/yourname/myxenfile", then 'cd' to this directory and do the following

sudo ./configure --libdir=/usr/lib (setting the lib path while configuring. otherwise you may get the "*.so file not found" issue)

sudo make dist

sudo make install

sudo update-grub

sudo update-rc.d xencommons defaults 19 18

sudo update-rc.d xend defaults 20 21

sudo update-rc.d xendomains defaults 21 20

sudo update-rc.d xen-watchdog defaults 22 23

sudo reboot

choose xen kernel at the grub menu when booting

sudo xl list

if everything goes OK, you'll see dom0 is running

if your ubuntu is running within vmware, you may find the grub menu missing and can not choose xen kernel.

you can press the "Shift" button during the restart process, then you will see the grub menu. i.e., is your xen kernel the 1st(rank=0), 2nd(rank=1) or 3rd(rank=2) in the menu list? I guess most people will have rank=2 just as I do

sudo vi /etc/default/grub

you open this file and see GRUB_DEFAULT=0. Change it until it looks as GRUB_DEFAULT=2

sudo update-grub

OK, we have set your default boot to xen kernel. reboot and use 'sudo xl list' to see what happens

Tips: backup your vm before modifying grub if you are in vmware!!!

Hyper-V和vmware在虚拟机中安装xen总结的更多相关文章

  1. VMware workstation 虚拟机中安装乌班图及其兼容性问题

    之前我在虚拟机中安装乌班图,是先安装好虚拟机,然后将预先下载好的乌班图镜像文件导入安装,这样安装起来还是有些繁琐的,中间要设置好多东西.今天领导给我拷了个虚拟机,还有乌班图的安装文件,是这样的. 对于 ...

  2. Vmware虚拟机中安装centos,并实现联网

    1 安装所需要的软件 vmware workstation 12 永久激活码:5A02H-AU243-TZJ49-GTC7K-3C61N CentOS-7-x86_64-Minimal-1708 2 ...

  3. 如何在VMware ubuntu linux虚拟机中安装VMware tools

    VMware Tools可以实现在主机<->虚拟机之间拷贝文字.文件等功能.本文讲述如何在VMware ubuntu linux虚拟机中安装VMware tools. 测试环境: VMwa ...

  4. 手把手教你在VMware虚拟机中安装Ubuntu14.04系统

    在VMware中创建完虚拟机之后,一般需要给虚拟机安装系统,比较受青睐的系统有Ubuntu和Centos,关于Centos系统的安装之前已经写过了,感兴趣的小伙伴可以戳这篇文章:靠谱的centos7. ...

  5. 如何在VMware虚拟机中安装CentOS6.7系统(上篇)

    之前给大家分享了在VMware中如何创建CentOS虚拟机,今天给大家分享一下如何在虚拟机中安装CentOS系统,以CentOS6.7系统为例,其他的系统版本也可以参考该教程进行类似处理,具体的流程如 ...

  6. 如何在VMware虚拟机中安装CentOS6.7系统(下篇)

    上一篇文章讲到了CentOS6.7的安装教程,安装步骤到时区选择这块了,这篇文章接上篇文章,继续讲述CentOS6.7的安装教程,直至安装完成. 17.设置root的登录密码,日后登录虚拟机,用户名就 ...

  7. Linux环境搭建-在虚拟机中安装Centos7.0

    最近在空闲时间学习Linux环境中各种服务的安装与配置,都属于入门级别的,这里把所有的学习过程记录下来,和大家一起分享. 我的电脑系统是win7,所以我需要在win7上安装一个虚拟机-VMware,然 ...

  8. VMware Workstation虚拟机中的Linux通过NAT模式共享上网配置教程

    VMware Workstation虚拟机中的Linux通过NAT模式共享上网配置教程 在VMware Workstation虚拟机下面,Linux虚机要上网,一般是桥接模式,但我自己的电脑上网的环境 ...

  9. 在虚拟机中安装CentOS7

    在虚拟机中安装CentOS7 听语音 | 浏览:17352 | 更新:2014-10-31 12:14 1 2 3 4 5 6 7 分步阅读 一键约师傅 百度师傅最快的到家服务,最优质的电脑清灰! 百 ...

随机推荐

  1. Quartz数据库脚本

    QRTZ_CALENDARS 以 Blob 类型存储 Quartz 的 Calendar 信息 QRTZ_CRON_TRIGGERS 存储 Cron Trigger,包括 Cron表达式和时区信息  ...

  2. Raid 技术简介

    独立硬盘冗余阵列(RAID, Redundant Array of Independent Disks),旧称廉价磁盘冗余阵列,简称硬盘阵列.其基本思想就是把多个相对便宜的硬盘组合起来,成为一个硬盘阵 ...

  3. INSTALL_FAILED_SHARED_USER_INCOMPATIBLE的问题

    eclipse编译出来的apk,安装时报出INSTALL_FAILED_SHARED_USER_INCOMPATIBLE的错误. 原因:apk的AndroidManifest.xml中声明了andro ...

  4. rbenv配置

    git clone https://github.com/rbenv/rbenv.git ~/.rbenv # 用来编译安装 ruby git clone git://github.com/sstep ...

  5. 别人的dubbo学习笔记

    本文转载自:http://blog.csdn.net/tao_qq/article/details/49952229 学习dubbo,开始做一些笔记. 1> 启动dubbo-admin模块的时候 ...

  6. 分布式锁之三:mysql实现-待整理

    下面我们来看下开源dubbo推荐的业界成熟的zookeeper做为注册中心, zookeeper是hadoop的一个子项目是分布式系统的可靠协调者,他提供了配置维护,名字服务,分布式同步等服务.对于z ...

  7. AngularJS:过滤器

    ylbtech-AngularJS:过滤器 1.返回顶部 1. AngularJS 过滤器 过滤器可以使用一个管道字符(|)添加到表达式和指令中. AngularJS 过滤器 AngularJS 过滤 ...

  8. 接口规范,js处理json,php返回给ajax的数据格式

    ajax异步获取php数据. 一般php会在后台处理请求,并返回结果给前端. 必须是echo的方式,不然ajax获取不到. 返回的类型包括,字符串,数字,json. 最常用的就是json. 返回后,前 ...

  9. Oracle数据库Where条件执行顺序

    由于SQL优化起来比较复杂,并且还会受环境限制,在开发过程中,写SQL必须必须要遵循以下几点的原则: 1.ORACLE采用自下而上的顺序解析WHERE子句,根据这个原理,表之间的连接必须写在其他WHE ...

  10. Dev控件类似于ComBox的DropDownControl用法

    dropDownButton1.DropDownControl= CreateDXPopupMenu(); private DXPopupMenu CreateDXPopupMenu() { DXPo ...