• linux U盘无法使用,提示“Partition table entries are not in disk order“


    问题:

    U盘在Windows上使用正常,在linux下无法使用fdisk -l 命令提示:Partition table entries are not in disk order

    $ fdisk -l         
    
    Disk /dev/sdb: 525 MB, 525336576 bytes
    17 heads, 59 sectors/track, 1022 cylinders
    Units = cylinders of 1003 * 512 = 513536 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sdb1   ?      775809     1913904   570754815+ 72 Unknown
    Partition 1 has different physical/logical beginnings (non-Linux?):
         phys=(357, 116, 40) logical=(775808, 8, 13)
    Partition 1 has different physical/logical endings:
         phys=(357, 32, 45) logical=(1913903, 14, 4)
    Partition 1 does not end on cylinder boundary
    /dev/sdb2   ?      168185     2098423   968014120  65 Unknown
    Partition 2 has different physical/logical beginnings (non-Linux?):
         phys=(288, 115, 43) logical=(168184, 16, 27)
    Partition 2 has different physical/logical endings:
         phys=(367, 114, 50) logical=(2098422, 8, 24)
    Partition 2 does not end on cylinder boundary
    /dev/sdb3   ?     1864289     3794527   968014096  79 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
         phys=(366, 32, 33) logical=(1864288, 10, 12)
    Partition 3 has different physical/logical endings:
         phys=(357, 32, 43) logical=(3794526, 1, 20)
    Partition 3 does not end on cylinder boundary
    /dev/sdb4   ?           1     3626348  1818613248   d Unknown
    Partition 4 has different physical/logical beginnings (non-Linux?):
         phys=(372, 97, 50) logical=(0, 0, 1)
    Partition 4 has different physical/logical endings:
         phys=(0, 10, 0) logical=(3626347, 7, 42)
    Partition 4 does not end on cylinder boundary
    
    Partition table entries are not in disk order
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34

    原因:

    U盘分区异常

    解决:

    使用Partition Manager重新格式化U盘
    在这里插入图片描述
    格式化完成后,再次查看U盘信息。现在就可以正常挂载使用了。

    $ fdisk -l  
    Disk /dev/sdb: 525 MB, 525336576 bytes
    255 heads, 63 sectors/track, 63 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sdb1               1          64      513024   6 FAT16
    Partition 1 has different physical/logical endings:
         phys=(62, 254, 63) logical=(63, 221, 30)
    
    Disk /dev/sdb1: 525 MB, 525336576 bytes
    255 heads, 63 sectors/track, 63 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
         Device Boot      Start         End      Blocks  Id System
    /dev/sdb1p1               1          64      513024   6 FAT16
    Partition 1 has different physical/logical endings:
         phys=(62, 254, 63) logical=(63, 221, 30)
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19

    其他相关

    linux嵌入式系统上不认u盘的解决方法
    Partition Manager软件下载地址

  • 相关阅读:
    华为防火墙如何配置端口回流,就是内网能用外网ip访问服务器,现在除了本地的外网都能访问,就是本地pc访问不了服务器
    二分查找以及扩展
    程序员都看不懂的代码
    python文本编码格式问题【合集】
    React - 路由组件传参
    结合pyttsx3与pynput模拟实现自动发送qq消息
    Java程序员常用英语单词800+(建议收藏)
    分布式系统可观测性之应用业务指标监控
    论文基础常识摘录
    江苏全面推进双重预防数字化建设,强化落实危化企业主体责任
  • 原文地址:https://blog.csdn.net/qq_32966261/article/details/133856235