Loading

双系统下 Ubuntu 永久挂载 windows 硬盘分区

分为临时挂载和永久挂载,临时挂载在 windows 硬盘分区文件有变动时挂载会自动注销

1.获得分区 UUID

sudo blkid

获得整个硬盘分区情况。从中获得被挂载分区的 UUID

2.修改系统配置

2.1 打开配置文件

sudo gedit /etc/fstab

2.2 增加挂载信息

# 添加至配置文件末尾
# 遵循下列格式(fstab 中会列出)
# <file system> <mount point> <type> <options> <dump> <pass>
# 举例,/mnt/windows/e 为要挂载在 ubuntu 中的位置,提前创建
UUID=12341234 /mnt/windows/e ntfs defaults 0 2

参考

  1. https://jakting.com/archives/ubuntu-rw-windows-files.html
  2. https://blog.csdn.net/discoverer100/article/details/102474118
posted @ 2020-12-16 21:29  锦瑟,无端  阅读(575)  评论(0编辑  收藏  举报