Jump to content

Check my logic GPT/MBR backup


melerun
 Share

1 post in this topic

Recommended Posts

Hi all!

 

As this seems to be the place to ask these questions I come out guns blazing ;)

 

So for various reasons I need to make a backup of my boot table, and just to make sure I´m not completely off the rocker can someone please help me check the numbers?

Sorry if this already is covered in other treads...

 

GPT+Protective MBR

Backup:

dd if=/dev/disk of=File bs=512 count=34

Restore:

dd if=File of=/dev/disk bs=512 count=34

 

GPT only:

Backup:

dd if=/dev/disk of=File bs=512 skip=1 count=33 (so this is GPT without Protective MBR)

Restore:

dd if=File of=/dev/disk bs=512 skip=1 count=33 (so in my head its the same)

 

GPT + TrueCrypt BootLoader:

Backup:

dd if=/dev/disk of=File bs=512 skip=1 count=63

Restore:

dd if=File of=/dev/disk bs=512 skip=1 count=63

 

TrueCrypt boot loader only:

Backup:

dd if=/dev/disk of=File bs=512 skip=32 count=32

Restore:

dd if=File of=/dev/disk bs=512 skip=32 count=32

 

And the ever trusted MBR:

Backup:

dd if=/dev/disk of=File bs=512 count=1

Restore:

dd if=file of=/dev/disk

 

 

Thanks in advance for the patience

Link to comment
Share on other sites

 Share

×
×
  • Create New...