虚拟机安装 Android x86
- 杂类
- 2020-04-26
- 73热度
- 0评论
启动虚拟机。
启动后会显示此页面,选择第三个(如果显示的页面有所不同,请根据内容做判断)
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891750.png)
选择第一项回车,如图:
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891750-1.png)
选择NO回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891751.png)
选择NEW回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891751-1.png)
选择Primary在回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891751-2.png)
保持默认直接回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891752.png)
新建了主分区后需要激活分区才能启动,也就是写磁盘引导信息,选择“Bootable”然后回车。“sda1”的Flags就是“Boot”。
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891752-1.png)
选择Write在回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891752-2.png)
输入yes在回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891753.png)
然后选中“Quit”然后回车,退出分区
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891753-1.png)
选择 “sda1”,即第一块硬盘的第一个分区,然后用“Tab”键选中“OK” 后回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891753-2.png)
这一步安装程序要我们选择要格式化的文件系统类型,选择ETX4,选OK回车下一步
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891753-3.png)
选择Yes,回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891753-4.png)
选择Yes,回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891754.png)
选择Yes,回车
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891754-1.png)
接下来会自动安装系统,直到安装完成,我们选择重启即可
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891754-2.png)
其实系统已经安装完成,但是我们发现重启之后是进不了系统的,出现黑屏,或者以下这种提示
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891755.png)
所以我们还需要进一步设置,需要先关闭虚拟机,之后在开机,开机选择第二项回车,进入debug模式
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891755-1.png)
回车输入才下命令,以 RW 模式重新挂载分区
mount -o remount,rw /mnt
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891755-2.png)
编辑文件:
vi /mnt/grub/menu.lst
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891755-3.png)
按i,进入编辑模式,在第一个启动项,quiet后面加入nomodeset,如图:
![](http://note.diy.ba/wp-content/uploads/2020/04/1587891756.png)
nomodeset不加载任何显卡驱动模式
按esc键取消编辑模式,输入:wq回车保存并退出,重启虚拟机即可。
重启之后就可以进入系统了。
提示: 如果安装app后闪退,在虚拟机的终端中运行enable_houdini命令。
Vim复制一整行和复制多行 1、复制 1)单行复制,在命令模式下,将光标移动到将要复制的行处,按“yy”进行复制; 2)多行复制,在命令模式下,将光标移动到将要复制的首行处,按“nyy”复制n行;其中n为1、2、3……
2、粘贴 在命令模式下,将光标移动到将要粘贴的行处,按“p”进行粘贴
3、删除 在命令模式下,将光标移动到将要删除的行处,按“dd”进行删除
版权声明:本文为CSDN博主「旷野历程」的原创文章 原文链接:https://blog.csdn.net/xhaimail/java/article/details/101020042