win10+ubuntu23.04双系统安装
win10
win10先安装好(确保主板上各个螺丝稳定,至少4对螺丝+铜柱,否则会各种蓝屏)
如果双系统安装失败了,连win10都进不去了,用原版ISO刻录的U盘或者光驱来修复引导。
Easybcd安装Ubuntu23.04
使用的ubuntu镜像文件
https://cdimage.ubuntu.com/xubuntu/daily-live/current/
磁盘情况
其中ubuntu镜像路径:
D:\SystemISO\lunar-desktop-amd64.iso
其中hd(x,y)表示:
x是第x个硬盘(从0开始)
y表示第y个磁盘分区(从0开始)
如何确定y呢?可以下载一个DiskGenius,打开后里面的“序号(状态)”就是EasyBcd中需要写入的y值
也可以参考【1】
如果出现这个问题,是因为没有安装在C盘默认路径,重装吧。
具体操作
配置内容
title Install XUbuntu 23.04 LTS
root (hd0,4)
kernel (hd0,4)/SystemISO/vmlinuz boot=casper iso-scan/filename=/SystemISO/lunar-desktop-amd64.iso ro quiet splash locale=zh_HK.UTF-8
initrd (hd0,4)/SystemISO/initrd
这里的4来自上面的DiskGenius显示
Easybcd基本用法
具体操作 | 作用 | |
| 左边3个选项是对已经安装好的系统的引导 | |
| 对没有安装过的系统的引导 | |
配置 | 写清楚安装的ISO的路径,见文章后半部分 |
安装Linux时候的设置
只做两个分区:
/ 格式化
/home,不格式化(会自动继承上一次ubuntu系统中home下面的内容),如下:
可以登录的搜狗输入法的安装
可以登录的安装里面2.3这个版本的即可[1][2]
链接: https://pan.baidu.com/s/1PhVQ2uu80-e4tLpayQHdAg 提取码: kgud
安装完后需要注销才可以
/etc/apt/sources.list.d/rock-core-ubuntu-qt4-lunar.list中休要修改为:
deb https://ppa.launchpadcontent.net/rock-core/qt4/ubuntu/ focal main
dpkg --list|grep fcitx
ii fcitx 1:4.2.9.9-1 all Flexible Input Method Framework
ii fcitx-anthy:amd64 0.2.4-1 amd64 Fcitx wrapper for Anthy IM engine
ii fcitx-bin 1:4.2.9.9-1 amd64 Flexible Input Method Framework - essential binaries
ii fcitx-chewing:amd64 0.2.3-2 amd64 Fcitx wrapper for Chewing library
ii fcitx-config-common 0.4.10-3 all graphic Fcitx configuration tool - common files
ii fcitx-config-gtk 0.4.10-3 amd64 graphic Fcitx configuration tool
ii fcitx-data 1:4.2.9.9-1 all Flexible Input Method Framework - essential data files
ii fcitx-dbus-status 2016062301-4 amd64 Addon for Fcitx to set/get/monitor IM statuses via D-Bus
ii fcitx-frontend-all 1:4.2.9.9-1 all Flexible Input Method Framework - frontends metapackage
ii fcitx-frontend-fbterm 0.2.0-4 amd64 Flexible Input Method Framework - FbTerm frontend
ii fcitx-frontend-gtk2 1:4.2.9.9-1 amd64 Flexible Input Method Framework - GTK+ 2 IM Module frontend
ii fcitx-frontend-gtk3 1:4.2.9.9-1 amd64 Flexible Input Method Framework - GTK+ 3 IM Module frontend
ii fcitx-frontend-qt4 1:4.2.9.6-1 amd64 Flexible Input Method Framework - Qt4 IM Module frontend
ii fcitx-frontend-qt5:amd64 1.2.7-2build4 amd64 Free Chinese Input Toy of X - Qt5 IM Module frontend
ii fcitx-frontend-qt6:amd64 1.2.7-2build4 amd64 Free Chinese Input Toy of X - Qt6 IM Module frontend
ii fcitx-libpinyin:amd64 0.5.4-3 amd64 Fcitx wrapper for libpinyin
ii fcitx-libs 1:4.2.9.9-1 all Flexible Input Method Framework - metapackage for libraries
ii fcitx-libs-dev 1:4.2.9.9-1 amd64 Flexible Input Method Framework - library development files
ii fcitx-module-dbus 1:4.2.9.9-1 amd64 Flexible Input Method Framework - D-Bus module and IPC frontend
ii fcitx-module-kimpanel 1:4.2.9.9-1 amd64 Flexible Input Method Framework - KIMPanel protocol module
ii fcitx-module-lua 1:4.2.9.9-1 amd64 Flexible Input Method Framework - Lua module
ii fcitx-module-quickphrase-editor5:amd64 1.2.7-2build4 amd64 Flexible Input Method Framework - Quick Phrase editor module
ii fcitx-module-x11 1:4.2.9.9-1 amd64 Flexible Input Method Framework - X11 module and XIM frontend
ii fcitx-modules 1:4.2.9.9-1 amd64 Flexible Input Method Framework - core modules
ii fcitx-pinyin 1:4.2.9.9-1 amd64 Flexible Input Method Framework - classic Pinyin engine
ii fcitx-sunpinyin:amd64 0.4.2-3 amd64 fcitx wrapper for Sunpinyin IM engine
ii fcitx-table 1:4.2.9.9-1 amd64 Flexible Input Method Framework - table engine
ii fcitx-table-all 1:4.2.9.9-1 all Flexible Input Method Framework - tables metapackage
ii fcitx-table-wubi 1:4.2.9.9-1 all Flexible Input Method Framework - Wubi table
ii fcitx-tools 1:4.2.9.9-1 amd64 Flexible Input Method Framework - various tools
ii fcitx-ui-classic 1:4.2.9.9-1 amd64 Flexible Input Method Framework - Classic user interface
ii fcitx-ui-light:amd64 0.1.3-4 amd64 light weight xlibs and xft based UI for Fcitx
ii fcitx-ui-qimpanel 2.1.3-2build1 amd64 Flexible Input Method Framework - Qt IMPanel user interface
ii fcitx5-data 5.0.21-3 all Fcitx Input Method Framework v5 (common data files)
ii fcitx5-frontend-gtk2:amd64 5.0.21-1 amd64 GTK2 IM Module for fcitx5
ii fcitx5-frontend-gtk3:amd64 5.0.21-1 amd64 GTK3 IM Module for fcitx5
ii fcitx5-frontend-gtk4:amd64 5.0.21-1 amd64 GTK4 IM Module for fcitx5
ii fcitx5-frontend-qt5 5.0.16-1build1 amd64 Qt5 IM module for fcitx5
ii fcitx5-modules:amd64 5.0.21-3 amd64 Fcitx Input Method Framework v5 (core modules)
ii gir1.2-fcitx-1.0 1:4.2.9.9-1 amd64 GObject introspection data for fcitx
ii kde-config-fcitx 0.5.6-2 amd64 KDE configuration module for Fcitx
ii kde-config-fcitx5 5.0.16-1 amd64 KDE configuration module for Fcitx5
ii libfcitx-config4:amd64 1:4.2.9.9-1 amd64 Flexible Input Method Framework - configuration support library
ii libfcitx-core0:amd64 1:4.2.9.9-1 amd64 Flexible Input Method Framework - library of core functions
ii libfcitx-gclient1:amd64 1:4.2.9.9-1 amd64 Flexible Input Method Framework - D-Bus client library for Glib
ii libfcitx-qt0:amd64 1:4.2.9.6-5 amd64 Flexible Input Method Framework - Meta package for Qt library
ii libfcitx-qt5-1:amd64 1.2.7-2build4 amd64 Free Chinese Input Toy of X - D-Bus client libraries for Qt5
ii libfcitx-qt5-data 1.2.7-2build4 all Free Chinese Input Toy of X - data files for Qt5 integration
ii libfcitx-utils0:amd64 1:4.2.9.9-1 amd64 Flexible Input Method Framework - utility support library
ii libfcitx5-qt-data 5.0.16-1build1 all Qt library and IM module for fcitx5 (data files)
ii libfcitx5-qt1:amd64 5.0.16-1build1 amd64 Qt library and IM module for fcitx5
ii libfcitx5-qt6-1:amd64 5.0.16-1build1 amd64 Qt6 library and IM module for fcitx5
ii libfcitx5config6:amd64 5.0.21-3 amd64 Fcitx Input Method Framework v5 (config library)
ii libfcitx5core7:amd64 5.0.21-3 amd64 Fcitx Input Method Framework v5 (core library)
ii libfcitx5gclient2:amd64 5.0.21-1 amd64 GLib-based D-Bus client library for fcitx5 (library)
ii libfcitx5utils2:amd64 5.0.21-3 amd64 Fcitx Input Method Framework v5 (utils library)
ps -ef|grep sogou
appleyu+ 42651 1 0 21:09 ? 00:00:00 sogou-qimpanel-watchdog
appleyu+ 42734 1 1 21:09 ? 00:00:20 sogou-qimpanel
appleyu+ 54588 54348 0 21:31 pts/3 00:00:00 grep --color=auto sogou
ps -ef|grep fcitx
appleyu+ 5726 1 0 19:37 ? 00:00:00 /bin/sh /opt/apps/com.baidu.fcitx-baidupinyin/files/bin/bd-qimpanel.watchdog.sh
appleyu+ 42594 1 1 21:09 ? 00:00:13 /usr/bin/fcitx
appleyu+ 42613 1 0 21:09 ? 00:00:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --config-file /usr/share/fcitx/dbus/daemon.conf
appleyu+ 42622 1 0 21:09 ? 00:00:00 /usr/bin/fcitx-dbus-watcher unix:path=/tmp/dbus-jULZD7KWe6,guid=9704ca19280b141e34f5a42563c54c82 42613
appleyu+ 54740 54348 0 21:32 pts/3 00:00:00 grep --color=auto fcitx
最终效果如下:
修改双系统的启动顺序
add-apt-repository ppa:danielrichter2007/grub-customizer
修改/etc/apt/sources.list.d/danielrichter2007-ubuntu-grub-customizer-lunar.list
deb-src https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu/ jammy main
apt-get update
apt-get install grub-customizer
Reference:
[1]https://zhuanlan.zhihu.com/p/268951436
[2]https://yuchi.blog.csdn.net/article/details/107285791