Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
如何修改分区的默认挂载位置
Experiences and Insight
1431
views ·
4
replies ·
To
floor
Go
fwgjay199016
deepin
2019-05-22 23:25
Author
装完系统后原来的e盘F盘 分区默认挂载到了 media/用户名/ 这个下面
因为有些文件权限的问题 想挂载到 mnt 下 。每次开机我都得执行下面的
卸载sudo umount /dev/sda7
重新挂载 sudo mount -t ntfs /dev/sda7 /mnt/project -o rw
请问有什么方式可以自动挂载这个地方 ?
Reply
Like 0
Favorite
View the author
All Replies
feidadru
deepin
2019-05-23 00:27
#1
/etc/fstab
加一行
Reply
Like 0
View the author
jianguo922
deepin
2019-05-23 00:44
#2
这块我提过意见,建议开发个可以挂载分区的小工具,还有移动一些默认目录文件或home文件
Reply
Like 0
View the author
远方的天
deepin
2019-05-23 02:27
#3
首先终端执行sudo blkid查看需要更改的磁盘的UUID,然后以管理员身份打开/etc/fstab,按已有的格式添加一行就行了!
注意:添加后磁盘不能物理移除,否则关机后再开机会有问题,如果要把磁盘物理移除,请先删除添加行或PE删除再开机。
Reply
Like 0
View the author
fwgjay199016
deepin
2019-05-28 23:11
#4
已经解决
在 /etc/fstab 里面加了一行这个 吧 sda7 挂载到 mnt/project
/dev/sda7 /mnt/project ntfs defaults 1 2
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 Events
More
因为有些文件权限的问题 想挂载到 mnt 下 。每次开机我都得执行下面的
卸载sudo umount /dev/sda7
重新挂载 sudo mount -t ntfs /dev/sda7 /mnt/project -o rw
请问有什么方式可以自动挂载这个地方 ?