- Save it between dash lines, e.g. as SATA2TB_MBR_partition_table_20230714.txt.
- Recover back partition table with the command:
sfdisk /dev/sda < SATA2TB_MBR_partition_table_20230714.txt
-----------------------------------------------------------------------------
label: dos
label-id: 0xbda255d3
device: /dev/sda
unit: sectors
sector-size: 512
/dev/sda1 : start= 391168, size= 1269243904, type=83
/dev/sda2 : start= 1273829376, size= 2633199616, type=f
/dev/sda5 : start= 1273831424, size= 1851142144, type=83
/dev/sda6 : start= 3124975616, size= 782053376, type=83
-----------------------------------------------------------------------------
沒有留言:
張貼留言