USB 記憶體的幾何結構 - 每柱面磁頭數為 124

USB 記憶體的幾何結構 - 每柱面磁頭數為 124

我有一個 USB 棒,該棒有一些問題,如何為其設置正確的幾何形狀

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org

Disk /dev/sda - 4009 MB / 3824 MiB - CHS 1018 124 62

Warning: the current number of heads per cylinder is 124
but the correct value may be 255.
You can use the Geometry menu to change this value.
It's something to try if
- some partitions are not found by TestDisk
- or the partition table can not be written because partitions overlaps.
$ sudo fdisk

Disk /dev/sda: 3.8 GiB, 4009754624 bytes, 7831552 sectors
Disk model: USB Flash Disk  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2be3e15c

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1        2048 7831551 7829504  3.8G  b W95 FAT32

http://damnsmalllinux.org/wiki/setting_the_proper_geometry_on_your_usb_pendrive.html 是關於它的​​手冊,但是我不覺得我擁有第 2 步中的所有重要信息

方程式

   total_sectors / 32 / number_of_heads = no_of_cylinders. 

寫成 (fdisk) no_of_sectors = 7831552 據說 (testdisk) no_of_heads 假設為 = 255

根據上面的等式,假設是 7831552 / 32 = 244736 244736 / 255 = 是 959.79401.... 這不是圓形的

其他計數是四捨五入,但不正確,因為它應該是 255... 244736 / 256 = 956

我錯過了一些簡單的事情,是嗎?

相關內容