2023-06-11 09:30
Total allocated sectors greater than CHS size
Posted Yesterday, 09:25 PM Hi everyone: I've forgotten anything I ever knew about disk geometry (which wasn't much in the first place). I also have very little Linux knowledge/experience. I'm trying to partition a 64GB USB flash drive on my router. I use it to store logs, statistics, and other stuff. I am using Busybox, so I don't have access to some regular Linux commands. I used fdisk, as follows, to partition the drive: Command (m for help): p Disk /dev/sda: 57 GB, 61530439680 bytes, 120176640 sectors 7480 cylinders, 255 heads, 63 sectors/track Units: sectors of 1 * 512 = 512 bytes Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type Command (m for help): n Partition type    p   primary partition (1-4)    e   extended p Partition number (1-4): 1 First sector (63-120176639, default 63): Using default value 63 Last sector or +size{,K,M,G,T} (63-120176639, default 120176639): +28500M Command (m for help): p Disk /dev/sda: 57 GB, 61530439680 bytes, 120176640 sectors 7480 cylinders, 255 heads, 63 sectors/track Units: sectors of 1 * 512 = 512 bytes Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type /dev/sda1    0,1,1       1023,254,63         63   58368062   58368000 27.

https://www.bleepingcomputer.com/forums/t/786237/total-allocated-sectors-greater-than-chs-size/

#bleepingcomputer