
我的電腦有問題;我最近安裝了基於 Debian 的 Deepin Linux,我想在上面使用我的內部 ntfs 格式的硬碟。
我創建了一個fstab
在啟動時自動安裝它的條目,以下是行:
UUID=BE9823F89823AE39 /media/Data ntfs defaults,gid=1000,uid=1000 0 0
問題是,在預設選項中,磁碟應該安裝為rw
,但它仍然處於唯讀模式。
有人有想法可以幫助我嗎?
編輯:
我做了 jpgaugh 所說的,但它仍然不起作用;這是我的新fstab
行:
UUID=BE9823F89823AE39 /media/Data ntfs-3g defaults,gid=1000,uid=1000,dmask=022,fmask=133 0 0
答案1
好吧,我終於找到如何讓它發揮作用。
問題是由於 Windows 10 在分割區上留下了一些 Windows 快取資料。為了解決這個問題,我在 Windows 上啟動,停用了快速啟動選項,然後重新啟動到 Linux,現在一切正常了。
這是我的工作fstab
線:
UUID=BE9823F89823AE39 /media/Data ntfs-3g defaults,gid=1000,uid=1000,dmask=022,fmask=133 0 0
答案2
還知道與視窗 10你必須小心,因為預設關閉會使 ntfs 磁碟進入睡眠或休眠狀態,而不是傳統的刷新和卸載狀態或任何所謂的狀態;這要么會導致其他作業系統掛載該ntfs磁碟出現問題,要么當win10休眠時別人訪問過該磁碟後,windows 10再次訪問該磁碟時,win10通常會認為該磁碟髒了並進行磁碟檢查。
Windows 10 - 控制台 - 電源選項 - 系統設定或選擇電源按鈕的功能 -取消選取開啟快速啟動(建議)
關閉快速啟動
為了更好地了解正在發生的事情的技術答案,請進行網路搜索windows 10 磁碟快速啟動會解釋。我遇到了許多 Windows 10 問題和 Linux 安裝問題,在一個磁碟上使用 Win10,在 Linux 使用的另一張磁碟上使用 LinuxNTFS-3G存取我的 ntfs 磁碟。另外,他們說win10快速啟動不影響重新開始它只影響關閉
和來自 tuxera.com NTfg-3g 的開發者他們指出:
Windows hibernation and fast restarting
On computers which can be dual-booted into Windows or Linux, Windows has to be fully shut down before booting into Linux.
otherwise the NTFS file systems on internal disks may be left in an inconsistent state and changes made by Linux may be ignored by Windows.
So, Windows may not be left in hibernation when starting Linux, in order to avoid inconsistencies.
Moreover, the fast restart feature available on recent Windows systems has to be disabled.
This can be achieved by issuing as an Administrator the Windows command which disables both hibernation and fast restarting :
powercfg /h off