![]() After that, the actual partitions are created according to the desired partition scheme. ![]() The first step to partitioning a disk is making a partition table. ![]() To later restore this layout you can run: Label-id: AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE The file should look something like this for a single ext4 partition that is 1 GiB in size: Run the following command for device /dev/sda: You can also use a backup to copy the same partition layout to numerous drives.įor both GPT and MBR you can use sfdisk to save the partition layout of your device to a file with the -d/ -dump option. Backup and restore partition tableīefore making changes to a hard disk, you may want to backup the partition table and partition scheme of the drive. Note: If the device is not specified, fdisk will list all partitions in /proc/partitions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |