关于Deepin系统版本的疑问
Tofloor
poster avatar
杰
deepin
2017-05-24 19:07
Author
今天早上我更新了系统。更新后系统版本信息如下:
karl@karl-pc:~$ uname -a
Linux karl-pc 4.4.0-3-deepin-amd64 #1 SMP Deepin 4.4.30-2 (2016-12-01) x86_64 GNU/Linux


我早上更新时,用的命令是:sudo apt-get update && sudo apt-get dist-upgrade
我记得更新时有4.9.0-5字样的。

这个网友的帖子https://bbs.deepin.org/post/139935   
里写到:
在终端输入:uname -a
Linux yh-Study-pc 4.9.0-deepin5-amd64 #1 SMP PREEMPT Deepin 4.9.8-5 (2017-05-02) x86_64 GNU/Linux


我的版本为什么这么低。搞不懂。
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-05-24 19:18
#1
你是15.4版本吗?全新安装还是升级的  是不是自己选了内核启动?
Reply View the author
avatar
杰
deepin
2017-05-24 20:00
#2
本帖最后由 flydeepin1979 于 2017-5-24 12:02 编辑

https://bbs.deepin.org/user/48640
1. 在15.3版本期间我装过linuxmint MATE。目前启动界面见后面的截图。没有15.4选项。
2. 我目前是15.4版本。目前控制中心的启动界面见后面的截图。
3. 我用sudo update-grub2命令,显示如下内容。重启后还是看不到15.4选项。
karl@karl-pc:~$ sudo update-grub2
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin/theme.txt
Found background image: /boot/grub/themes/deepin/background.png
Found linux image: /boot/vmlinuz-4.9.0-deepin5-amd64
Found initrd image: /boot/initrd.img-4.9.0-deepin5-amd64
Found linux image: /boot/vmlinuz-4.9.0-deepin4-amd64
Found initrd image: /boot/initrd.img-4.9.0-deepin4-amd64
Found linux image: /boot/vmlinuz-4.4.0-3-deepin-amd64
Found initrd image: /boot/initrd.img-4.4.0-3-deepin-amd64
Found linux image: /boot/vmlinuz-4.2.0-1-amd64
Found initrd image: /boot/initrd.img-4.2.0-1-amd64
Found Windows 7 (loader) on /dev/sda1
Found Linux Mint 18.1 Serena (18.1) on /dev/sda9








Reply View the author
avatar
comzhong
deepin
2017-05-24 20:04
#3
选择advanced 那项,选择4.9内核启动,下次就可以了
Reply View the author
avatar
杰
deepin
2017-05-24 20:12
#4
本帖最后由 flydeepin1979 于 2017-5-24 12:15 编辑
https://bbs.deepin.org/post/139938
选择advanced 那项,选择4.9内核启动,下次就可以了

进入advanced 那项,也看不到15.4选项,也看不到4.9.0选项。都是15.3选项及4.4.0内核。
Reply View the author
avatar
comzhong
deepin
2017-05-24 20:54
#5
看到你:sudo update-grub2 命令发现了4.9内核的

你把 /boot/grub/grub.cfg 文件发出了看看
Reply View the author
avatar
杰
deepin
2017-05-24 21:21
#6
https://bbs.deepin.org/post/139938
看到你:sudo update-grub2 命令发现了4.9内核的

你把 /boot/grub/grub.cfg 文件发出了看看 ...

好的。请帮我看看附件。

Reply View the author
avatar
杰
deepin
2017-05-24 22:54
#7
本帖最后由 flydeepin1979 于 2017-5-24 16:10 编辑

有人能帮忙看看嘛。
Reply View the author
avatar
杰
deepin
2017-05-25 00:10
#8
@jingle 请管理员帮忙看看。
Reply View the author
avatar
comzhong
deepin
2017-05-25 02:56
#9
https://bbs.deepin.org/post/139938
好的。请帮我看看附件。

      菜单没问题,我猜应该是:你启动的菜单是 Mint 的菜单,而不是 Deepin 的菜单,因为你发给我的菜单里面内容和顺序都不太相同,比如:Linux Mint 18.1 Serena (18.1) (on /dev/sda9)

      估计你的 Mint 和 Deepin 的/boot 不是单独分区放在一起,你可以在Deepin里重新安装一下grub2引导,这样就会使用 Deepin 的菜单了。

BOIS固件:
0) 建立临时目录:mkdir /mnt/boot
1)  引导分区一般是/dev/sda1,挂载 引导分区 到 /mnt 目录:sudo mount /dev/sda1 /mnt/boot
2) 安装引导:sudo grub-install --target=i386-pc --root-directory=/mnt/boot /dev/sda
3)卸载引导分区:sudo umount /dev/sda1
4) 删除临时目录:rm -r /mnt/boot

UEFI固件:
0) 建立临时目录:mkdir /mnt/esp
1) esp分区一般是/dev/sda1,挂载 esp分区 到 /mnt 目录:sudo mount /dev/sda1 /mnt/esp
2) 安装引导:sudo grub-install --target=x86_64-efi --root-directory=/mnt/esp
3)卸载esp分区:sudo umount /dev/sda1
4) 删除临时目录:rm -r /mnt/esp
Reply View the author
avatar
杰
deepin
2017-05-25 04:47
#10
https://bbs.deepin.org/post/139938
菜单没问题,我猜应该是:你启动的菜单是 Mint 的菜单,而不是 Deepin 的菜单,因为你发给我的菜单 ...

谢谢你的指导。
Reply View the author