ДЛЯ СЛАБОВИДЯЩИХ

Главное меню

Виртуализация физического сервера Windows 2008 R2 PDF Печать E-mail
Рейтинг пользователей: / 1
ХудшийЛучший 
Автор: news   
28.11.2016 14:46

Возникла необходимость перенести реальный сервер windows 2008 r2 в виртуальную среду на Hyper-V.
Диск был преобразован утилитой Disk2vhd и запущен на Hyper-V. 
Первая ошибка была STOP: 0x0000007B
Решение нашел тут
Восстановление Windows Server 2008 - STOP 0x0000007B
Решение для Hyper-V
После восстановления бекапа Windows Server 2008 R2 сделанного с физической машины на виртуальную машину, windows не запускается с ошибкой "STOP: 0x0000007B".
01. Вставьте в CD/DVD-ROM установочный диск Windows Server 2008 R2 DVD.
02. Загрузите с него виртуальную машину.
Восстановление Windows Server 2008 - STOP 0x0000007B
03. В окне «Install Windows», нажмите «Next».
Восстановление Windows Server 2008 - STOP 0x0000007B
04. Нажмите «Repair your computer»
Восстановление Windows Server 2008 - STOP 0x0000007B
05. Выберите «Use recovery tools that can help fix problems starting Windows. Select an operating system to repair»
06. Нажмите «Next»
Восстановление Windows Server 2008 - STOP 0x0000007B
07. Нажмите «Command Prompt» (командная строка)
Восстановление Windows Server 2008 - STOP 0x0000007B
08. Введите «regedit», запустится «Registry Editor»
09. Перейдите в «HKEY_LOCAL_MACHINE»
Восстановление Windows Server 2008 - STOP 0x0000007B
10. В меню «File» выберите «Load Hive» (Загрузить куст»)
Примечание: Пока не кликнешь на ветку «HKEY_LOCAL_MACHINE» 
в Меню не будет активна «Загрузить куст»
Восстановление Windows Server 2008 - STOP 0x0000007B
11. Выберите там файл «\Windows\System32\Config\SYSTEM»
12. Нажмите «Open»
Восстановление Windows Server 2008 - STOP 0x0000007B
13. В поле «Key Name», введите «Recovery»
14. Нажмите «OK»
Восстановление Windows Server 2008 - STOP 0x0000007B
15. Перейдите в «HKEY_LOCAL_MACHINE\Recovery\ControlSet001\services\intelide»
16. Откройте свойства ключа «Start»
Восстановление Windows Server 2008 - STOP 0x0000007B
17. Измените «Value data» на «0».
18. Нажмите «OK».
19. Перейдите в «HKEY_LOCAL_MACHINE\Recovery»
Восстановление Windows Server 2008 - STOP 0x0000007B
20. В меню нажмите «File» - «Unload Hive»
Восстановление Windows Server 2008 - STOP 0x0000007B
21. В окне «Confirm Unload Hive» нажмите «Yes»
22. Закройте «Registry Editor»
Восстановление Windows Server 2008 - STOP 0x0000007B
23. В окне «System Recovery Options», нажмите «Restart»
Восстановление Windows Server 2008 - STOP 0x0000007B
После перезагрузки восстановленный Windows должен запустится
Примечание: Если Windows Server 2008 R2 не запустился то вернитесь в шагу 18 и проверьте следующие параметры реестра
HKLM/Recovery/System/CurrentControlSet/Services/
Имя сервиса = Значение параметра Start
Aliide = 3
Amdide =3
Atapi = 0
Cmdide = 3
iaStorV = 3
intelide = 0
msahci = 3
pciide = 3
viaide = 3
LSI_SAS = 0
_
от меня: надо изменить во всех ветках HKLM/Recovery/System/CurrentControlSet/Services/

Возникла вторая проблема:

STOP: c00002e2

Решение тут и тут

There are several reasons you may get get this error. The most common being a corrupt Active Directory database (NTDS.DIT). I know this sounds detrimental, but it’s actually easy to fix this blue screen.

*** This is the Active Directory Database we’re talking about here, so make sure you have a good backup of the server, in case this doesn’t work***

This Stop code is only seen on a system with Active Directory on it. You notice it when the server is booting. You’ll get a blue screen and an error code, like the following:

STOP: c00002e2 Directory Services could not start because of the following error:

A device attached to the system is not functioning.

Error Status: 0xc0000001.

Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.

bluescreen_1

To begin, do as the message says, and boot into Directory Services Restore Mode. When the server powers on, press F8 before the OS begins to load. You should see a selection screen like this. Choose Directory Services Restore Mode:

How to Fix C00002E2 Directory Services Could Not Start - Blue Screen 2

Once in Directory Services Restore Mode, you can check if there is a problem with the database by running the following commands:

ntdsutil.exe

activate instance ntds

files

If there is a problem with it, you’ll see something like this returned:

Could not initialize the Jet engine: Jet Error -501. Failed to open DIT for AD DS/LDS instance NTDS. Error -2147418113

bluescree_fix1

To fix, just rename all of the .log files located in C:\windows\ntds to .log.old, or anything else, so they can be recreated.

How to Fix C00002E2 Directory Services Could Not Start - Blue Screen 4

Now reboot the server. For most people, this fixed the database, and the server booted up. For others, it still blue screened after this. If you continue to get a blue screen, run the following command in Directory Services Restore Mode, and then reboot:

esentutl /p “c:\windows\ntds\ntds.dit”

—– Same instruction above in details —

STOP: c00002e2 Directory Services could not start because of the following error: A device attached to the system is not functioning.

Error Status: 0xc0000001. Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.

  1. Restart the server and press F8 key, select Directory Services restore mode.
  2. Log in with the local administrator username and password
  3. Type: cd \windows\system32
  4. Type: NTDSUTIL
  5. Type: activate instance NTDS
  6. Type: files
  7. If you encounter an error stating that the Jet engine could not be initialized exit out of ntdsutil.
  8. Type: cd\
  9. Type: md backupad
  10. Type: cd \windows\ntds
  11. Type: copy ntds.dit c:\backupad
  12. Type: cd \windows\system32
  13. Type: esentutl /g c:\windows\ntds\ntds.dit
  14. This will perform an integrity check, (the results indicate that the jet database is corrupt)
  15. Type: esentutl /p   c:\windows\ntds\ntds.dit
  16. Agree with the prompt
  17. Type: cd \windows\ntds
  18. Type: move *.log c:\backupad   (or just delete the log files)

This should complete the repair.  To verify that the repair has worked successfully:

  1. Type: cd \windows\system32
  2. Type: ntdsutil
  3. Type: activate instance ntds
  4. Type: files        (you should no longer get an error when you do this)
  5. Type: info       (file info should now appear correctly)

I then rebooted and windows started normally.

После этого у меня заработало!!! :)

 

Некоторые полезные статьи:

1. Переименование контроллера домена ТУТ и ТУТ

2. Перенос настроек DHCP (мне помогло следующее - нашел в инете):

У меня в своё время тоже не получилось перенести DHCP-сервер при помощи команды netsh с ключами import и export. Похоже они действуют только в пределах одной версии Windows Server. Зато помогла команда netsh dhcp server [IPAddress] dump > dhcp.conf

В полученном текстовом файле (dhcp.conf) остается только заменить адрес старого DHCP-сервера на новый (менял везде где он встречается), а затем дать команду (на новом сервере) netsh <  dhcp.conf

меня в своё время тоже не получилось перенести DHCP-сервер при помощи команды netsh с ключами import и export. Похоже они действуют только в пределах одной версии Windows Server. Зато помогла команда
netsh dhcp server [IPAddress] dump > dhcp.conf
В полученном текстовом файле (dhcp.conf) остается только заменить адрес старого DHCP-сервера на новый, а затем дать команду (на новом сервере)
netsh <  dhcp.conf

Обновлено 19.01.2017 10:58
 

Авторизация



Лидер

3.gif

Лучшая школа

Кто на сайте

Сейчас 38 гостей и 1 пользователь онлайн
  • news

Дальний Восток

Баннер

Все информационные, фото, видео материалы на официальном сайте образовательной организации размещены с согласия сотрудников, родителей (законных представителей) учащихся

Решаем вместе
Есть предложения по организации учебного процесса или знаете, как сделать школу лучше?