【发布时间】:2018-04-18 23:28:56
【问题描述】:
你好。
我需要帮助。我想在 ubuntu 16.04 中安装驱动器 D。但是 我的分区是ntfs格式。 (驱动器 C 和 D)
我已经在我的电脑上安装了 Windows 7,但后来我删除了它并安装了 Ubuntu 16.04,但我只是对驱动器 C 进行了重新分区,并没有更改驱动器 D 的分区。
表示我更改了 C 分区并将其分区为 Ubuntu 操作系统(如 home & swap & root)。 D 的划分是常数。所以D分区没有改变。(D分区是NTFS)
在 C 中为 ubuntu 分区
安装 Ubuntu 后,我想打开我的 D 盘 (ntfs) 但收到以下错误:
this message show when i want to open drive
在终端安装时给我这个消息:
`root@mjb:/home/mjb# mount -t "ntfs" /home
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.`
还有这个:
sudo mount -t ntfs-3g /dev/sda5 /dummy
[sudo] password for mjb:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda5': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
我测试了这个解决方案:
- 打开终端
- 输入这个命令
sudo -mount -t ntfs -r /dev/sda5然后回车
然后分区挂载,但我有一个新问题:
分区是只读的,因为我输入了命令 -r
ubuntu 在报错信息中告诉我:你可以以只读方式挂载分区。
我的问题是:是否存在任何以读/写形式挂载分区的命令。
【问题讨论】:
标签: linux ubuntu terminal command mount