查看Linux所有设备

cd  /dev

ls -l sd*  //分区

 

 

查看Linux磁盘

 

fdisk -lu

 

挂载

一般挂载至/mnt /media

mount /dev/sda5   /mnt/thinkiii

 

 

 

挂载时遇到一个问题

Error mounting /dev/sdb3 ...
status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdb3': 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.

 

一般该问题的原因是由于windows关闭不正常导致,解决方案如下:

通过nftsfix命令修复该磁盘

 

$ sudo ntfsfix /dev/sdb3
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/sdb3 was processed successfully.

 

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2021-05-15
  • 2022-02-07
  • 2021-10-17
  • 2021-07-08
  • 2022-01-11
猜你喜欢
  • 2022-12-23
  • 2021-06-09
  • 2021-12-06
  • 2022-01-14
  • 2021-06-25
  • 2021-12-05
  • 2021-05-23
相关资源
相似解决方案