有一个新的团购1T移动硬盘。购买格化学式ntfs经过几次简单的子区域。 4G硬盘PE。100G高速互动,盈800许多G分为两个相等的存储盘。

到您的计算机USB接口后,, 桌面弹出自己主动4一封信。

打开前2一个本来没有问题。 写读一切正常。面两个一双击就会报错:

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://tuxera.com/community/ntfs-3g-faq/#unprivileged

大意就是这个ntfs-3g 没权限无法挂载。无论是不是root 。

如今我们来解决掉这个问题:

首先看看挂载。 先拔掉移动硬盘 运行 再插上运行, 会发现多了sdb3,sdb5

root@debian:/# cat /etc/mtab 
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=1015602,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=813700k,mode=755 0 0
/dev/disk/by-uuid/4c487d8c-396c-4601-b76d-eff7118d6775 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=4446660k 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
/dev/sdb3 /media/PE vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
/dev/sdb5 /media/T1 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

能够看到sdb是我的移动硬盘的。 可是仅仅挂载了2个盘符。

查看下硬盘现状

fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xb73dddb4 Device Boot Start End Blocks Id System
/dev/sda1 * 2048 209719295 104858624 7 HPFS/NTFS/exFAT
Partition 2 does not start on physical sector boundary.
/dev/sda3 1258387456 1925328895 333470720 83 Linux
/dev/sda4 1925330944 1953523711 14096384 82 Linux swap / Solaris Disk /dev/sdb: 1000.2 GB, 1000204138496 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523708 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
Disk identifier: 0x6b7612b3 Device Boot Start End Blocks Id System
/dev/sdb1 209921355 839685419 314882032+ 7 HPFS/NTFS/exFAT
/dev/sdb2 839685420 1953520064 556917322+ 7 HPFS/NTFS/exFAT
/dev/sdb3 63 8401994 4200966 b W95 FAT32
/dev/sdb4 8401995 209921354 100759680 f W95 Ext'd (LBA)
/dev/sdb5 8402058 209921354 100759648+ 7 HPFS/NTFS/exFAT Partition table entries are not in disk order

注意看, 这里识别了Disk /dev/sdb 1000.2 GB

可是挂载出错了。 以下报了一个错,

Partition table entries are not in disk order

说硬盘分区表不在硬盘的顺序里面,意思就是移动硬盘的分区表乱了。

既然是这样就简单了。 用fdisk来重建分区表就可以,  fdisk 挂载设备, 然后f  w 就能够更新分区表了。

root@debian:/# fdisk /dev/sdb

Command (m for help): x

Expert command (m for help): f
Done. Expert command (m for help): m
Command action
b move beginning of data in a partition
c change number of cylinders
d print the raw data in the partition table
e list extended partitions
f fix partition order
g create an IRIX (SGI) partition table
h change number of heads
i change the disk identifier
m print this menu
p print the partition table
q quit without saving changes
r return to main menu
s change number of sectors/track
v verify the partition table
w write table to disk and exit Expert command (m for help): p Disk /dev/sdb: 255 heads, 63 sectors, 121601 cylinders Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 1 1 0 254 63 522 63 8401932 0b
2 00 0 1 523 254 63 1023 8401995 201519360 0f
3 00 254 63 1023 254 63 1023 209921355 629764065 07
4 00 254 63 1023 254 63 1023 839685420 1113834645 07
5 00 1 1 523 254 63 1023 63 201519297 07 Expert command (m for help): w
The partition table has been altered! Calling ioctl() to re-read partition table.
Syncing disks.

这里就更新成功了分区表。 由于我这是移动硬盘,上面并没有挂载操作系统OS, 所以不须要更新挂载/etc/fstab 和/boot/grub/menu.list 这几个文件的相应挂载。

再次运行fdisk -l 发现已经成功挂载, 直接桌面能够直接点进去了。

Disk /dev/sdb: 1000.2 GB, 1000204138496 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523708 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
Disk identifier: 0x6b7612b3 Device Boot Start End Blocks Id System
/dev/sdb1 63 8401994 4200966 b W95 FAT32
/dev/sdb2 8401995 209921354 100759680 f W95 Ext'd (LBA)
/dev/sdb3 209921355 839685419 314882032+ 7 HPFS/NTFS/exFAT
/dev/sdb4 839685420 1953520064 556917322+ 7 HPFS/NTFS/exFAT
/dev/sdb5 8402058 209921354 100759648+ 7 HPFS/NTFS/exFAT

df 看下挂载点成功挂载

root@debian:/# df
Filesystem                                             1K-blocks      Used Available Use% Mounted on
rootfs                                                 328236772  10801844 300761392   4% /
udev                                                       10240         0     10240   0% /dev
tmpfs                                                     813700       972    812728   1% /run
/dev/disk/by-uuid/4c487d8c-396c-4601-b76d-eff7118d6775 328236772  10801844 300761392   4% /
tmpfs                                                       5120         0      5120   0% /run/lock
tmpfs                                                    4446660     26196   4420464   1% /run/shm
/dev/sdb1                                                4192756    578312   3614444  14% /media/usb0
/dev/sdb5                                              100759648  14680144  86079504  15% /media/T1
/dev/sdb3                                              314882032  35480048 279401984  12% /media/T2
/dev/sdb4                                              556917320 193748248 363169072  35% /media/T3




版权声明:本文博客原创文章,博客,未经同意,不得转载。

debian 该分区的部分安装移动硬盘后无法识别。的更多相关文章

  1. 联想U310 安装系统后无法识别机械硬盘处理

    过程: 原30G的固态更换成250G的 mSATA固态,去掉机械硬盘,开始在固态里安装系统, 系统用PE登录,安装正版Win7 64B 专业版, 安装结束,接上机械硬盘, *PE下,可以正常识别2块硬 ...

  2. 树莓派安装kali后的简单配置

    树莓派可以说是极客的最爱,可以根据不同的需求去做定制. 前文<使用树莓派和kali Linux打造便携式渗透套件>讲了一些使用树莓派的基础,主要侧重于将树莓派当作一个物理后门使用.我则更喜 ...

  3. 安装 CentOS 后的系统配置及软件安装备忘

    安装 CentOS 后的系统配置及软件安装备忘 // */ // ]]>   安装 CentOS 后的系统配置及软件安装备忘 Table of Contents 1 Linux 自举过程 1.1 ...

  4. 安装ubuntu和安装ubuntu后要安装的软件列表

    安装ubuntu 老毛桃进入win pe修复启动项 在win pe下面制作ubuntu的安装盘,只用的软件是ultraISO 参考博客下面的分区的那篇文章  http://jingyan.baidu. ...

  5. kali 安装完成后,无法进入界面

    vmware 下安装 kali-1.9 ,安装完成后,无法进入界面,提示: 系统出错且无法恢复,请联系管理员 解决办法如下: 在新建虚拟机的时候,选择客户端系统:linux   Debian 7. 因 ...

  6. U盘安装Centos后拔除U盘无法启动问题解决方法

    今天安装CentOS后发现把引导文件安装在U盘上了,所以不插U盘就无法进入CentOS系统,在网上找到这种方法成功摆脱U盘启动,避免重新用U盘做引导盘安装系统,简单省事,所以发个帖,留着以后备用. 1 ...

  7. debian系linux墙内安装安全工具集

    虽然有kali linux这样集合了很多安全工具的操作系统,但是kali的软件源相对老旧,没有ubuntu等主流debian系统丰富,kali默认使用su权限进入图形化界面也是违背linux权限机制的 ...

  8. linux安装mysql后root无法登录 sql 无法登录

    linux安装mysql后root无法登录 问题:[root@localhost mysql]# mysql -u root -pEnter password: ERROR 1045 (28000): ...

  9. debian+python3.5环境下安装paramiko模块:

    debian+python3.5环境下安装paramiko模块: 1.确保安装了操作系统安装了libssl-dev,zlib1g-dev  (redhat,centos下这两包包名为openssl-d ...

随机推荐

  1. 重写ResultSet实现分页功能(最好的分页技术)(转)

    1.首先定义一个接口Pageable 继承ResultSet这个类 并在接口中定义一些自己的方法,具体方法如下: package com.page; import java.sql.ResultSet ...

  2. MongoDB获得短暂的

    大约MongoDB该数据是现在比较少.和大多数英文网站.最上面的经笔者从官方网站翻译.请翻译或误解之处请作证.然后,我们将继续关注MongoDB,和翻译“Developer Zone”和“Admin ...

  3. Test SRM Level One: TemperatureScales

    题目来源:http://community.topcoder.com/stat?c=problem_statement&pm=6038 因为TopCoder SRM比赛使用的编译器进行了升级, ...

  4. JDK源码学习系列03----StringBuffer+StringBuilder

                         JDK源码学习系列03----StringBuffer+StringBuilder 由于前面学习了StringBuffer和StringBuilder的父类A ...

  5. ASF(传感器)

    版权声明:曾经的Blog文章合并.原创作品,谢绝转载.否则将追究法律责任. SensorManager类:用于创建sensor service的实例.该类提供了非常多 用于訪问和枚举传感器,注冊和注销 ...

  6. HDU 4313 Matrix

    水题:在一个双连通的树上有一些点很有破坏性,我们要把这些带破环性的点隔开,就是破坏一些边使这些点之间不连通,破坏一条边需要一点时间,问最少需要多少时间(同一时间只能破坏一个地方,且忽略位置转移的时间) ...

  7. SQL中IN,NOT IN,EXISTS,NOT EXISTS的用法和差别

    SQL中IN,NOT IN,EXISTS,NOT EXISTS的用法和差别: IN:确定给定的值是否与子查询或列表中的值相匹配. IN 关键字使您得以选择与列表中的任意一个值匹配的行. 当要获得居住在 ...

  8. window.history.back()的改进方法window.history.go()

    今天在做项目时,測试人员提出了一条bug,起初没当回事,在改动过程中才意识到其重要性,故记录下来. 依照需求,系统应该实现例如以下的功能:有三个关联的页面a.aspx(简称a),b.aspx(简称b) ...

  9. offsetTop和scrollTop差异

    最近写组件,这两个属性的结果搞的有点晕,我检查的文件及资料,这两个性质如下面总结: 他一直在offsetLeft.offsetTop,scrollLeft.scrollTop这些方法都是非常迷茫,花一 ...

  10. UI标签库的话题:JEECG智能开发平台 BaseTag(样式表和JS标签的引入)

    UI标签库专题一:JEECG智能开发平台 BaseTag(样式表和JS引入标签) 1.BaseTag(样式表和JS引入标签) 1.1. 演示样例 <t:base type="jquer ...