4 ms·
Ask HN: How do I backup logical partition table with dd command?
I can take a backup of primary partition table entries (dd if=/dev/name of=file.txt bs=512 count=1), but how to take a backup of logical partition table with dd?
I tried to follow this https://en.wikipedia.org/wiki/Extended_boot_record but still unable to figure it out. I prefer solution without using sfdisk/fdisk binaries, that the possible? Anyone here attempted such task before?
- gravypod 10y agoIf you need to do any backing up of block level data, look at clonezilla. Using DD will be difficult to restore your data to other disks.
- giis 10y agothanks I'll look into clonezilla for backup partition entries option. I'm looking to backup only the partition table entries. Its was extremely to backup primary table entries.(it resides on first 512 bytes) but getting extended partition table entries seems trick.