Difference between revisions of "Linux command: fdisk"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) m (Protected "Linux command: fdisk" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Rafahsolis (talk | contribs) |
||
| Line 1: | Line 1: | ||
fdisk -l --> list partition talbe | fdisk -l --> list partition talbe | ||
| + | |||
| + | == Backup partition talbe == | ||
| + | sfdisk -d /dev/sda > part_table | ||
| + | == Restore partition table == | ||
| + | sfdisk /dev/sda < part_table | ||
Latest revision as of 16:47, 23 November 2018
fdisk -l --> list partition talbe
Backup partition talbe
sfdisk -d /dev/sda > part_table
Restore partition table
sfdisk /dev/sda < part_table