[deepin exploration] 使用debootstrap为飞腾D2000 联网安装deepin25
Tofloor
poster avatar
玲泷沙.spark
deepin
2025-10-11 15:34
Author

虽然可以通过曲线救国的方式在浪潮机子上安装deepin25,但是使用过程中发现控制中心无法打开,而且部分内容仍显示gxde,所以抽时间研究下了debootrap 类似与archlinux的方式进行安装。以下是安装教程

一 安装前准备工作

准备一个可以在飞腾机子上进入 并自带飞腾网卡驱动的livecd操作系统,还是推荐gxde hetao版。openkylin也可以。

二 安装debootstrap 和arch-install-scripts

sudo apt install debootstrap arch-install-scripts

三 处理好分区

livecd 可以用分区管理器工具分好区,或者终端用cfdisk也可以。咋顺心咋来。

示例分区为:

/dev/sda1 /boot/efi

/dev/sda2 /

三 安装deepin最小系统

sudo debootsrap crismon https://mirrors.cernet.edu.cn/deepin/beige

这样你就拥有了一个最小的deepin系统。

四 生成fstab

sudo arch-chroot /mnt
nano /etc/apt/sources.list
#更改源为:
deb https://mirrors.cernet.edu.cn/deepin/beige crimson main commercial community
apt update
apt install arch-install-scripts
genfstab -U / >>/etc/fstab

五 修改主机名

先安装部分软件

apt install sudo console-setup

修改主机名和hosts文件

nano /etc/hostname

#改为deepin

nano /etc/hosts
#增加deepin
127.0.0.1       localhost deepin
::1             localhost ip6-localhost ip6-loopback deepin
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

六 配置本地化信息与时区

apt install locales
# 按顺序配置本地化信息和时区
sudo dpkg-reconfigure locales tzdata

七 安装桌面及常用软件

#安装软件及桌面环境
apt install wget vim htop network-manager deepin-desktop-environment-*
#安装内核
apt install linux-image-deepin-arm64 linux-headers-deepin-arm64
#生成initrd.img文件
mkinitramfs -o /boot/initrd.img-6.12.41-arm64-desktop-rolling
#安装引导
apt install grub-efi
grub-install /dev/sda
grub-install --force-extra-removable
#默认启动桌面
systemctl enable lightdm

八 设置用户

sudo useradd -m -G sudo,adm -s /bin/bash user
sudo passwd user
# 如果可以,你可以给root用户设置一个密码
sudo passwd

重启,就应该可以进入deepin25了

提醒:与正常安装deepin25 的不同点

1 暂时没有不可变系统及玲珑软件,缺少的软件可以在玲珑商店自己安装的。

2 通过右下角日期,打开日历软件,关联的是deb版的日历,不是玲珑版的 装玲珑版是没有用的。

3 其他deepin 自带软件,音乐 影视 文本编辑器 看图等需要自己安装 deb版或玲珑版

文章参考

https://blog.azurezeng.com/use-debootstrap-to-install-clean-debian/

#知享计划

@deepin-流云

@deepin小助手

Reply Favorite View the author
All Replies
jjcui8595
deepin
Resources Team
2025-10-11 16:27
#1

like

Reply View the author
鲜衣怒马
deepin
2025-10-11 16:41
#2

like

真·大佬

Reply View the author
玲泷沙.spark
deepin
2025-10-11 16:48
#3
鲜衣怒马

like

真·大佬

离大佬 还远呢

Reply View the author
deepin-流云
Moderator
Community OP
2025-10-11 17:07
#4

感谢分享kissing_heart

不过25应该是支持D2000的呀,正常装不上嘛,我发给研发看看……
image.png

Reply View the author
玲泷沙.spark
deepin
2025-10-11 18:42
#5
It has been deleted!
神末shenmo
deepin
Spark-App
Q&A Team
2025-10-11 19:28
#6

GXDE 第一个适配鲲鹏的版本也是这样装的kissing_heart

后面搞明白内核之后就不需要了

Reply View the author
玲泷沙.spark
deepin
2025-10-11 20:57
#7
神末shenmo

GXDE 第一个适配鲲鹏的版本也是这样装的kissing_heart

后面搞明白内核之后就不需要了

我就deepin和asoc的livecd进不去,debian ubuntu gxde 的live都能进去。

Reply View the author
玲泷沙.spark
deepin
2025-10-11 22:03
#8
deepin-流云

感谢分享kissing_heart

不过25应该是支持D2000的呀,正常装不上嘛,我发给研发看看……
image.png

arm 架构的机子和amd64还是区别挺大的 主板貌似也不一样,deepin livecd 我基本上没进去过。但是像 debian ubuntu kylin uos 我都能正常进去。反正能装就好了。飞腾的用户也不是太多。

Reply View the author
看见如果
deepin
2025-10-12 21:18
#9

无用功

Reply View the author