I have an Acer laptop I've been toying with, at some point I backed up the 'Acer recovery' hidden partition using dd.
iirc I used a LiveCD and something like:
dd if=/dev/sda1 of=/mnt/remote/acer.img
to store the 'partition'. I did not backup the entire drive. The resulting file is:
5239471104 acer.aspire.5600.recovery.partition.img
After that, I wiped the partition table and installed Ubuntu Netbook remix.
Knowing that the .img size is:5239471104 bytes and the recovery partition was a hidden, primary near the start of the disk. What would I need to do, if I wanted to wipe the partition table again and re-create this 'recovery' partition exactly as it was?
As an extra question, if anyone happens to know:
Granted that I did not backup the entire disk, and the MBR has since been overwritten, would I be missing the 'recovery' functionality Acer laptops have? I am referring to using alt-F10 during BOOT to switch to Acer's recovery/installation environment.
( I'm guessing this is a BIOS function and not a boot-loader function, so if the partition is re-created exactly the way the BIOS recovery loader expects it to be, it should work, but that's just a guess )