eu tenho um stick USB e este stick tem alguns problemas, como configurá-lo com geometria adequada
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
depoishttp://damnsmalllinux.org/wiki/setting_the_proper_geometry_on_your_usb_pendrive.html é manual sobre isso, no entanto, não sinto que tenha todas as informações importantes da etapa 2
equação
total_sectors / 32 / number_of_heads = no_of_cylinders.
está escrito (fdisk) no_of_sectors = 7831552 diz-se (testdisk) que no_of_heads supõe ser = 255
e de acordo com a equação acima, suponha que seja 7831552/32 = 244736 244736/255 = é 959,79401.... o que não é redondo
outra contagem é redonda, mas não adequada, porque supõe-se que seja 255... 244736/256 = 956
estou sentindo falta de algo simples, estou?