u盘文件系统问题

一、现象分析      之前在操作U盘时候,出现不能挂载,应该文件系统出现bug。在xp下面也不能格式化。后来在ubuntu下试试,也是不可以挂载。挂载时候报, /dev/sdf4 bad superblock error。整个尝试流程:1.检查ext文件系统的正确性sudo e2fsck /dev/sdf4结果如下:e2fsck 1.41.11 (14-Mar
摘要由CSDN通过智能技术生成

一、现象分析

      之前在操作U盘时候,出现不能挂载,应该文件系统出现bug。在xp下面也不能格式化。后来在ubuntu下试试,也是不可以挂载。挂载时候报, /dev/sdf4 bad superblock error。

整个尝试流程:

1.检查ext文件系统的正确性

sudo e2fsck /dev/sdf4

结果如下:

e2fsck 1.41.11 (14-Mar-2010)
e2fsck: 超级块无效, trying backup blocks...
e2fsck: Bad magic number in super-block 当尝试打开 /dev/sdf4 时

The 超级块 could not be read or does not describe a correct ext2
文件系统.  If the 设备 is valid and it really contains an ext2
文件系统 (and not swap or ufs or something else), then the 超级块
is corrupt, and you might try running e2fsck with an alternate 超级块:
    e2fsck -b 8193 <设备>


2.重设superblock

sudo e2fsck -b 8193  /dev/sdf4

显示信息如下

e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Bad magic number in super-block 当尝试打开 /dev/sdf4 时

The 超级块 could not be read or does not describe a correct ext2
文件系统.  If the 设备 is valid and it really contains an ext2
文件系统 (and not swap or ufs or something else), then the 超级块
is corrupt, and you might try running e2fsck with an alternate 超级块:
    e2fsck -b 8193 <设备>

这个命令执行没有效果,汗


3.检测

sudo e2fsck -f  /dev/sdf4

信息:

e2fsck 1.41.11 (14-Mar-2010)
e2fsck: 超级块无效, trying backup blocks...
e2fsck: Bad magic number in super-block 当尝试打开 /dev/sdf4 时

The 超级块 could not be read or does not describe a correct ext2
文件系统.  If the 设备 is valid and it really contains an ext2
文件系统 (and not swap or ufs or something else), then the 超级块
is corrupt, and you might try running e2fsck with an alternate 超级块:
    e2fsck -b 8193 <设备>

后来想想干脆格式化得了。


4.格式化,我将其格式成vfat文件系统

sudo mkfs -V -t vfat /dev/sdf4

信息:

mkfs (util-linux-ng 2.17.2)
mkfs.vfat /dev/sdf4
mkfs.vfat 3.0.7 (24 Dec 2009

 命令执行没有异常

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值