Windows 10 GPT分区包含重要数据,我需要将其挂载到centos 6中。
当前操作系统版本
[root@dcconnect ~]# cat /etc/redhat-release
CentOS release 6.7 (Final)
[root@localhost ~]# parted -l
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
2 1049kB 538MB 537MB ext4 boot
3 538MB 5781MB 5243MB linux-swap(v1)
4 5781MB 214GB 208GB ext4
1 214GB 1000GB 786GB ntfs Basic data partition hidden
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
但是,我似乎无法安装它:
[root@localhost ~]# mount -t ntfs /dev/sda1 /mnt/
mount: unknown filesystem type 'ntfs'
出了什么问题以及如何修复它?
答案1
您需要安装ntfs-3g
并fuse
:
yum -y install ntfs-3g
yum install fuse
modprobe fuse
创建挂载点:
mkdir /mnt/win
现在,运行以下命令:
mount -t ntfs-3g /dev/sda1 /mnt/win