Ubuntu挂载移动硬盘失败 Error mounting /dev/sdb1 at /media/mooc/谢涛: Command

阅读: 评论:0

Ubuntu挂载移动硬盘失败 Error mounting /dev/sdb1 at /media/mooc/谢涛: Command

Ubuntu挂载移动硬盘失败 Error mounting /dev/sdb1 at /media/mooc/谢涛: Command

我只有一个Ubuntu系统,不是双系统。

解决方法

1.命令行  --查看分区。

sudo fdisk -l
设备           Start    末尾    扇区   Size 类型
/dev/sda1       2048   1050623   1048576   512M EFI System
/dev/sda2    1050624 608466943 607416320 289.7G Linux filesystem
/dev/sda3  608466944 625141759  16674816     8G Linux swapDisk /dev/loop8: 253.5 MiB, 265785344 bytes, 519112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop9: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe21e1e1e设备       启动 Start    末尾    扇区   Size Id 类型
/dev/sdb1        2048 625139711 625137664 298.1G  7 HPFS/NTFS/exFAT

最后一行为有问题的硬盘;

2.命令行  --修复对应的分区

sudo ntfsfix /dev/sdb1

3.重新拔插硬盘

 

 

如果这时候的硬盘文件夹上面有个×,表示只读,需要修改权限

进入media/mooc/谢涛目录,跟换成你电脑对应的目录

chmod -R 700 谢涛/

-R参数            是递归 处理目录下的所有文件以及子文件夹

700                  是变更后的权限表示(只有所有者有读和写以及执行的权限)

 谢涛/               是需要执行的目录

本文发布于:2024-02-02 01:05:16,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170681202740408.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:移动硬盘   mounting   dev   Ubuntu   Error
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23