feat: 更新安卓虚拟机开设指南

This commit is contained in:
spiritlhl
2025-05-10 10:19:03 +00:00
parent 89add8b7c6
commit abe68d812e
96 changed files with 495 additions and 57 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@@ -6,7 +6,7 @@ outline: deep
## Android System Image Download
Android system version 9 and earlier image download links:
Download links for Android system version 9 and earlier:
International
@@ -14,19 +14,19 @@ https://www.fosshub.com/Android-x86.html
https://sourceforge.net/projects/android-x86/files/
China
Domestic (China)
https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/
Android system version 10 and later new image download links:
Download links for Android system version 10 and later:
https://blissos.org/index.html#download
## Visual Machine Setup
## Virtual Machine Setup
### Setting up Android Virtual Machine with Android Version 9 and Earlier Images
### Setting up an Android Virtual Machine with version 9 and earlier images
This guide demonstrates using
This guide demonstrates using:
https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/71931/android-x86_64-9.0-rc2.iso
@@ -34,47 +34,51 @@ as an example
![1](images/a1.png)
#### Template Setup
#### Template Configuration
Create a virtual machine with VMID `100` and select the corresponding storage disk
Create a virtual machine with VMID ```100``` and select the corresponding storage disk
![2](images/a2.png)
Select the Android image, then choose `Linux` for `Type` and select the option containing version 2.6 for `Version`
Select the Android image, then choose ```Linux``` for ```Type``` and choose an option with version 2.6 for ```Version```
![3](images/a3.png)
Select `Vmware compatible` for `Graphic card`, other options as shown in the default image
Select ```Vmware compatible``` for ```Graphic card```, other options are default as shown
![4](images/a4.png)
Select `SATA` for disk format, allocate disk size as needed (recommended at least 30G)
Choose ```SATA``` for disk format, allocate at least 30GB of disk space (size can be chosen based on your needs)
![5](images/a5.png)
Select `host` for CPU type. If your host machine doesn't support nested virtualization, please select `qemu64`, although success is not guaranteed in this case
CPU count should be at least 2 cores
If your host machine supports nested virtualization, choose ```host``` for CPU type (verified to work)
If your host machine doesn't support nested virtualization, choose ```qemu64``` for CPU type, and after creating the template, go to ```Options``` and uncheck ```KVM hardware virtualization``` before starting the virtual machine (no guarantee that system initialization will work properly)
![6](images/a6.png)
Allocate at least 4G of memory, enter at least `4096`
Memory should be at least 4GB, enter at least ```4096```
![7](images/a7.png)
Select `vmbr1` for bridge binding, choose `VirtIO (paravirtualized)` for `Model`, and uncheck the `Firewall` option
Select ```vmbr1``` for the network bridge, choose ```VirtIO (paravirtualized)``` for ```Model```, and uncheck ```Firewall```
![8](images/a8.png)
After clicking the continue button, the template is successfully created. You need to manually click start and enter the VNC interface
After clicking the continue button, the template is successfully created. You need to manually start it and enter the VNC interface
![9](images/a9.png)
#### System Init
#### System Installation
After entering the boot screen, select the option starting with `Installation`
After entering the boot menu, select the option starting with ```Installation```
![10](images/a10.png)
Next, you need to create and write to the disk. If you can't select it, press the 'c' key on the keyboard to select it
Then you need to create disk partitions. If you can't select it, press the keyboard button 'c' to select it
![11](images/a11.png)
@@ -82,55 +86,55 @@ Choose not to use GPT format
![12](images/a12.png)
When the blank disk is displayed, select `New`
When the empty disk is displayed, select ```New```
![13](images/a13.png)
Select partition type `Primary`
Select partition type ```Primary```
![14](images/a14.png)
You'll be prompted to allocate space, just press Enter to use all available space
Then you'll be prompted to specify the size of the space. Just press Enter to use all available space
![15](images/a15.png)
Then select `Flags`, move to `Bootable`, press Enter until `Boot` is displayed under `Flags`
Then select ```Flags```, move to ```Bootable```, press Enter until ```Boot``` appears under ```Flags```
![16](images/a16.png)
Then move to `Write` and press Enter to write
Then move to ```Write``` and press Enter to write changes
![17](images/a17.png)
You'll be asked to confirm, type `yes` and press Enter to continue
You'll be asked to confirm whether to continue. Type ```yes``` and press Enter to continue
![18](images/a18.png)
After a progress bar completes, you'll return to the initial menu. Select `Quit` to exit the menu, and everything is now ready
After a progress bar completes, you'll return to the initial menu. Select ```Quit``` to exit the menu, everything is now ready
![19](images/a19.png)
Then you'll return to the UI interface. Use the previously initialized disk, select the `OK` button and press Enter
Then you'll return to the UI interface. Use the previously initialized disk and select the ```OK``` button
![20](images/a20.png)
Use the arrow keys to select `ext4` for the file system, then select the `OK` button and press Enter
Use the arrow keys to select ```ext4``` file system type, then select the ```OK``` button
![21](images/a21.png)
Confirm formatting, select the `OK` button and press Enter
Confirm formatting by selecting the ```Yes``` button
![22](images/a22.png)
Confirm GRUB boot installation, select the `OK` button and press Enter
Confirm GRUB boot installation by selecting the ```OK``` button
![23](images/a23.png)
Confirm the file system is readable and writable, select the `OK` button and press Enter
Confirm the file system is readable and writable by selecting the ```OK``` button
![24](images/a24.png)
After a progress bar runs for a while, it will show installation succeeded. Select `Reboot`, then the `OK` button and press Enter
After a progress bar runs for some time, it will show that installation was successful. Select ```Reboot``` and the ```OK``` button
![25](images/a25.png)
@@ -138,23 +142,27 @@ After a while, you'll enter the Android logo screen
![26](images/a26.png)
Then it will go into a black screen. If it remains black after 3-5 minutes, execute `qm stop 100` on the host machine, then begin removing the image file
#### Removing the Image
Remove the ISO file that has been installed by manually clicking on the corresponding `CD` in the `Hardware` section of the ProxmoxVE web interface and selecting `Remove`
Then there will be a black screen. If it's still black after 3-5 minutes, execute ```qm stop 100``` on the host machine, then start removing the image file.
Remove the installed ISO file by manually clicking on the corresponding ```CD``` in the ```Hardware``` section of the ProxmoxVE web interface and selecting ```Remove```
![ar](images/ar.png)
Then execute `qm start 100` on the host machine, and you should enter the Android system initialization interface
Then execute ```qm start 100``` on the host machine again, and you should enter the Android system initialization interface
Select your language in the initialization interface, then click the confirm button
#### System Initialization
In the initialization interface, select the language and click the confirm button
![27](images/a27.png)
At this point it will try to connect to WIFI. Since this PVE installation uses completely static network configuration, skip this step and configure it later
It will try to connect to WiFi. Since our PVE installation uses a completely static network configuration, just skip this and set it up later
![31](images/a31.png)
Click the next button to confirm time settings
Click the next button to confirm the time settings
![32](images/a32.png)
@@ -162,15 +170,15 @@ Click to cancel screen protection, confirm to skip again
![33](images/a33.png)
After a period of black screen, the main screen application selection will appear. If this interface still doesn't appear after waiting 3-5 minutes, restart the virtual machine as before, and it should display when you enter VNC again
After a period of black screen, the main screen application selection will appear. If this interface doesn't appear after waiting 3-5 minutes, restart the virtual machine as before, and it should display after entering VNC
Select `Quickstep`
Select ```Quickstep```
![34](images/a34.png)
#### Network Configuration
#### Network Settings
Then you'll enter the desktop. Now you need to set up the network. Click the settings icon in the upper left corner
After entering the desktop, you need to set up the network. Click the settings icon in the upper left corner
![35](images/a35.png)
@@ -182,15 +190,15 @@ Click the gear button
![37](images/a37.png)
Enter `Network & Internet` settings
Enter ```Network & Internet``` settings
![38](images/a38.png)
Double-click `WIFI` with the left mouse button
Double-click ```WIFI``` with the left mouse button
![39](images/a39.png)
Modify the detected `VirtWIFI`, right-click to bring up the selection box, then click `Modify network`
Modify the detected ```VirtWIFI```. Right-click to bring up the selection box, then click ```Modify network```
![40](images/a40.png)
@@ -200,19 +208,19 @@ Advanced options appear, click to open hidden options
Configure the network settings as shown
IP address `172.16.1.xxx` (replace xxx with your desired IP; my vmid is 100, so I used 100 for convenience)
IP address ```172.16.1.xxx``` (replace xxx with your desired IP, I used 100 because my vmid is 100 for convenience)
Subnet mask `24`
Subnet mask ```24```
Default gateway `172.16.1.1`
Default gateway ```172.16.1.1```
DNS `8.8.8.8` or `144.144.144.144`
DNS ```8.8.8.8``` or ```144.144.144.144```
Then click the save button
![42](images/a42.png)
At this point, the settings may still not be applied. Turn off WIFI and then enable it again, it should show connected
At this point, the settings may still not be applied. Turn off WiFi and then turn it back on, it should then show as connected
![43](images/a43.png)
@@ -220,12 +228,232 @@ Then exit to the main interface, click on Google Chrome, and try to open a webpa
![44](images/a44.png)
You can see that opening this guide's URL works fine, proving the network is connected
You can see that opening this guide's URL works without problems, proving that the network is connected
![45](images/a45.png)
### Setting up Android Virtual Machine with Android Version 10 and Later Images
### Setting up an Android Virtual Machine with version 10 and later images
This guide demonstrates using
This guide demonstrates using:
https://psychz.dl.sourceforge.net/project/blissos-x86/Official/BlissOS15/Gapps/Generic/Bliss-v15.9.2-x86_64-OFFICIAL-gapps-20241012.iso?viasf=1
as an example
![1](images/b1.png)
#### Template Configuration
The host machine needs to execute the following command to install graphics environment dependencies
```shell
apt install libgl1 libegl1 -y
```
Then start creating the virtual machine by clicking the ```Create VM``` button in the upper right corner. Fill in ```VMID```, ```Name```, ```Resource Pool```
![2](images/b2.png)
Select the Android image, then choose ```Linux``` for ```Type``` and an option with version 2.6 for ```Version```
![3](images/b3.png)
If the host machine has a GPU, select ```VirGL GPU``` for ```Graphic card```.
If the host machine doesn't have a GPU, select ```VirtIO``` or ```Vmware compatible``` for ```Graphic card```.
Select ```q35``` for ```Machine```, select ```OVMF (UEFI)``` for ```BIOS```, and select ```local``` for ```EFI Storage```.
![4](images/b4.png)
Choose ```SATA``` for disk format. How much disk space to allocate is up to you, but at least 30GB is recommended
![5](images/b5.png)
CPU count should be at least 2 cores
If your host machine supports nested virtualization, choose ```host``` for CPU type (verified to work)
If your host machine doesn't support nested virtualization, choose ```qemu64``` for CPU type, and after creating the template, go to ```Options``` and uncheck ```KVM hardware virtualization``` before starting the virtual machine (no guarantee that system initialization will work properly)
![6](images/b6.png)
Memory should be at least 4GB, enter at least ```4096```
![7](images/b7.png)
Select ```vmbr1``` for the network bridge, choose ```VirtIO (paravirtualized)``` for ```Model```, and uncheck ```Firewall```
![8](images/b8.png)
After clicking the continue button, the template is successfully created. You need to manually start it and enter the VNC interface.
#### System Installation
After entering the boot menu, select the option ending with ```Installation```
![9](images/b9.png)
Then you need to create disk partitions. If you can't select it, press the keyboard button 'c' to select it.
![10](images/b10.png)
Choose not to use GPT format, continue using cfdisk format.
![11](images/b11.png)
When the format selection box appears, select ```gpt```.
![12](images/b12.png)
When the empty disk is displayed, select ```New```.
![13](images/b13.png)
Because you need to create an EFI partition, you need to change the size rather than using the default. Change the number to 1 to allocate 1GB of disk space, then press Enter.
![14](images/b14.png)
Then you'll return to the menu bar. Use the arrow keys to select ```Type```, then press Enter to choose the format type for the partition
![15](images/b15.png)
Use the arrow keys to select the first option ```EFI System```, then press Enter
![16](images/b16.png)
Now you're back at the menu bar. In the upper half of the page, you can see the specific partition size and format
![17](images/b17.png)
Then press the down arrow key to select the next empty partition line
![18](images/b18.png)
Select ```New``` from the menu bar, then press Enter
![19](images/b19.png)
Here you need to fill in the partition size. Match it with the empty partition size shown in the upper right corner, then press Enter.
![20](images/b20.png)
Return to the menu bar, select ```Write```, press Enter to write the partition.
![21](images/b21.png)
You'll be prompted to enter ```yes``` to confirm. Enter it and press Enter.
![22](images/b22.png)
After a progress bar runs, you should return to the menu bar. Select ```Quit``` to exit the menu, everything is now ready
![23](images/b23.png)
Then you'll return to the UI interface. Use the previously initialized 1GB disk and select the ```OK``` button
![24](images/b24.png)
Use the arrow keys to select ```fat32``` file system type, then select the ```OK``` button
![25](images/b25.png)
Confirm not to modify the name by selecting the ```OK``` button
![26](images/b26.png)
Confirm formatting by selecting the ```Yes``` button
![27](images/b27.png)
Then you'll return to the initial UI bar. Select the second partition that is not 1GB in size and select the ```OK``` button
![28](images/b28.png)
Use the arrow keys to select ```ext4``` file system type, then select the ```OK``` button
![29](images/b29.png)
Confirm not to modify the name by selecting the ```OK``` button
![30](images/b30.png)
Confirm formatting by selecting the ```Yes``` button
![31](images/b31.png)
Choose not to use extra space for updates by selecting the ```No``` button
![32](images/b32.png)
Confirm ```GRUB2 EFI BootLoader``` by selecting the ```OK``` button
![33](images/b33.png)
After a progress bar runs for some time, it will show that installation was successful. Select ```Reboot``` and the ```OK``` button.
![34](images/b34.png)
#### System Initialization
After a while, you'll enter the logo screen.
![35](images/b35.png)
After some more time, you should enter the initial Android interface. You'll see a popup and the time. Hold the left mouse button and swipe up
![36](images/b36.png)
The main screen application selection will appear. Select ```Quickstep```
If this interface doesn't appear after waiting 3-5 minutes, restart the virtual machine, and it should display after entering VNC
![37](images/b37.png)
#### Removing the Image
After the Android interface appears, execute ```qm stop 100``` on the host machine, then start removing the image file.
Remove the installed ISO file by manually clicking on the corresponding ```CD``` in the ```Hardware``` section of the ProxmoxVE web interface and selecting ```Remove```
![br](images/br.png)
Then execute ```qm start 100``` on the host machine again, and you should enter the system's initial interface.
#### Network Settings
After entering the desktop, you need to set up the network. Hold the left mouse button in the indicated position and swipe up
![38](images/b38.png)
A bunch of applications will pop up. Find the one called ```Bliss Ethernet Manager``` and click to open it
![39](images/b39.png)
Click to open ```IP Assignment```, select ```Static``` type, click the OK button to confirm
![40](images/b40.png)
Click to open ```IP Address```, enter ```172.16.1.xxx/24``` (I used 100 for xxx because my virtual machine VMID is 100 for easy identification), click the OK button to confirm
![41](images/b41.png)
Click to open ```Gateway Address```, enter ```172.16.1.1```, click the OK button to confirm
![42](images/b42.png)
Click to open ```DNS Address```, enter ```8.8.8.8```, click the OK button to confirm
![43](images/b43.png)
Then in the application interface, click ```Interface Up``` and ```Refresh```, then press the ```exit``` key on the keyboard to exit the program
![44](images/b44.png)
Open the browser in the main interface to verify that the network is working properly
![45](images/b45.png)
You can see that opening this guide works without problems, the network is functioning
![46](images/b46.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@@ -52,6 +52,8 @@ https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/71931/android-x86_64-9.0-r
![5](images/a5.png)
CPU数量至少2核
如果你的宿主机支持嵌套虚拟化CPU的类型请选择```host```(经验证无问题)
如果你的宿主机不支持嵌套虚拟化CPU的类型请选择```qemu64```,同时在模板设置成功后,需要在```Options```中点击```KVM hardware virtualization```取消勾选后再启动虚拟机(不保证后面系统初始化无问题)
@@ -70,7 +72,7 @@ https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/71931/android-x86_64-9.0-r
![9](images/a9.png)
#### 系统初始化
#### 系统安装
进入引导后,选择```Installation```开头的选项
@@ -120,7 +122,7 @@ https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/71931/android-x86_64-9.0-r
![21](images/a21.png)
确认进行格式化,选择```OK```按钮回车
确认进行格式化,选择```Yes```按钮回车
![22](images/a22.png)
@@ -140,7 +142,9 @@ https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/71931/android-x86_64-9.0-r
![26](images/a26.png)
然后回进入一段黑屏大概3~5分钟后仍然黑屏的话宿主机执行```qm stop 100```,然后开始移除镜像文件
#### 镜像移除
然后会进入一段黑屏大概3~5分钟后仍然黑屏的话宿主机执行```qm stop 100```,然后开始移除镜像文件
移除已经按照完毕的ISO文件在ProxmoxVE的web端手动在```Hardware[硬件]```中点击对应的```CD```选择```Remove[删除]```
@@ -148,6 +152,8 @@ https://mirrors.tuna.tsinghua.edu.cn/osdn/android-x86/71931/android-x86_64-9.0-r
然后宿主机再执行```qm start 100```,然后应该就会进入安卓系统的初始化界面了
#### 系统初始化
初始化界面选择语言,然后点击确定按钮
![27](images/a27.png)
@@ -234,6 +240,8 @@ https://psychz.dl.sourceforge.net/project/blissos-x86/Official/BlissOS15/Gapps/G
作为示例进行演示
![1](images/b1.png)
#### 模板设置
宿主机需要先执行以下命令安装图形环境依赖
@@ -242,8 +250,210 @@ https://psychz.dl.sourceforge.net/project/blissos-x86/Official/BlissOS15/Gapps/G
apt install libgl1 libegl1 -y
```
如果宿主机本身携带有GPU那么```Graphic card```选择```VirGL GPU```
然后开始创建虚拟机,点击右上角的```Create VM```按钮,填写```VMID```、```Name```、```Resource Pool```
![2](images/b2.png)
如果宿主机本身不携带GPU那么```Graphic card```选择```VirtIO``````Vmware compatible```
选择安卓镜像,然后```Type```选择```Linux``````Version```选择含2.6版本的选项
![3](images/b3.png)
如果宿主机本身携带有GPU那么```Graphic card```选择```VirGL GPU```。
如果宿主机本身不携带GPU那么```Graphic card```选择```VirtIO```或```Vmware compatible```。
```Machine```选择```q35``````BIOS```选择```OVMF (UEFI)```启动,```EFI Storage```选择```local```。
![4](images/b4.png)
磁盘格式选择```SATA```具体需要分配多大的磁盘自选推荐至少30G
![5](images/b5.png)
CPU数量至少2核
如果你的宿主机支持嵌套虚拟化CPU的类型请选择```host```(经验证无问题)
如果你的宿主机不支持嵌套虚拟化CPU的类型请选择```qemu64```,同时在模板设置成功后,需要在```Options```中点击```KVM hardware virtualization```取消勾选后再启动虚拟机(不保证后面系统初始化无问题)
![6](images/b6.png)
内存至少4G内存填写至少```4096```
![7](images/b7.png)
绑定的网桥选择```vmbr1``````Model```选择```VirtIO (paravirtualized)```,取消```Firewall```的勾选
![8](images/b8.png)
后续点击continue按钮后模板成功创建出来需要手动点击启动并进入VNC界面。
#### 系统安装
进入引导后,选择```Installation```结尾的选项
![9](images/b9.png)
然后需要创建磁盘写入这块如果选择不了的话按键盘按钮c就能选中了。
![10](images/b10.png)
选择不使用GPT格式依然使用cfdisk格式。
![11](images/b11.png)
显示格式选择框,选择```gpt```。
![12](images/b12.png)
显示空白盘后,选择```New```。
![13](images/b13.png)
因为要划分EFI分区这个盘需要修改大小不能使用默认大小数字改成1就行分配1G硬盘然后按回车。
![14](images/b14.png)
然后回到了菜单栏,按方向键选择```Type```,然后回车,给分区选择格式类型
![15](images/b15.png)
按方向键选择第一个选项```EFI System```,然后回车
![16](images/b16.png)
此时回到菜单栏,页面上半部分就能看到具体的分区大小和格式
![17](images/b17.png)
然后按下方向键,选择下一行空白的分区
![18](images/b18.png)
菜单栏选择```New```,然后回车
![19](images/b19.png)
这块需要填写分区大小,此时对照右上角选中的空白分区大小一致即可,然后回车。
![20](images/b20.png)
回到菜单栏,选择```Write```,回车,写入分区。
![21](images/b21.png)
会提示你输入```yes```进行确认,输入后回车。
![22](images/b22.png)
然后一段进度条跑过,应该会回到菜单栏,选择```Quit```退出菜单,一切准备就绪了
![23](images/b23.png)
然后这时候回到了UI界面使用前面初始化好的1GB大小的盘选择```OK```按钮回车。
![24](images/b24.png)
文件系统按方向键选择```fat32```类型,选择```OK```按钮回车
![25](images/b25.png)
确认不修改名字,选择```OK```按钮回车
![26](images/b26.png)
确认进行格式化,选择```Yes```按钮回车
![27](images/b27.png)
然后回到最初的UI栏选择第二块不是1GB大小的分区选择```OK```按钮回车
![28](images/b28.png)
文件系统按方向键选择```ext4```类型,选择```OK```按钮回车
![29](images/b29.png)
确认不修改名字,选择```OK```按钮回车
![30](images/b30.png)
确认进行格式化,选择```Yes```按钮回车
![31](images/b31.png)
默认不使用额外空间更新,选择```No```按钮回车
![32](images/b32.png)
确认```GRUB2 EFI BootLoader```,选择```OK```按钮回车
![33](images/b33.png)
跑了一段时间进度条后,显示安装成功,此时选择```Reboot```,选择```OK```按钮回车。
![34](images/b34.png)
#### 系统初始化
然后一段时间后进入LOGO界面。
![35](images/b35.png)
再过一段时间,应该就会进入初始的安卓界面了,能看到弹窗和时间,按住左键上划
![36](images/b36.png)
会出现主屏幕应用的选择,选择```Quickstep```
如果等待3~5分钟这个界面仍然没有出现那么就重启虚拟机再进入VNC应该就会显示了
![37](images/b37.png)
#### 镜像移除
出现了安卓的界面后,宿主机执行```qm stop 100```,然后开始移除镜像文件。
移除已经按照完毕的ISO文件在ProxmoxVE的web端手动在```Hardware[硬件]```中点击对应的```CD```选择```Remove[删除]```
![br](images/br.png)
然后宿主机再执行```qm start 100```,然后应该就会进入系统的初始界面了。
#### 网络设置
进入桌面,此时需要开始设置网络,图示位置按住左键,上划
![38](images/b38.png)
弹出一堆应用,在里面找到那个叫做```Bliss Ethernet Manager```的应用,点击并打开
![39](images/b39.png)
```IP Assignment```点击打开,选择```Static```类型点击OK按钮确认
![40](images/b40.png)
```IP Address```点击打开,填入```172.16.1.xxx/24```(xxx我写的100因为这里我的虚拟机VMID是100方便区分)点击OK按钮确认
![41](images/b41.png)
```Gateway Address```点击打开,填入```172.16.1.1```点击OK按钮确认
![42](images/b42.png)
```DNS Address```点击打开,填入```8.8.8.8```点击OK按钮确认
![43](images/b43.png)
然后在应用界面中,点击```Interface Up```和```Refresh```,然后键盘按```exit```键退出程序
![44](images/b44.png)
主界面中打开浏览器,验证网络是否畅通
![45](images/b45.png)
可以看到打开本指南无问题,网络畅通
![46](images/b46.png)