有人用deepin + phoenix os成功么?
Tofloor
poster avatar
aojie654
deepin
2018-04-16 22:29
Author
根据凤凰官网的教程,引导怎么改都没用,不管怎么样都是提示
  1. aojie654@aojie654-P45VJ:~$ sudo update-grub2
  2. Generating grub configuration file ...
  3. Found theme: /boot/grub/themes/deepin/theme.txt
  4. Found background image: /boot/grub/themes/deepin/background.png
  5. Found linux image: /boot/vmlinuz-4.14.0-deepin2-amd64
  6. Found initrd image: /boot/initrd.img-4.14.0-deepin2-amd64
  7. Found linux image: /boot/vmlinuz-4.9.0-deepin13-amd64
  8. Found initrd image: /boot/initrd.img-4.9.0-deepin13-amd64
  9. Found deepin image: /boot/deepin/vmlinuz-4.14.13
  10. Found initrd image: /boot/deepin/initrd.img-4.14.13
  11. Adding boot menu entry for EFI firmware configuration
  12. /etc/grub.d/40_custom: 10: /etc/grub.d/40_custom: menuentry: not found
  13. /etc/grub.d/40_custom: 11: /etc/grub.d/40_custom: linux: not found
  14. /etc/grub.d/40_custom: 12: /etc/grub.d/40_custom: initrd: not found
  15. /etc/grub.d/40_custom: 13: /etc/grub.d/40_custom: Syntax error: "}" unexpected
  16. aojie654@aojie654-P45VJ:~$
Copy the Code
搞得我很头大……
Reply Favorite View the author
All Replies
avatar
s***3@21cn.com
deepin
2018-04-16 23:42
#1
看我的,在文件夹下安装凤凰系统
1. 创建文件夹:
  1. sudo mkdir /PhoenixOS
  2. sudo mkdir /PhoenixOs/data
Copy the Code

   
2. 拷贝解压的iso中的所有文件到新建的文件夹:
  1. sudo cp -a /home/xxx/download/PhoenixOS /PhoenixOS
Copy the Code

   
3. deepin下编辑/etc/grub.d/40_custom:这是grub自定义启动项设置的位置,该文件的内容在更新启动菜单时会自动合并到grub.cfg文件中
  1. sudo vim /etc/grub.d/40_custom
Copy the Code

   
4. 在文件最后加入以下代码
  1. # root='hd0,gpt3' ,表示Android系统所在的硬盘及分区序列号,根据自己的实际情况修改内容
  2. # root=/dev/sda3 ,表示Android系统所在的分区,根据自己的实际情况修改内容
  3. menuentry 'PhoenixOS' --class android-x86 {
  4. set root='hd0,gpt3'
  5. linux /PhoenixOS/kernel root=/dev/sda3 androidboot.hardware=android_x86_64 androidboot.selinux=permissive quiet
  6. DATA=/PhoenixOS/data SRC=/PhoenixOS
  7. initrd /PhoenixOS/initrd.img
  8. }
Copy the Code

5. 更新grub配置
  1. sudo update-grub
Copy the Code

6. 重启电脑,就可以看到新加的启动项了。
Reply View the author
avatar
181******50
deepin
2018-04-17 00:34
#2
https://bbs.deepin.org/post/155445
看我的,在文件夹下安装凤凰系统
1. 创建文件夹:

这样装,凤凰系统升级可以OTA吗?还是每次都要下载解压安装一次?
Reply View the author
avatar
s***3@21cn.com
deepin
2018-04-17 01:23
#3
https://bbs.deepin.org/post/155445
这样装,凤凰系统升级可以OTA吗?还是每次都要下载解压安装一次?

额!不知道啊,我只是偶尔用用那个系统,没有更新过。。建议用自己测试。
Reply View the author
avatar
aojie654
deepin
2018-04-17 17:47
#4
https://bbs.deepin.org/post/155445
额!不知道啊,我只是偶尔用用那个系统,没有更新过。。建议用自己测试。 ...

hi,搞定啦,我猜测大概的原因是因为我不小心删除了40_custom文件新建了一个内容不对导致的。
碰运气的根据凤凰官网的40文件内容逐一输进去保证文件内容一直,再更新update-grub2就好了~

多谢解答
Reply View the author
avatar
xc1943
deepin
2018-04-19 20:05
#5
OTA升级过一次,没问题。
Reply View the author