正在加载...
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]

破解Xen虚拟机密码

[ 2011/07/19 15:25 | by selboo ]
查看Xen镜像文件的位置:

more /etc/xen/selboo

找到类似以下一句话:
disk = ['file:/opt/disk/selboo.img,sda1,w']
说明 镜像文件的位置在 /opt/disk/selboo.img

关闭虚拟机:
xm  shutdown selboo

2.进行挂载镜像文件:
首先查看文件基本信息:
fdisk /opt/disk/selboo.img –l   #得知此镜像的簇大小为512
fdisk –l /opt/disk/selboo.img

/opt/disk/selboo.img1 : start=       63, size=   208782, Id=83, bootable
/opt/disk/selboo.img2 : start=

Xen 下安装 Linux

[ 2010/03/01 18:29 | by selboo ]
用户手册 Xen v3.0 http://selboo.com.cn/book/Xen3man/
官网手册 http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/zh-CN/Virtualization/index.html

重建一个10G 硬盘
[root@localhost ~]# dd if=/dev/zero of=/home/xenlinux/centos-xen bs=1M count=10240

开始安装
[root@localhost boot]# virt-install
What is the name of your virtual ma
Tags: , ,

Centos Xen 安装

[ 2010/03/01 18:15 | by selboo ]
配置 yum
[root@localhost kernels]# vi /etc/yum.repos.d/1.repo
[centos]
baseurl=file:///mnt
enabled=1

修改 /etc/yum.conf 下的 gpgcheck=1  为 gpgcheck=0

挂在镜像
mount -o loop /iso/CentOS-5.3-x86_64-bin-DVD.iso /mnt/

安装 xen
[root@localhost kernels]# y
Tags: , ,
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]