Установка Hyper-V, использующего pxelinux в среде Linux

Установка является той, которая ограничивает, сколько объектов можно выбрать сразу. Microsoft изменила поведение между Active Directory в 2003 и 2008. В 2003 Вы могли установить его действительно высоко, и это будет соблюдать его. В 2008 можно установить его действительно высоко, но это просто помещает произвольное ограничение на него. С объектами 40K в нашем AD дереве в 2003 Вы могли вытянуть их всех от единственной команды LDAP, когда мы перешли к 2008 (та же установка AD, ум), мы были ограничены 10 000 объектов. Это было жестким пределом

Единственный путь вокруг этого состоял в том, чтобы настроить клиент LDAP для поддержки разбитого на страницы режима поиска. Когда Вы соединяетесь с сервером LDAP, Вы говорите ему о принятии 'страниц' определенного числа. При создании запросов ответы отправляются в блоках, не больше, чем, что Вы указали как свой макс. размер страницы. Это уменьшает нагрузку на серверы LDAP вполне немного и - почему Microsoft поместила произвольный максимум (10K) на нее.

0
задан 29 January 2013 в 18:06
2 ответа

I've done this. It's difficult if you don't know what you're doing. Like, mind numbingly, soul crushingly difficult.

First you need to remap / to \ for all of your TFTP activity on your TFTP server. tdtpd supports this. This immediately breaks relative paths for anything that isn't Windows.

Then, you need to create a custom BCD bootloader that is aware of the relative path of all of your boot files on the PXE server. Yes, you need to manually re-create the boot structure and track down all of the files involved and make sure you're in the right spot. Even things like font files.

Then, you need to make sure that all of the Windows-specific "things" that happen during this process are handled (like the aforementioned slash remapping).

This will just make it so that your boot.wim is bootable. This isn't even counting what you need to do to actually get an installation image running (though, that's much more well documented).

When I was put in charge of imaging, the first thing I did was ditch that unsupported Frankenstein's Monster for WDS. If you're using Hyper-V, you obviously have Windows licenses. Just take the few minutes to set WDS up and save yourself a lot of headaches.

To answer your question, yes it can be done, and bits and pieces of the puzzle are scattered around the Googles, but it's really a whacky idea. It might be fun to do in a lab, but please just use WDS or WDS/MDT in production.

If I still had my notes about all of the config needed for this to work, I'd certainly pass them on, but it was multiple pages of customization that was needed and it changed from Windows version to Windows version, leaving you to beat your head against the wall every release.

3
ответ дан 4 December 2019 в 12:40

Установка Windows (и для этих целей Hyper-V - это Windows) по сети может выполняться через PXE. Это относительно просто сделать с помощью служб развертывания Windows (WDS). У меня нет опыта попытки установить Windows с PXE-сервера на базе Linux, но я подозреваю, что это можно было бы сделать, если бы вы могли понять, как подготовить загрузочные образы вручную, что в значительной степени делает WDS.

Widen Результат поиска. Ищите людей, которые устанавливают Windows через PXE-сервер на базе Linux. Ответы будут применимы.

0
ответ дан 4 December 2019 в 12:40

Теги

Похожие вопросы