titions in the legacy partition table and create a new GUID Partition Table (GPT). You only need
to do this once, so if you have done this before, you should skip this step.
The transcript below shows the user using the
gdisk
program to delete partitions defined in the
MBR partition table and creating a GPT (GUID Partition Table). Bolded text is user input. Before
proceeding to the next step, ensure that you have followed a similar procedure. The next step
will fail if an existing MBR partition table remains on the SD card.
$
sudo gdisk /dev/exb
GPT fdisk (gdisk) version 1.0.1
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.
Command (? for help):
p
Disk /dev/exb: 61440 sectors, 30.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): E2725DE1-5C7D-47A4-AADB-1C87907A1E50
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 61406
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 10239 4.0 MiB 8300 Linux filesystem
2 10240 61439 25.0 MiB 8300 Linux filesystem
Command (? for help):
d
Partition number (1-2):
2
Command (? for help):
d
Using 1
Command (? for help):
o
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N):
Y
Command (? for help):
p
Disk /dev/exb: 61440 sectors, 30.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): E1CE61B3-E5AD-422D-8974-A612BBEC9DE1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 61406
Partitions will be aligned on 2048-sector boundaries
17
Содержание HiFive Unleashed
Страница 1: ...SiFive HiFive Unleashed Getting Started Guide v1p2 SiFive Inc ...
Страница 4: ...8 4 MicroSD Card Connector 24 8 5 JTAG Connector 24 2 ...
Страница 10: ...8 ...