Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
[Share Experiences]
Linux 维修案例视频12则
Experiences and Insight
1137
views ·
1
replies ·
To
floor
Go
littlebat
deepin
2026-05-23 15:55
Author
(首发地址: 学习日记 https://www.learndiary.com/2026/05/video-20260320-12/ )
第一:
VMWare Workstation 的 Ubuntu 虚拟机磁盘扩容 https://www.bilibili.com/video/BV18aApz6EWb/
演示如何在 VMWare Workstation 的 Ubuntu 虚拟机如何进行磁盘扩容
第二:
Linux维修案例:Ubuntu安装cuda黑屏修复及重置麒麟V10密码 https://www.bilibili.com/video/BV1aBQoB5Ej8/
分享Linux维修案例:
1、Ubuntu安装cuda黑屏修复:已经装好Nvidia驱动再装cuda建议用.run后缀本地cuda安装包,并去掉勾选驱动安装
2、重置麒麟V10密码:grub菜单高级选项选recovery模式进 root shell 用passwd命令;或按E编辑grub启动项,在linux开头那行末尾加上 init=/bin/bash ,并把ro(有的话)改成rw,按F10或CTRL+X启动,再用passwd命令重置密码
第三:
Ubuntu 如何实现BIOS和UEFI双引导 https://www.bilibili.com/video/BV1RMXjBiEwx/
把 Ubuntu 26.04 由传统 BIOS 引导改为 BIOS 和 UEFI 双引导
第四:
Linux维修案例:华硕新款笔记本Ubuntu20.04安装WIFI和NVIDIA显卡驱动 https://www.bilibili.com/video/BV1ryXCBdEuM/
Ubuntu 20.04,华硕笔记本ROG Strix G16,Ultra 9 275HX,Wi-Fi 7(802.11be) AX1775/AX1790/BE20/BE401/BE1750 2x2 ,Nvidia RTX 5070 显卡。安装 WIFI 和 显卡驱动。
WIFI驱动是通过手工编译6.17内核解决。
WIFI 的驱动是 iwlwifi,iwlwifi的固件文件必须放在或链接在 /lib/firmware 下面。
Nvidia 50系列显卡驱动用 apt 装的话必须安装带 -open 的驱动包。
Ubuntu 20.04 用 apt 安装 Nvidia 50系列显卡驱动必须使用第三方 ppa 显卡驱动仓库:sudo add-apt-repository ppa:graphics-drivers/ppa
第五:
Linux维修案例:Nvidia显卡驱动安装5例 https://www.bilibili.com/video/BV1JZXfBAEnp/
Linux维修案例:Nvidia显卡驱动安装5例
1、前言
2、Ubuntu如何卸载显卡驱动
3、双5060Ti,Ubuntu24.04,6.17,照AI把590-open改成580驱动后进不了桌面
4、七彩虹将星X15笔记本,Nvidia RTX 4050,Ubuntu 22.04,安装 580,590驱动无法进入桌面
5、戴尔服务器,EXSI虚拟机,Debian 13,Nvidia Tesla P100 PCIe 16GB
6、双5080,AlmaLinux 9.6
7、5070,Ubuntu22.04,安全启动开启
第六:
Linux维修案例:centos 7、8驱动安装 https://www.bilibili.com/video/BV1hiD5BQExy/
Linux维修案例:centos 7、8驱动安装
1、直接下载升级内核:
centos 8.5 intel Ethernet Controller I219-LM
原 4.18 内核
https://mirrors.coreix.net/elrepo-archive-archive/kernel/el8/x86_64/RPMS/kernel-ml-5.19.12-1.el8.elrepo.x86_64.rpm ,kernel-ml
kernel-ml-core
kernel-ml-modules
kernel-ml-modules-extra
centos 7 Realtek RTL8125(2.5G)
原 3.10 内核
https://mirrors.coreix.net/elrepo-archive-archive/kernel/el7/x86_64/RPMS/kernel-ml-6.9.7-1.el7.elrepo.x86_64.rpm
kernel-ml
kenel-ml-devel
2、安装 elrepo 仓库提供的 kmod-r8125 驱动包
3、设置软件源:
基础源:
sed -e "s|^mirrorlist=|#mirrorlist=|g" \
-e "s|^#baseurl=http://mirror.centos.org/centos/$releasever|baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.9.2009|g" \
-e "s|^#baseurl=http://mirror.centos.org/$contentdir/$releasever|baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.9.2009|g" \
-i.bak \
/etc/yum.repos.d/CentOS-*.repo
epel源:直接安装 yum install epel-release
elrepo源(内核包仍然只能手工下载):直接安装 yum install elrepo-release
再修改成有效的源配置文件:
### Name: ELRepo.org Community Enterprise Linux Repository for el7
### URL: https://elrepo.org/
[elrepo]
name=ELRepo.org Community Enterprise Linux Repository - el7
baseurl=https://mirrors.tuna.tsinghua.edu.cn/elrepo/archive/elrepo/el7/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
[elrepo-extras]
name=ELRepo.org Community Enterprise Linux Extras Repository - el7
baseurl=https://mirrors.tuna.tsinghua.edu.cn/elrepo/archive/extras/el7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
第七:
Ubuntu在当前系统中向前扩容根分区 https://www.bilibili.com/video/BV1JqDiBhEqR/
在虚拟机中演示如何在运行的 Ubuntu 当前系统中向前面的空余空间扩容根分区
第八:
Linux下AMD、华为昇腾、寒武纪显卡驱动安装 https://www.bilibili.com/video/BV1bLD1BqEU8/
AMD Ryzen™ AI Max+ 395 这类CPU 的集成显卡支持 RoCm:https://www.amd.com/en/resources/support-articles/release-notes/RN-AMDGPU-LINUX-ROCM-7-2.html
华为昇腾固件与驱动社区版 https://www.hiascend.com/hardware/firmware-drivers/community
寒武纪计算卡驱动安装包:
https://sdk.cambricon.com/download?sdk_version=V1.15.0&component_name=Driver
https://www.cambricon.com/docs/sdk_1.15.0/driver_5.10.22/user_guide/driver_3/driver_3.html
https://forum.cambricon.com/index.php?m=content&c=index&a=show&catid=38&id=3970
第九:
Linux 维修失败案例3则 https://www.bilibili.com/video/BV1xbQGBkEhe/
最近做 Linux 维修服务碰到的3则失败案例:
1、水星USB免驱无线网卡驱动安装
2、麒麟V11高级服务器版本 rtw_8852ce PCI 无线网卡驱动安装
3、H3C R4900G5 服务器 Nvidia RTX 4080 驱动安装
第十:
Deepin 25 Linux Nvidia P106-100 本地部署 DeepSeek https://www.bilibili.com/video/BV1rSdaBeEzd/
Deepin 25 Linux Nvidia P106-100 本地部署 DeepSeek
主机:I7-4770,16G,P106-100,Deepin 25 Linux。
一、ollama 部署
参考链接:百元显卡 P106 “大战” DeepSeek R1 7B/8B 大模型 https://zhuanlan.zhihu.com/p/22944775087
在我的测试中,不能调用 P106-100,纯粹使用 CPU,速度慢。
curl -fsSL https://ollama.com/install.sh | sh
运行:ollama run deepseek-r1:7b --verbose
Ollama 可以通过 ollama list 查看安装的所有模型,再通过 ollama rm 删除
二、llama.cpp 部署
1、经过原来的测试,使用 515.48.07 版本驱动有好的性能,cuda 11.7
2、应该是与 cuda 11.7 配套,要安装使用 gcc-11和g++-11
3、编译命令:
cmake -B build \
-DGGML_CUDA=ON \
-DCMAKE_CUDA_ARCHITECTURES="61" \
-DCMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-11 \
-DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release -j $(nproc)
运行:
终端方式:
llama-cli \
-m ~/models/DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf \
--n-gpu-layers 999 \
--ctx-size 8192 \
--temp 0.6 \
-p "你好,请介绍一下你自己"
或服务器方式:
llama-server \
-m ~/models/DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf \
--host 0.0.0.0 \
--n-gpu-layers 999 \
--ctx-size 8192 \
--temp 0.6 \
--jinja
三、用 google-chrome Page Assist 插件方法运行 Ollama 和 llama.cpp
四、结论
ollama 在我的这次测试中只能使用纯 CPU 运行,运行 deepseek-r1:7b 约 4t/s
llama.cpp 使用 P106-100 运行 DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf 约 21t/s
可以用来玩一下,实用性不大。
第十一:
我的电脑及操作系统 https://www.bilibili.com/video/BV1V6dQBVEkb/
一、前言:
顺便分享一下几则Linux技巧
电脑的主要用途
二、电脑硬件配置
三、电脑操作系统配置
第十二:
Deepin Linux 升级 https://www.bilibili.com/video/BV1p8oTBNExs/
分享两则Linux维修案例和Deepin Linux 从 25.0.10 升级到 25.1.0 过程
Reply
Like 3
Favorite
View the author
All Replies
jjcui8595
deepin
2026-05-23 20:17
#1
感谢分享
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Deepin 25.2.0 Black Screen After Sleep
login to bbs.deepin.org only works without ipv6
NVIDIA graphics driver are not working with enabled secure boot
OBS Flatpak with Treeland
Popular Events
More