나는 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
제가 뭔가 간단한 걸 놓치고 있는 것 같아요, 그렇죠?