![Raspberry Pi A Скачать руководство пользователя страница 8](http://html.mh-extra.com/html/raspberry-pi/a/a_getting-started-manual_787702008.webp)
Raspberry Pi Getting Started Guide
Page 8
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
===========================================================================
Print card info:
===========================================================================
Command (m for help): p
Disk /dev/sdb: 128 MB, 128450560 bytes
....
===========================================================================
Make a note of the card size in bytes. You will need it later.
Then go into "Expert mode":
===========================================================================
Command (m for help): x
===========================================================================
Now we want to set the geometry to 255 heads, 63 sectors and calculate the number of cylinders
required for the particular SD/MMC card:
===========================================================================
Expert command (m for help): h
Number of heads (1-256, default 4): 255
Expert command (m for help): s
Number of sectors (1-63, default 62): 63
Warning: setting sector offset for DOS compatiblity
===========================================================================
NOTE: Be especially careful in the next step. First calculate the number of cylinders as follows:
C = B / 255 / 63 / 512 where
B = Card size in bytes (The number you wrote down earlier.)
C = Number of cylinders
When you get the number, round it DOWN. Thus, if you got C = 108.8 you'll be using 108 cylinders.
===========================================================================
Expert command (m for help): c
Number of cylinders (1-1048576, default 1011): 15
===========================================================================