[Parted-maintainers] Bug#981692: Creating the same partitioning for debug
Eric Valette
eric.valette at free.fr
Wed Feb 3 10:04:36 GMT 2021
sfdisk -V /dev/sdb
/dev/sdb:
No errors detected.
Remaining 13226 unallocated 512-byte sectors.
sfdisk -d /dev/sdb > my_disk_partition.txt
more my_disk_partition.txt
label: dos
label-id: 0x0006411f
device: /dev/sdb
unit: sectors
sector-size: 512
/dev/sdb1 : start= 2048, size= 117184512, type=7, bootable
/dev/sdb3 : start= 117188606, size= 117252098, type=5
/dev/sdb5 : start= 117190656, size= 41013248, type=83
/dev/sdb6 : start= 158203904, size= 9762816, type=83
/dev/sdb7 : start= 167968768, size= 13670400, type=83
/dev/sdb8 : start= 181641216, size= 1951744, type=83
/dev/sdb9 : start= 183595008, size= 39059456, type=83
/dev/sdb10 : start= 222656512, size= 11784192, type=82
To recreate an identically partitionned disk
you can recreate the same disk format via:
sfdisk /dev/sdb < my_disk_partition.txt
--
Eric Valette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/parted-maintainers/attachments/20210203/3bafd534/attachment.html>
More information about the Parted-maintainers
mailing list