Skip to content

Instantly share code, notes, and snippets.

@ulziibat-n
Last active February 18, 2019 02:51
Show Gist options
  • Save ulziibat-n/13e66a99842a57ae79a3b6c6192cfc53 to your computer and use it in GitHub Desktop.
Save ulziibat-n/13e66a99842a57ae79a3b6c6192cfc53 to your computer and use it in GitHub Desktop.
win 10+ deepin + PhoenixOS
menuentry 'Phoenix OS' --class android-x86 {
insmod part_gpt
set root='hd0,3'
search --file --no-floppy --set=root /PhoenixOS/system.img
linux /PhoenixOS/kernel root=/dev/sda3 androidboot.hardware=Android_x86 androidboot.selinux=permissive CMDLINE
initrd /PhoenixOS/initrd.img
}
@ulziibat-n
Copy link
Author

ulziibat-n commented Feb 13, 2019

  1. Install PhoenixOS to C:/PhoenixOS under win10.
  2. Install deepin OS
  3. Under deepinOS, use file manager Open the boot folder under the system disk, then open the grub folder as an administrator, then open grub.cfg (open with Notepad)
  4. Find the next paragraph in the grub.cfg file (comparative):
    # This Simply provide the easy to
    to change
    # the 'exec tail' line above.
  5. Add the following content below this paragraph. (do not copy, there are a few items you need to change according to circumstances);
menuentry " PhoenixOS " { 
the SET root = (hd 0,3 ) 
Linux / PhoenixOS / Kernel quiet root = / dev / sda3Video = -16 = android_x86 androidboot.hardware SRC = / PhoenixOS
the initrd / PhoenixOS /initrd.img 
} 

The first line: " PhoenixOS ", this just write, you want to show what to enter in grub.
The second line: "hd 0,3 ", this is the partition where you installed Android. This needs to look at the disk where the Android system is recognized under Linux. This can be seen in the partition management of deepin. For example, I installed it in the C drive under win, and the disk management in deepin sees the corresponding sda3, so Hd0, 3 is not sda "x" (x is a number). If the partition is identified as sdb "x" under linux, then you write hd1, x, and so on.
The third line: "sda3", the same, is the partition you installed Android system. The
third line: PhoenixOS, this is the folder name of the Android system installation directory.

After saving, you can exit and restart.

I really like deepinOS, but because it is scientific research, many softwares need Windows support, especially the support of scientific research equipment. I hope that deepin can work harder on entertainment, so I don't have to use the virtual system to play chicken. It was because there was no way to find the coexistence of the three systems, so the deepin was uninstalled, but I really like it, so I started toss again. Virtual system installation Phoenix system is a good idea, but my books are almost six years old, the memory is too small, it is more practical to install an Android system directly.

@ulziibat-n
Copy link
Author

Go to System Disk
/boot/grub/grub.cfg

add this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment