Mainos / Advertisement:

Ero sivun ”Windows Deployment Services/en” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
(Ak: Uusi sivu: 7. Create a folder called '''pxelinux.cfg''' in the '''D:\RemoteInstall\Boot\x64''' and '''D:\RemoteInstall\Boot\x86''' directories.)
(Ak: Uusi sivu: == Sources ==)
 
(2 välissä olevaa versiota samalta käyttäjältä ei näytetä)
Rivi 117: Rivi 117:
 
7. Create a folder called '''pxelinux.cfg''' in the '''D:\RemoteInstall\Boot\x64''' and '''D:\RemoteInstall\Boot\x86''' directories.
 
7. Create a folder called '''pxelinux.cfg''' in the '''D:\RemoteInstall\Boot\x64''' and '''D:\RemoteInstall\Boot\x86''' directories.
  
8. Luo '''pxelinux.cfg''' kansion alle tiedosto nimetään '''default''' (ei tiedostopäätettä).
+
8. Create a fifle called '''default''' (no file extension) under the '''pxelinux.cfg''' directory.
  
9. Avaa tiedosto '''default''' ja kirjoita tiedostoon:
+
9. Open the '''default''' file and write this there:
  
 
<pre>
 
<pre>
Rivi 155: Rivi 155:
 
</pre>
 
</pre>
  
== Lähteet ==
+
== Sources ==
  
 
http://www.deployvista.com/Home/tabid/36/EntryID/126/language/en-US/Default.aspx
 
http://www.deployvista.com/Home/tabid/36/EntryID/126/language/en-US/Default.aspx

Nykyinen versio 25. elokuuta 2015 kello 08.58

Muut kielet:
English • ‎suomi

Windows Deployment Services (WDS) enables installing operating systems from your local network. WDS requires you to have Active Directory Domain Service, DHCP Server and DNS Server. The BIOS of the client machine the operating system is going to be installed on must support and have enabled network (PxE) booting.

Installation

Install the WDS role from Server Manager.

  1. Begin installation Manage -> Add Roles and Features
  2. Read Before you begin and select NEXT
  3. We select Role-based or Feature-based installation and install the WDS role on one server.
  4. We select the server the role is to be installed on.
  5. We select the WDS role.
  6. Select Add Feature, the role's control panel is now enabled.
  7. We skip the Feature tab, NEXT
  8. Read the description of the WDS role.
  9. We select all the features of the WDS role.
  10. Confirm installation INSTALL
  11. The role is now installed.

Configuration

  1. Open Windows Deployment Services from the Server Manager. Using the right mouse button, select Configure Server from the list.
  2. Read before continuing.
  3. Select how to install WDS: * Integrated in Active Directory Domain Service * Standalone Server
  4. Select where the WDS server is to be installed. It must be an NTFS partition and can not be a system partition.
  5. For instance on the root of the R drive.
  6. Define Proxy DHCP server
  7. Define who is allowed to use the WDS service
  8. Installing service
  9. If you encountered an error, start the service manually.

Add boot image

  1. Select Boot Image with the right mouse button and press Add Boot Image
  2. Select the location of the boot image. For this you can extract a Windows ISO file and get the boot.win file.
  3. Define a name for the image.
  4. Before continuing, make sure you defined everything right.
  5. Boot Image has been successfully created.


Add installation image

  1. With the right mouse button select Add Install Image
  2. Select image location. In an extracted Windows iso file this is called install.wim.
  3. Select the images to be added to the WDS server.
  4. Confirm changes.

Modify WDS boot menu

We change the WDS boot menu into a third party boot menu. We use Syslinux.

WDS service is installed under the D:\RemoteInstall directory.

1. Download and extract the syslinux installation file.

2. Copy the com\vesamenu32.c32 and com32\modules\chain.c32 files into the D:\RemoteInstall\Boot\x64 and D:\RemoteInstall\Boot\x86 directories, respectively.

3. Copy the core\pxelinux.0 file into the WDS server's D:\RemoteInstall\Boot\x64 and D:\RemoteInstall\Boot\x64 directories and in both of them change the name of the file pxelinux0 to pxelinux.com. It is recommended to backup the old file before doing this.

4. In the D:\RemoteInstall\Boot\x64 and D:\RemoteInstall\Boot\x86 directories, copy pxeboot.n12 and rename it to pxeboot.0.

5. In the D:\RemoteInstall\Boot\x64 and D:\RemoteInstall\Boot\x86 directory copy abortpxe.com rename it to abortpxe.0

6. Configre WDS to use the pxelinux.com boot file, this is done in the command line.

WDSUTIL /Set-Server /BootProgram:boot\x86\pxelinux.com /Architecture:x86
 
WDSUTIL /Set-Server /N12BootProgram:boot\x86\pxelinux.com /Architecture:x86
 
WDSUTIL /Set-Server /BootProgram:boot\x64\pxelinux.com /Architecture:x64
 
WDSUTIL /Set-Server /N12BootProgram:boot\x64\pxelinux.com /Architecture:x64

7. Create a folder called pxelinux.cfg in the D:\RemoteInstall\Boot\x64 and D:\RemoteInstall\Boot\x86 directories.

8. Create a fifle called default (no file extension) under the pxelinux.cfg directory.

9. Open the default file and write this there:

DEFAULT      vesamenu.c32
PROMPT       0
NOESCAPE     0
ALLOWOPTIONS 0
# Timeout in units of 1/10 s
TIMEOUT 300
MENU WIDTH 40
MENU MARGIN 0
MENU ROWS 12
MENU TIMEOUTROW 14
MENU HSHIFT 5
MENU VSHIFT 2
MENU COLOR BORDER 30;44       #00000000 #00000000 none
MENU COLOR TABMSG 1;36;44     #00000000 #00000000 none
MENU COLOR TITLE 1;36;44     #00000000 #00000000 none
MENU COLOR SEL   30;47       #40000000 #20ffffff
MENU TITLE PXE Boot menu
MENU WIDTH 80
MENU MARGIN 18
MENU ROWS 4
LABEL wds
 MENU       DEFAULT
# MENU PASSWD P@ssw0rd
 MENU       LABEL Windows Deployment Services
 KERNEL     pxeboot.0
LABEL local 
 MENU LABEL Boot from Harddisk
 LOCALBOOT 0 
LABEL Abort
 MENU LABEL AbortPXE
 KERNEL     abortpxe.0

Sources

http://www.deployvista.com/Home/tabid/36/EntryID/126/language/en-US/Default.aspx

Mainos / Advertisement: