搜档网
当前位置:搜档网 › 虚拟机玩转Android-x86

虚拟机玩转Android-x86

虚拟机玩转Android-x86
虚拟机玩转Android-x86

虚拟机玩转Android-x86

本文以Android-x86 4.3版为例(镜像文件android-x86-4.3-20130725.iso)。并非所有Android-x86版本都能正常上网,笔者之前安装的android-x86-4.0-eeepc-20111209.iso,无论网卡怎么设置,在终端模拟器里用命令“ip a”都看不到网卡,无法上网。虚拟机软件用VMware Workstation或Oracle VM VirtualBox 均可,本文以VMware为例。

VMware虚拟机安装Android-x86 4.3详细图文攻略

打开VMware Workstation,新建虚拟机。可用标准配置(默认的网卡类型是NAT)。选择iso文件,检测到是FreeBSD,此步骤也可选择“以后再安装操作系统”,下一步则要选系统版本,选“FreeBSD”或“Other”均可。

然后指定硬盘容量,笔者用的3G。下一步,新建虚拟机完成。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

开机从光盘启动了,开始安装Android-x86,选择第四项“Installation - Install Android-x86 to

harddisk”。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

配置分区。此时没有硬盘分区,选择“Create/Modify partitions”进入分区管理界面。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

选择“New”新建分区。

选择“Primary”系统分区。输入分区大小,直接回车。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

选择“Bootable”设置为启动分区。

选择“Write”开始分区,输入“yes”确认。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

分区完成,选择“Quit”退出。

此时回到了刚才的分区配置界面,选择第一个,刚分的区sda1。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

用Linux最常用的文件系统(即分区格式):ext3。“Yes”确认开始格式化。

格式化完成后,提示“Do you want to install boot loader GRUB?”,点“Yes”。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway,

highway, waterway and air four modes of passenger and freight transport, there

接着又提示“Do you want to install /system directory as read-write?”,选“Yes”或“No”都可以。

终于开始Installing了,很快就完成了。与老版本不同的是,4.3版无需配置SD卡。Installing完

成后选择“Run Android-x86”开机即可。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas;

Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

开机画面,随后出现了Android 徽标的闪动。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the

area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

第一次进系统时需要进行一系列的设置:设置系统语言为“中文(简体)”,配

置WLAN、Google 帐

户和服务(可跳过),配置 Google 位置信息,等等。

打开浏览器,直接就能上网了。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the

city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

如有不能上网的童鞋,请在“关于平板电脑”->“状态信息”里查看有无IP

地址,如图。没有IP

地址的话,就表示Android-x86未识别虚拟机的网卡,肯定是无法上网的。请在VMware虚拟机设置

里确保网卡类型是NAT。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main

channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

Android-x86的使用

(1) 打开浏览器发现输不了中文,

第一件事就是安装中文输入法。Android-x86 4.3装中文输入法很头痛,笔者

试了google拼音、百

度输入法PAD版,都不行,一打字就提示“已停止运行”。最后终于找到了一个能用的——讯飞输

入法Pad版,V4.0.1392版亲测可用,讯飞输入法界面如图。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the

city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

(2) 进系统还没解锁就黑屏了,无法唤醒屏幕,

如果进系统没迅速解锁而进入黑屏,请按键盘上的菜单键(右Windows徽标键

和右Ctrl中间的那

个键)唤醒。进入系统后可在“显示”里把休眠等待时间设长点(貌似不能取消休眠)。

(3) 屏幕分辨率太小怎么办,

进入Debug mode命令行模式,编辑文件/mnt/grub/menu.lst:

# vi /mnt/grub/menu.lst

在“title Android-x86 4.3-test”下一行的“kernel /android-4.3-

test/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86

video=-16 SRC=/android-4.3-test”末尾添加vga参数。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

vga参数可以写:vga=0x***。“0x”中第一个是数字“0”、第二个是字母“x”,它们表示16

进制。后面的“***”填下图的数字,对应一种分辨率。例如填vga=0x317表

示选择了1024*768*16

的分辨率。

按“i”键进入编辑模式,通过键盘的上下左右键移动光标到想要的位置,找

到“……

SRC=/android-4.3-test”末尾,按空格,输入vga=0x317,完毕后按键盘“Esc”键,此时留意末行,然

后键入“:wq”(前面有冒号“:”,整句意为保存退出),回车,就完成了,如图。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

如果修改时提示read only,则要以rw模式重新挂载分区,然后再编辑。 # mount -o remount,rw /mnt

编辑完后可以查看menu.lst是否修改成功:

# cat /mnt/grub/menu.lst

重启后就可看到分辨率的变化了。

(4) app应用出现屏幕旋转怎么办,

很多时候系统自带的锁定屏幕方向功能并不管用,这时需要安装一个强制屏幕旋转软件,如Orientation Control,将“定向开关”设置为“横向”即可。

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and

General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, there

相关主题