0
I have a floppy disk image (x86 boot sector) and I want to find information about the disk geometry for it (specifically Cylinders/ Head/ Sector).
How can I find this information?
The file command shows the following output for the image:
file disk.img
disk.img: x86 boot sector
I installed fdutils on Linux and even tried the getfdprm command to get this information however it doesn't show the information.
$ getfdprm disk.img
get geometry parameters: Inappropriate ioctl for device
I am not sure why getfdprm doesn't show me the disk geometry.
Is there any other way to get this information?
1And
getfdparm
is meant to be used on a/dev/fd
device; where it would return the kernel information about the geometry. Unlike harddisks, where you can query the embedded controller for geometry, neither the floppy controller nor the floppy itself has that information. However, IBM floppies have a pretty standard geometry. – dirkt – 2018-11-02T17:50:17.840