Comments (2)
幸运的是,我在红迪的一个五年前的帖子中找到了解决办法https://www.reddit.com/r/linux4noobs/comments/bj7ezk/genymotion_increase_internal_storage_space/
以下是我个人成功实现扩容的经历
扩容操作需要软件包 qemu-img
以及 android-tools
(adb)
首先找到对应虚拟机对应的虚拟磁盘,一般在 ~/.Genymobile/Genymotion/deployed/{你的虚拟机名称}/data.qcow2
扩容前请对该虚拟磁盘进行备份
执行命令qemu-img resize ~/.Genymobile/Genymotion/deployed/{你的虚拟机名称}/data.qcow2 50G
(调整为自己想要的大小)
接下来需要进入安卓的shell操作
启动Genymotion的虚拟机,确保对应的虚拟机的开发者模式中的adb调试打开
一般情况下执行adb devices
应当能看到
List of devices attached
127.0.0.1:6555 device
这样的输出
若连接不上且不知道对应的端口,请执行{Genymotion软件根目录}/gmtool admin list
查看,执行adb connect {ip}:{port}
连接上以后执行'adb shell'进入安卓终端,如同时连接了多个安卓设备,执行'adb -s 127.0.0.1:6555 shell这样的命令来指定连接 然后列出虚拟机当前挂载的分区
df -h`
输出类似于
Filesystem Size Used Avail Use% Mounted on
rootfs 1.9G 4.4M 1.9G 1% /
tmpfs 1.9G 328K 1.9G 1% /dev
tmpfs 1.9G 0 1.9G 0% /mnt
none 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/block/vda6 3.9G 0.9G 2.9G 26% /system
/dev/block/vdb1 232M 176K 232M 1% /cache
/dev/block/vdb3 13G 12G 148M 99% /data
/dev/block/vdc1 504M 16K 504M 1% /mnt/shared
/data/media 13G 12G 148M 99% /mnt/runtime/default/emulated
寻找被挂载在/data
的文件路径,即/dev/block/vdb3
执行'resize2fs /dev/block/vdb3 你应该看到类似于
The filesystem on /dev/block/vdb3 is now 13039360 (4k) blocks long.`这样的输出
然后重启虚拟机,就成功扩容到了64g
from azurlaneautoscript.
然而Genymotion似乎还是不支持nvidia的显卡加速(gtx960)
from azurlaneautoscript.
Related Issues (20)
- 请求增加当任务队列清空后可以关闭模拟器的选项
- 15圖使用腳本將會發生錯誤,進入關卡後無法順利執行 HOT 2
- 似乎alas能识别出来委托扫描错误的情况,能不能让它重新扫描并且取消自己刚刚错接的委托? HOT 2
- 扫不到委托这个bug还能出新变化啊 HOT 1
- 空邮件箱的邮件领取未加载完全就判断has_mail为真,导致卡在该页面
- 退役船太多会卡死
- I can't download the zip file for alas
- 15-4在驅逐完J8的敵人後,Alas不動作 HOT 4
- 刷紧急委托时,后排角色到达33级后继续出击 HOT 1
- 海图中当舰队与BOSS存在遮挡关系时无法正常运行 HOT 2
- 识别不到委托这个bug跟这些设定有关系吗? HOT 1
- 一直卡在委托哪里,重装后也是。 HOT 2
- 一直卡在委托哪里,重装后也是。
- 活动图被大龙卡住Walk timeout进入死循环并且不会触发报错机制
- maa增加错误推送设置
- 设置保存后显示错误
- 小游戏领游戏币页面卡住
- 模拟器无法连接 HOT 1
- 请求更新台服新活动
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurlaneautoscript.