Code Monkey home page Code Monkey logo

Comments (19)

jaromirk avatar jaromirk commented on May 12, 2024

Hmm, looks like convert-windowsimage (script that's called during creation of parent disks) has issues creating vhd. Can you check permissions on file system? You will also need to manually disable secure boot on VMs (switch to Microsoft UEFI CA and then disable), or machines will fail to boot.

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

Hi Jaromirk,

How do i check the permission on file system? I do not have any VMs created yet but i have disable secure boot on the PC i am using.
find attached.
vhd error

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

Hi Jaromirk,

Thanks for your assistance.....i have seen what the problem was. I was running the whole thing from an external disk, as soon as i copied it to the internal drive. The script executed perfectly.

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

Glad to hear that it worked well! :) Just curious - it was fat32 filesystem, wasn't it? Also give a try to dev branch - I added some cool stuff such as vTPM, nested virtualization, little bit different config (new file, just one variable). And let me know how it works and what can I make better. THX!

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

It was.....will try dev branch when i am done deploying. Meanwhile i ran into another problem

Error: 145

The directory is not empty.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

Deployment Image Servicing and Management tool
Version: 10.0.14300.1000

What am i suppose to do here?

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

Can you attach log?

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

Logs.docx

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

When does it happen (I mean which task - cleanup, 2_createparentdisks,3_deploy)? Can you also please add deploy.log/createparentdisks.log?

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

It happens during createparentdisks

CreateParentDisks.docx

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

It looks like that mountdir in temp folder still contains mounted VHD from last run. Check disk management and unmount vhd. Also delete temp folder and start again. Or just hydrate all from scratch in new folder (1_prereq -> 2_createparentdisks ...)

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

Hello, Thanks again......i was able to go a bit further than before. Createparentdisks was almost completing this time
CreateParentDisks.docx

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

And now you need to disable that Secure Boot I mentioned. In hyperv manager you should see DC that does not start. Go to settings of this Vm, switch Secure Boot to Microsoft UEFI CA, and then disable Secure Boot. The script then finishes. This is working well in RTM bits, so Ill not be fixing it as RTM will be announced at Ignite.

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

Btw if you follow the steps in readme, you should see this in step 5

Step 5 Right-click and run with PowerShell 2_CreateParentDisks.ps1
2_CreateParentDisks.ps1 will check if you have Hyper-V installed, it will prompt you for Windows Server 2016 TP5 ISO file, hydrate parent disks and hydrate Domain Controller.
note: if you have Windows 10 Anniversary Update, DC will fail to start. You need to switch Secure Boot to Microsoft UEFI CA and then disable Secure Boot. This problem is only in TP5 guests. RTM is OK.

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

I'm closing this issue. Takeaway is to create better documentation. I would be happy if you want to contribute. THX, Jaromir

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

I have finally been able to go through all the steps and my LAB is now up and running.....thanks a lot for your assistance.

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

Cool, did you try the S2D Scenario? https://github.com/Microsoft/ws2016lab/tree/master/Scenarios/S2D%20Hyperconverged%20TP5

from mslab.

aadebajo avatar aadebajo commented on May 12, 2024

Saw the link and I wanted to try, will like this o know if the variables.ps1 without nested virtualization will be ran within the script area we used in deploying the Lab. Then do I need to run all the configuration script on my main DC while others are still powered off?

from mslab.

jaromirk avatar jaromirk commented on May 12, 2024

I don't get it. Just look on that gif. It explains it....

from mslab.

MS-MatthewWalker avatar MS-MatthewWalker commented on May 12, 2024

When you run the deploy script it will handle the tasks on the DC.

from mslab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.