Solutions Through IT

August 13, 2011

Restoring SBS 2011 from SBS native backup to Virtual Machine

Filed under: Backups, SBS 2011 — solutionsthroughit @ 23:39

After several attempts that ended up with a nasty 0x0000007B error, and not being able to restore a server from backup, I happened across some articles that appeared to assist with resolving the issue.

The Hyper-V environment does not use ACHI mode for providing the hard disk interface, and restoring a machine to this configuration means that it can’t access the drives, as the native IDE has been disabled.  So, how to restore a backup and enable the drivers to start without a start-able operating system? Would you like the chicken or the egg?

The process that I used for this initial attempt was as follows:

  1. Booted the VM from a Server 2008 install disc.
  2. Select Repair
  3. Select Command Prompt
  4. regedit.exe
  5. Select to HKLM
  6. Selected File, Load Hive (Note: Must be under HKLM first, or this option will be greyed out)
  7. Navigated to C:\Windows\System32\Config\SYSTEM
  8. Loaded hive HKEY_LOCAL_MACHINE (which mounts as a sub-hive)
  9. Located the keys Vic refers to (but under …/ControlSet001 instead of …/CurrentControlSet)
  10. Made the following changes to the start value for the following keys:
    • Aliide = 3
    • Amdide =3
    • Atapi = 0
    • Cmdide = 3
    • iaStorV = 3
    • intelide = 0
    • msahci = 3
    • pciide = 3
    • viaide = 3
  11. Selected File, Unload Hive
  12. Reboot into AD Restore mode
  13. Removed NIC with
    • Type cmd.exe and right-click & select run as administrator
    • Type set devmgr_show_nonpresent_devices=1, and then press ENTER.
    • Type Start DEVMGMT.MSC, and then press ENTER.
    • Click View, and then click Show Hidden Devices.
    • Expand the Network Adapters tree.
    • Right-click the dimmed network adapter, and then click Uninstall.
  14. Checked Bindings for DNS / SQL / DHCP etc, and confirmed that they were on the new driver (NB: may have to re-install HyperV tools at this stage, to get the driver up).
  15. Rebooted to normal mode, to a functional system, as at the last backup.
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: