安装Ubuntu后无法挂载NTFS怎么办
2个回答
展开全部
是无法自动挂载吧,我写过一个教程:
查看系统磁盘号
sudo fdisk -l
查看磁盘类型
sudo blkid
如图:图中的sda1,5,6,7是对应windows下的C,D,E,F盘,文件系统是ntfs,Linux分区一般为ext4,Windows分区一般为ntfs
修改配置文件
sudo gedit /etc/fstab
配置文件包含以下几项:
:分区定位,可以给磁盘号,UUID或LABEL,例如:/dev/sda2,UUID=6E9ADAC29ADA85CD或LABEL=software
: 具体挂载点的位置,例如:/media/C
: 挂载磁盘类型,linux分区一般为ext4,windows分区一般为ntfs
: 挂载参数,一般为defaults
: 磁盘备份,默认为0,不备份
: 磁盘检查,默认为0,不检查
配置图:
检查并挂载新添项:
sudo mount -a
mount -a会/etc/fstab中的项全部挂载,如果有错,则会提示错误,然后根据错误找出原因修改。
重启,自动挂载。
注意:千万不要挂载到当前用户的根目录,因为挂载的分区会覆盖当前分区内容
展开全部
终端输入 sudo fdisk -l
显示的是Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x191f4f73
设备 启动 起点 终点 块数 Id 系统
/dev/sda1 * 63 237183659 118591798+ 7 HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 237187070 976771071 369792001 f W95 扩展 (LBA)
Partition 2 does not start on physical sector boundary.
/dev/sda5 237187072 446901915 104857422 7 HPFS/NTFS/exFAT
/dev/sda6 446904320 618703009 85899345 7 HPFS/NTFS/exFAT
/dev/sda7 702043896 806905224 52430664+ 83 Linux
/dev/sda8 806905856 808903901 999023 82 Linux 交换 / Solaris
/dev/sda9 808904704 976771071 83933184 83 Linux
/dev/sda10 618704896 702040063 41667584 83 Linux
终端输入 sudo ntfsfix /dev/sda5 #5为WINDOWS分区
Mounting volume… The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors…
Processing $MFT and $MFTMirr…
Reading $MFT… OK
Reading $MFTMirr… OK
Comparing $MFTMirr to $MFT… OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition… OK
Going to empty the journal ($LogFile)… OK
Checking the alternate boot sector… OK
NTFS volume version is 3.1.
NTFS partition /dev/sda5 was processed successfully.
重新加载即可
显示的是Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x191f4f73
设备 启动 起点 终点 块数 Id 系统
/dev/sda1 * 63 237183659 118591798+ 7 HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 237187070 976771071 369792001 f W95 扩展 (LBA)
Partition 2 does not start on physical sector boundary.
/dev/sda5 237187072 446901915 104857422 7 HPFS/NTFS/exFAT
/dev/sda6 446904320 618703009 85899345 7 HPFS/NTFS/exFAT
/dev/sda7 702043896 806905224 52430664+ 83 Linux
/dev/sda8 806905856 808903901 999023 82 Linux 交换 / Solaris
/dev/sda9 808904704 976771071 83933184 83 Linux
/dev/sda10 618704896 702040063 41667584 83 Linux
终端输入 sudo ntfsfix /dev/sda5 #5为WINDOWS分区
Mounting volume… The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors…
Processing $MFT and $MFTMirr…
Reading $MFT… OK
Reading $MFTMirr… OK
Comparing $MFTMirr to $MFT… OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition… OK
Going to empty the journal ($LogFile)… OK
Checking the alternate boot sector… OK
NTFS volume version is 3.1.
NTFS partition /dev/sda5 was processed successfully.
重新加载即可
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询