请问哪位知道怎么重命名磁盘名,现在显示的只是多少G
Tofloor
poster avatar
langyoutianxia
deepin
2018-05-20 05:18
Author
请问哪位知道怎么重命名磁盘名,现在显示的只是多少G,之前安装的windows10,昨天直接覆盖了windows,打算以后就用deepin了,但是磁盘名只是显示空间大小,不能命名,很不方便,有谁知道可以重命名。谢谢!
Reply Favorite View the author
All Replies
avatar
六七八九十
deepin
2018-05-20 05:21
#1
无解,因为linux不是这么分区的
Reply View the author
avatar
langyoutianxia
deepin
2018-05-20 05:39
#2
没办法,以前装的是windows系统,现在是将deepin装在c盘下,我不可能重新格式话所有的磁盘再重新分区。其实没什么无解不无解的,我看了几个磁盘是有挂接在一个Linux目录下的,只是那个目录是一个不好识别的字符串,而且在文件管理器上没有显示出来,其实这个问题以我对Linux系统的了解来说是完全有办法解决的,只是可能我不知道或者deepin的开发人员没有去研究怎么处理。同时,这种场景很多,很多人以前都装的是windows,几百G的文件不能copy到其它地方然后格式化磁盘再copy回来。
Reply View the author
avatar
RedPanda
deepin
2018-05-20 05:46
#3
本帖最后由 windcz91 于 2018-5-19 21:58 编辑

你可以使用e2label 这个命令自己改名
用法:sudo e2label 【设备名】【你要改的名】
如果你不知道设备名的话,用sudo fdisk -l查看你那几个分区的名注意:设备名指的是像/dev/sdb1 这样的格式的。/dev/sdb 这个是disk名
Reply View the author
avatar
RedPanda
deepin
2018-05-20 05:48
#4
我把光驱位装的硬盘改名叫资料盘
Reply View the author
avatar
langyoutianxia
deepin
2018-05-20 05:59
#5
sudo e2label /dev/sda7 软件
e2label: 超级块中的幻数有错 尝试打开 /dev/sda7 时
/dev/sda7 有一个 ntfs 文件系统
请问这个是什么问题呢?
Reply View the author
avatar
langyoutianxia
deepin
2018-05-20 06:01
#6
https://bbs.deepin.org/post/156677
我把光驱位装的硬盘改名叫资料盘

sudo e2label /dev/sda7 软件
e2label: 超级块中的幻数有错 尝试打开 /dev/sda7 时
/dev/sda7 有一个 ntfs 文件系统
请教下这个是什么问题呢?怎么处理呢?谢谢!
Reply View the author
avatar
RedPanda
deepin
2018-05-20 06:04
#7
https://bbs.deepin.org/post/156677
sudo e2label /dev/sda7 软件
e2label: 超级块中的幻数有错 尝试打开 /dev/sda7 时
/dev/sda7 有一个 ntf ...

大概是因为文件系统用的是ntfs吧。那个不是Linux用的文件系统,改label的话可能需要别的软件。
Reply View the author
avatar
RedPanda
deepin
2018-05-20 06:06
#8
我没有ntfs格式的硬盘,所以没办法验证这个方法有没有效果
sudo fdisk -l
sudo umount /dev/sd**
sudo ntfslabel /dev/sd** 【你要改的名
Reply View the author
avatar
woodelf
deepin
2018-05-20 06:10
#9
分区卷标用gparted就可以编辑,不明白为什么要用e2label这种只支持ext文件系统的命令来操作。
Reply View the author
avatar
RedPanda
deepin
2018-05-20 06:25
#10
https://bbs.deepin.org/post/156677
分区卷标用gparted就可以编辑,不明白为什么要用e2label这种只支持ext文件系统的命令来操作。 ...

因为我根本不知道gparted也可以改。。。。刚刚用了下,发现没找到改标签在哪儿。。
Reply View the author
avatar
RedPanda
deepin
2018-05-20 06:30
#11
https://bbs.deepin.org/post/156677
分区卷标用gparted就可以编辑,不明白为什么要用e2label这种只支持ext文件系统的命令来操作。 ...

找到了,但是不能用搜狗输入法输入中文标签。。。
Reply View the author
avatar
VI~TONISEN
deepin
2018-05-20 06:36
#12
https://bbs.deepin.org/post/156577#2
Reply View the author
avatar
qdlyg
deepin
2018-05-20 06:42
#13
用SUDO GPATRED会出来,但没有地方改卷标啊,怎么做?
Reply View the author
avatar
RedPanda
deepin
2018-05-20 06:46
#14
https://bbs.deepin.org/post/156677
用SUDO GPATRED会出来,但没有地方改卷标啊,怎么做?

要先把你要改名的那个盘先卸载,然后再右键改label
Reply View the author
avatar
h***w@163.com
deepin
2018-05-20 06:46
#15
本帖最后由 redtux 于 2018-5-19 22:49 编辑
https://bbs.deepin.org/post/156677
用SUDO GPATRED会出来,但没有地方改卷标啊,怎么做?

先卸载再设置, Label File system就是
Reply View the author
avatar
h***w@163.com
deepin
2018-05-20 06:47
#16
https://bbs.deepin.org/post/156677
找到了,但是不能用搜狗输入法输入中文标签。。。

那就复制粘贴咯
Reply View the author
avatar
jianguo922
deepin
2018-05-20 06:50
#17
学习了     
Reply View the author
avatar
RedPanda
deepin
2018-05-20 06:52
#18

所以感觉还是在终端输命令方便。。。
Reply View the author