[Seek Help] 大佬们,如何给系统盘正确扩容
Tofloor
poster avatar
与风长舞的叶
deepin
2021-11-27 19:36
Author

deepin安装在固态上,这块固态还有win10。

目前deepin分了80多G,现在不够用了。

系统盘只分了一个根分区,怎么扩容?

之前用Gparted弄过,开不了机。

Reply Favorite View the author
All Replies
tangp
deepin
2021-11-27 20:52
#1

固态盘调整分区会影响盘的寿命,建议你用其他linux的livecd刻张盘,或者用pe都行,但确实影响寿命。deepin以前的livecd也有分区调整工具,就看你能不能找得到了。

Reply View the author
delsin
deepin
2021-11-27 21:10
#2

一键安装的扩容方法:https://bbs.chinauos.com/zh/post/9198

U盘手动安装的扩容方法:https://bbs.chinauos.com/zh/post/10003

Reply View the author
WangZhongyun
deepin
2021-11-27 21:26
#3

建议把应用程序的数据转存到数据分区,这样系统分区的占用就少了

Reply View the author
jjcui8595
Moderator
2021-11-27 21:45
#4

建议WinPE引导后DM调整分区大小。我用GParted调整过一次,感觉太慢了

Reply View the author
与风长舞的叶
deepin
2021-11-28 01:27
#5
WangZhongyun

建议把应用程序的数据转存到数据分区,这样系统分区的占用就少了

我能不能先备份boot和根分区,然后,重新分容量大两个区,最后还原到这新这两个分区?

Reply View the author
enforcee
deepin
2021-11-28 03:28
#6

开不了机的情况你大概是“从分区前面”调整分区了,调完了fsck一下就行(gparted在分区上点右键有一个“检查”选项)

从前面调整有可能会发生这种情况,从后面调整就不会有问题了。

没啥技术含量。另外要有耐心。

Reply View the author
与风长舞的叶
deepin
2021-11-28 04:40
#7
enforcee

开不了机的情况你大概是“从分区前面”调整分区了,调完了fsck一下就行(gparted在分区上点右键有一个“检查”选项)

从前面调整有可能会发生这种情况,从后面调整就不会有问题了。

没啥技术含量。另外要有耐心。

我的linux分区是在最后的一部分,只能从前面挪空白的到后面,把boot和交换分区全都挪了,顺利开机了,更新grub2,有个获取“rootb” uuid失败的错误:

~$ sudo update-grub2
get rootb uuid error: failed to get "rootb" uuid
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
找到 Linux 镜像:/boot/vmlinuz-5.15.1-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.1-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.13.13-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.13.13-amd64-desktop
/dev/sdb: open failed: 找不到介质
找到 Windows Boot Manager 位于 /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
完成
Reply View the author
enforcee
deepin
2021-11-28 06:11
#8
与风长舞的叶

我的linux分区是在最后的一部分,只能从前面挪空白的到后面,把boot和交换分区全都挪了,顺利开机了,更新grub2,有个获取“rootb” uuid失败的错误:

~$ sudo update-grub2
get rootb uuid error: failed to get "rootb" uuid
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
找到 Linux 镜像:/boot/vmlinuz-5.15.1-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.1-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.13.13-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.13.13-amd64-desktop
/dev/sdb: open failed: 找不到介质
找到 Windows Boot Manager 位于 /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
完成

这个不用管他,是deepin自己发明的双根分区备份,如果你是手动分区没有这个东西就会报这个错误。

没有影响。

Reply View the author
WangZhongyun
deepin
2021-11-28 20:22
#9
与风长舞的叶

我能不能先备份boot和根分区,然后,重新分容量大两个区,最后还原到这新这两个分区?

这样就会出现引导的分区代码改变,一般就开机引导故障,修复引导是个问题

Reply View the author
150******10
deepin
2022-01-20 21:22
#10
WangZhongyun

建议把应用程序的数据转存到数据分区,这样系统分区的占用就少了

请问怎么转呢?第一次用这个系统

Reply View the author
WangZhongyun
deepin
2022-01-20 21:29
#11
150******10

请问怎么转呢?第一次用这个系统

另把一个没安装系统的分区格式化后,把你要备份的任何文件复制到这好了啊。

Reply View the author