안녕하세요. 시작시 Windows 파티션 (/ dev / sda3)을 자동으로 마운트하려면 “/ etc / fstab”파일에 무엇을 작성해야합니까?
이 오류 메시지가 나타납니다 (노틸러스에서 파티션의 책갈피를 클릭).
Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged
내 fstab은 다음과 같습니다.
> # /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb6 / ext4 errors=remount-ro 0 1
/dev/sda3 /media/Jonas ntfs rw,auto,users,nls=utf8,umask=007,gid=46 0 0
# swap was on /dev/sdb7 during installation
UUID=9dcdfad2-4e66-416e-bf68-142afe23fa0b none swap sw 0 0
/ media / Jonas 폴더를 만들었고 파티션은 / dev / sda3입니다. 내가 뭘 잘못 했어?
해결 방법 : 재부팅 후 제대로 작동했습니다. 이상한.
답변
다음과 같이 확신한다고 가정하십시오.-작성된 디렉토리가 / media / Jonas (대문자 J 포함)-ntfs 파티션이 / dev / sda3입니다 (발급하여이를 찾을 수 있습니다 sudo blkid
)
내 fstab은 더 간단한 양식을 사용합니다.
/dev/sda3 /media/windows ntfs defaults 0 0
“rw, auto, ….”를 “defaults”로 변경할 수 있습니다
답변
주제에 대한 정보를 조금 더 추가하겠습니다.
설치되지 않은 경우 ntfs 파티션 ntfs-3g
을 허용하도록 설치 하는 것이 좋습니다 r/w
.
apt-get install ntfs-3g
또한 ‘ 장치를 독립적으로 ‘ 설치하려면 blkid
실제 장치를 참조하는 대신 유틸리티 에서 수신 한 UUID를 사용하십시오 .
root:~ blkid
...
/dev/sda1: SEC_TYPE="msdos" LABEL="boot" UUID="140A-14B7" TYPE="vfat" PARTUUID="0009bf4f-01"
/dev/sda2: UUID="f24a4949-f4b2-4cad-a780-a138695079ec" TYPE="ext4" PARTUUID="0009bf4f-02"
/dev/sdb1: LABEL="Western Digital" UUID="1C0EBC7A0EBC4F10" TYPE="ntfs" PARTUUID="0002f5f9-01"
...
그런 다음 평소와 같이 마운팅 포인트를 작성 하고 다음 라인을 삽입하여 \wd
편집 /etc/fstab
하십시오.
..
UUID=1C0EBC7A0EBC4F10 /wd ntfs-3g defaults 0 0
..
로 재부팅하지 않고 새 장치를 마운트 할 수 있습니다 mount -a
.
당신의 필요 장치를 제거 할 경우 피할 데이터 손상, 확실하게 umount
( umount /wd
이 샘플)을.
답변
일반적으로 Windows 8에서 빠른 시작을 비활성화하는 것이 좋지만 때로는 해결되지 않는 경우가 있습니다.
sudo ntfs-3g -o remove_hiberfile /dev/sda2 /path/to/mount
필자의 경우 / path / to / mount는 / media의 개인 폴더이고 / dev / sda2는 Windows 파티션이었습니다.