• 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软件下载地址

  • 相关阅读:
    Python第四次作业
    spynet(六):光流整体结构
    SMB 协议详解之-NTLM身份认证
    Sentinel持久限流化化规则到Nacos
    python3 中调用 C 语言的函数
    [SQL] union all
    在PostgreSQL中如何有效地批量导入大量数据,并确保数据加载过程中的性能和稳定性?
    【微信自动化】使用c#实现微信自动化
    计算机视觉专家:如何从C++转Python
    大数据:数据策略之CAP理论和BASE理论
  • 原文地址:https://blog.csdn.net/qq_32966261/article/details/133856235