Next: , Previous: fstest, Up: Command-line and menu entry commands

13.3.13 geometry

— Command: geometry drive [cylinder head sector [total_sector]]

Print the information for the drive drive. In the grub shell, you can set the geometry of the drive arbitrarily. The number of cylinders, the number of heads, the number of sectors and the number of total sectors are set to CYLINDER, HEAD, SECTOR and TOTAL_SECTOR, respectively. If you omit TOTAL_SECTOR, then it will be calculated based on the C/H/S values automatically.