{"id":700,"date":"2016-01-19T18:39:34","date_gmt":"2016-01-19T17:39:34","guid":{"rendered":"https:\/\/www.em-soft.si\/myblog\/elvis\/?p=700"},"modified":"2016-01-19T18:39:34","modified_gmt":"2016-01-19T17:39:34","slug":"installing-nano-server-on-phisical-computer","status":"publish","type":"post","link":"https:\/\/em-soft.si\/myblog\/elvis\/?p=700","title":{"rendered":"Installing Nano server on Phisical computer"},"content":{"rendered":"<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Many of us are testing Nano servers, but as creating VHD is well documented and you can find step-by-step instruction anywhere, deploying Nano server on a host computer is not well documented. I will try to make a step-by-step deployment for deploying a Nano server on a physical server and disk in this post.<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">All files that you need for deploying a Nano server are located in NanoServer folder on the installation DVD.<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">For begin deployment you have few possibilities; you can start from Win PE environment, WDS or installation DVD. If you start from DVD or WDS, you have to launch a setup program and then in the first step (where you can choose the language) press Shift + F10 to open command prompt. Actually we do not need installation, but we use it only to access to the command prompt.<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Now, we will use diskpart.exe for preparing and partitioning the disk. Here you have to know some limitations: Nano server will start if disk is in formatted GPT mode and here we will prepare the disk to start from UEFI. So, let start and prepare our disk:<\/span><\/p>\n<table style=\"height: 181px;\" width=\"788\">\n<tbody>\n<tr>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\"><strong>Diskpart<\/strong><\/span><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">With this command you will enter in the diskpart mode<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">List disk<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Use to locate the disk where you want to install the Nano server. (in my case is number 2)<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Select disk 2<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Select the right disk<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Detail disk<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Optional \u2013 with this command you will receive detailed info about the selected disk <\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Clean<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">If there are some partition on disk, you have to delete them<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Convert GPT<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">This command will convert your disk to GPT<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">The next step is creating partitions that we need. As we want to use UEFI boot, we need three partitions.<\/span><\/p>\n<table style=\"height: 250px;\" width=\"789\">\n<tbody>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Create Partition MSR Size=128<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Create MSR (Microsoft reserved) partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Create Partition EFI Size=128<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Create System partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Format FS=FAT32 Quick Label=EFI<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Format System partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Assign Letter=S<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Assign letter to System partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Create Partition Primary<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Create primary partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Format FS=NTFS Ouick Label=System<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Format primary partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Assign letter=W<\/span><\/strong><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Assign drive letter to primary partition<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\"><strong>Exit<\/strong> <\/span><\/td>\n<td><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Exit from diskpart<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">With these steps we prepared the disk for deploying server. Now we have all partitions ready, but we still need to deploy the server image and create this disk as bootable.<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">For deploying the image, we will use DISM. Deploying image with DISM is exactly the same as in previous versions, but you have to remember that when you will log in to Nano server, you will not be able to add or remove functionalities or manage server directly from server \u2013 this must be done remotely. For this reason, it is better to deploy packages we need in this step. Of course OEM drivers package is mandatory as we are deploying server to physical server.<\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">For deploing server image on the disk you have to use DISM in this way: <\/span><\/p>\n<p><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">dism \/Apply-image \/Imagefile:C:\\nanoserver\\nanoserver.wim \/Index:1 \/Applydir:W:\\<\/span><\/strong><\/p>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">You may have to change the file destination and apply directory based on your configuration. <\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Now the server image is deployed on the disk, but it is only a basic image and we still have to deploy drivers and functionalities that we need. All of this can be done by deploying packages and drivers. In some cases, you will need to deploy additional drivers (for example RAID drivers). This deployment is also done with DISM, but is not covered in this article.<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Packages that are available for Nano server are located in Packages folder on DVD and you can choose which to install. DISM command for installing the package is:<\/span><\/p>\n<p><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">dism \/Add-Package \/PackagePath:C:\\NanoServer\\packages\\Microsoft-NanoServer-DSC-Package.cab \/Image:w:\\<\/span><\/strong><\/p>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Once again you have to change the package location and name and where to deploy it (image parameter), based on your configuration. In this way you have to deploy all packages you need; one by one. This are packages that are available for Nano server:<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Compute = Hyper-V Server<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">OEM-Drivers = Standard OEM Drivers (required if server is host)<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Storage = Storage Server<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">FailoverCluster = FailOver Cluster Server<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">ReverseForwarders = ReverseForwarders to allow some older App Servers to run<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Guest = Hyper-V Guest Tools (reqired if server is virtualized)<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Containers = Support for Hyper-V and Windows containers<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Defender = Windows Defender<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">DCB = Data Center Bridging<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">DNS = DNS Server<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">DSC = PowerShell Desired State Configuration Support<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">IIS = Internet Information Server (Web Server)<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">NPDS = Network Performance Diagnostics Service<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">SCVMM = System Center VMM<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">SCVMM-Compute = Sysmte Center VMM Compute<\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Now remains only to make the disk bootable and we will use BCDBOOT:<\/span><\/p>\n<p><strong><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">bcdboot w:\\windows \/s s: \/f UEFI<\/span><\/strong><\/p>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Don\u2019t forget that some switches may have to be different and they depend on your configuration. <em>W:\\Windows<\/em> is the folder where you have the deployed server image and <em>S:<\/em> is the letter of EFI partition. <\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">Finally, we have all done, just reboot the server and use it. <\/span><br \/>\n<span style=\"font-size: 12pt; font-family: times new roman,times,serif;\">As in all other server installations, on first logon you have to change the Administrator password. Don\u2019t be afraid how, just try to logon with blank password and you will be asked for a new one.<\/span><a style=\"text-decoration:none\" href=\"\/index.php?s=imusporin-online-safely\">.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many of us are testing Nano servers, but as creating VHD is well documented and you can find step-by-step instruction anywhere, deploying Nano server on a host computer is not well documented. I will try to make a step-by-step deployment for deploying a Nano server on a physical server and disk in this post. All [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,15],"tags":[19,40],"class_list":["post-700","post","type-post","status-publish","format-standard","hentry","category-virtualization","category-windows-server","tag-hyper-v","tag-windows-server"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=700"}],"version-history":[{"count":1,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/700\/revisions"}],"predecessor-version":[{"id":701,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/700\/revisions\/701"}],"wp:attachment":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}