Windows 10 Building and Modding and Custom OS"s

Discussion in 'PC' started by Gyro Gearloose, Sep 13, 2020.

  1. Gyro Gearloose

    Gyro Gearloose Audiosexual

    Joined:
    Jul 8, 2019
    Messages:
    4,237
    Likes Received:
    1,846
    Location:
    Germany
    SOURCE : 00Proteus00 - teamos

    How to build an OS using VirtualBox


    Grab a CLEAN unmodified version of windows 10
    Open Virtualbox and make a NEW entry. (Virtual Machine or VM)
    Give that VM a DYNAMIC hard drive of 100gb (dynamic is set to 100gb but only uses space as needed so the whole 100gb isnt used)
    Give that VM a 2nd DYNAMIC hard drive of 50gb and name it WIMS
    Memory for VM - 4096gb (Your availability may vary)
    Cores - 4 (your availability may vary)

    Heres my setup in pics, easier to explain. The only settings I change from default are shown in images, so if you set yours up the same way as shown, it should work same as mine. My VM is named Windows10Builder.

    [​IMG]
    [​IMG]

    [​IMG]
    [​IMG]

    [​IMG]
    [​IMG]


    When Virtualbox is setup, load the clean win10 and install as you normally would.

    ----------------------------------------------------------------------------------------------------------------------------------

    When it gets HERE, do what the PIC says do.

    [​IMG]




    PC will boot into AUDIT mode as administrator. You can use it just like a regular PC. Here is where you add any and all software, windows updates,
    and any customisations you want to do to the system.

    NOTE: I have an ISO I created with ALL my customization utilities, themes, etc. (BUILDER.ISO) When I build a new OS, I can just load the ISO and use my tools over and over again with each new build.

    NOTE: I made the WIM drive 50gb on MY config so it could hold both the newly created .WIM file, as well as ALL my customization tools so I dont have to load the customization ISO every time.
    This is done by loading the BUILDER.ISO in the VM CDROM then just copying over to the WIM drive.

    The 1st thing I do is rename my C:\ Drive to WINDOWS and my D:\ Drive (or whatever drive the 50gb is) to WIMS (this helps later with the build process)


    THIS will be on the screen, you can close it out as long as NO boxes are checked. When you reboot, the machine will always boot back into
    audit mode and THIS will pop back up on the screen. You can reboot machine as many times as needed and it will ALWAYS boot back into
    AUDIT mode as ADMIN.

    [​IMG]



    When you are finished installing software, updates, and customisations, run the DISK CLEANUP utility located in the start menu. I checkmark ALL
    the boxes, and it takes about 2-5 min. IF you have installed windows updates, the process can take up to an hour to clean out the older packages.

    When you are done with EVERYTHING and have customized to your liking, and want to finalize your windows:

    1 - Make sure the clean version of windows you installed from is loaded in the VM CDROM

    2 - Make sure its ENTER SYSTEM OUT OF BOX EXPERIENCE (OOBE) , Checkmark the box GENERALIZE and SHUTDOWN click OK

    [​IMG]



    You will see this on your screen for about 3-10 minutes depending how big your build is.

    [​IMG]


    Machine will SHUT DOWN when finished sysprep functions.

    Congrats, you have just finished Part 1 of building! Now to Part 2!

    --------------------------------------------------------------------------------------------------------

    Part 2

    NOTE: Make SURE the clean version you installed from is LOADED in the VM CDROM

    Now comes the fun (not) part. VERY time consuming. Restart the VM and when the PRESS ANY KEY TO BOOT FROM CD pops up, HIT a key, ANY key, and it will boot to Win10 install. When it get there, do as show in the following pic. Hit Shift F10

    [​IMG]


    A command prompt will popup with X:\SOURCES at the bottom.

    1- Type in DISKPART and (enter)
    2- When diskpart is loaded, hit LIST VOL (enter)

    This window will now popup (this is mine, yours may be different, but you will get the idea)

    [​IMG]


    The drives will be named. Look for the WINDOWS drive and WIMS drive (the ones we renamed at the start of the build) and remember their drive letters or write them down if needed.

    After seeing where your drives are. I want to capture to the WIMS/D-Drive and the disk I want to capture is WINDOWS/C-Drive

    NOTE: YOUR drives may or may not be C and D, they may be F and G, thats why we rename them at start of build to WINDOWS and WIMS
    so we know which is which.

    Type this command, with spaces before EVERY /

    [​IMG]


    NOTE: REMEMBER to change the IMAGEFILE drive to the WIMS drive letter and the CAPTUREDIR drive to the WINDOWS drive letter.

    Press ENTER

    This will run for FOREVER it seems. Usually about 20-60 minutes depending on the size of the build AND the speed of your machine and hard drives.
    When it reaches 100% and file is saved, close down the VM totally.

    Yay!!! End of Part 2

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Part 3

    I have a Win7 VM made just to get to the WIM files I create. I load it and add a 2nd Hard drive to it. instead of creating a NEW hard drive, I choose EXISTING hard drive, and choose the WIMS hard drive I made in the Windows 10 build.

    [​IMG]


    NOTE: Make sure you have installed the VirtualBox Guest Additions when you first build this Win7 VM or install it anytime afterwards, otherwise you wont be able to create links to REAL hard drive.

    1 - Add links to REAL hard drive (under shared folders)

    [​IMG]


    2 - Boot the VM and navigate to the WIM folder and there should be your SAVED install.wim.

    3 - Copy install.wim to your REAL hard drive and shutdown your VM when finished.

    Yay!!! End of Part 3

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Part 4

    1 - Make a directory of choice, lets say for example D:\BUILDS
    2 - Using 7zip (or other) open the CLEAN original WIN10.ISO and extract it to the D:\BUILDS folder
    3 - Go into that folder and there will be a folder called SOURCES, go in there and DELETE the install.wim or install.esd
    4 - Copy YOUR new install.wim into the SOURCES folder.
    5 - install.esd is the same as install.wim, but is smaller due to better compression. when building, you can ONLY work with .WIM files, so if you want to leave it as .WIM you can, or if you want to make the build a little smaller, you can convert it to a .ESD file. Generally using a WIM the ISO will be about 5.5gb in size. when using a ESD file the same ISO will be about 4.2gb, so it does save space and download time for users. Thats really the only advantage of using ESD over WIM. If you ever want to change anything in the future inside the ESD file, you MUST convert it back to WIM first.
    6- There are NUMEROUS utilities out there to convert to .ESD If you want a smaller overall ISO, then use one of them. REMEMBER, you MUST use WIM files for ANY customizations though.
    Only AFTER the customizations are finished can you convert to .ESD and have it work.

    Creating the ISO

    Install and open up WinReducer for Windows 10

    [​IMG]


    Press START

    [​IMG]


    Choose FOLDER and then navigate to folder where you extracted windows files to and click OK.

    [​IMG]


    After hitting OK, WinReducer will load the files it needs to work with.

    [​IMG]


    WinReducer will finish loading and then come up with options for just about everything.
    Up to YOU to do the homework here on what you want installed and or customizations added.

    NOTE: You dont need to do ANY customizations unless you want to change/add some things like custom boot and install screens.
    You can hit FINISH (upper right corner) now and new ISO will be created just the same.

    [​IMG]



    When you are finished customizing with Winreducer, hit the FINISH button located upper right corner.
    Hit the APPLY button in the middle of the screen and hit YES to continue.

    All changes will be applied at this point.

    Click the Save in an ISO file radio button and choose WHERE to save the file, NAME of the file, LABEL of the file, and choose BIOS or UEFI or both.
    I always choose UEFI & BIOS for best results on different machines.

    [​IMG]


    Hit SAVE and then YES to continue. WinReducer will now create a BOOTABLE ISO of your new OS!

    [​IMG]


    When finished, THIS notice will be given.

    [​IMG]


    To test new build, Start Virtualbox and create a new entry (like earlier in this tutorial) and run thru the whole install process of your NEW OS.

    --------------------------------------------------------------------------------------------------------------------------------------

    BE PREPARED FOR FAILURES!!!! Guaranteed you will have SOME builds fail and have to redo it a few times before it finally takes hold.
    Ive had builds done in 1 hour, and Ive had builds take me 3 days. Just dont give up if you are serious about being a builder.

    There are a LOT more things you can do once you get the hang of this. Experiment with different building tools. Some do more than
    others, and the customization level is higher, but also requires a lot more knowledge as well. Good Luck!

    SOURCE : 00Proteus00 - teamos
     
    • Interesting Interesting x 2
    • Useful Useful x 2
    • Like Like x 1
    • List
  2.  
  3. droplet

    droplet Rock Star

    Joined:
    Apr 23, 2020
    Messages:
    999
    Likes Received:
    453
    Location:
    up up and away
    wow!!!!

    great stuff

    thanks Gyro!
     
  4. Ad Heesive

    Ad Heesive Audiosexual

    Joined:
    Apr 21, 2019
    Messages:
    1,235
    Likes Received:
    980
    Some comments... then a question please.

    [1] Firstly. thanks Gyro, for posting that. I'm sure many will find it useful.

    [2] I 'do' share your enthusiasm for exploring virtual images for operating systems.
    I have found many good reasons for having VMs;
    my favourite use is having OSX-Logic conveniently available on a Win7 platform.

    [3] I always use VMWare instead of VirtualBox

    [4] I have tried many ways of getting decent audio out of a virtual image (including connecting to external audio devices, etc)
    and to be honest it has always been a failure. I can usually (eventually) get a 'reliable' sound. and that's genuinely ok for lots of dabbling but the audio has always had unacceptable latency for any serious audio work.

    My question...
    What's your audio experience like with any of your virtual images?
    If you tell me the audio works to a professionally acceptable standard I will be amazed and skeptical,
    but it would good to know what you've found.

    Cheers :wink:
     
    • Like Like x 1
    • Interesting Interesting x 1
    • List
  5. Blue

    Blue Audiosexual

    Joined:
    Sep 6, 2015
    Messages:
    1,807
    Likes Received:
    954
    Wow @Gyro Gearloose you finally left Windows 7 ?!:)
    Not too much troble with W10 ?
     
  6. Gyro Gearloose

    Gyro Gearloose Audiosexual

    Joined:
    Jul 8, 2019
    Messages:
    4,237
    Likes Received:
    1,846
    Location:
    Germany
    :cheers::mad::drummer:nope...i just thought it might be helpfull for someone since its pretty great post.

    i just hunting down drivers and stuff for win7 since i bought a newer laptop still win7 able and there while i stumbled over this..
    and yes im big fan of win customization..
     
  7. Blue

    Blue Audiosexual

    Joined:
    Sep 6, 2015
    Messages:
    1,807
    Likes Received:
    954
    Ah ok,great post indeed!:thanks:
     
  8. Gyro Gearloose

    Gyro Gearloose Audiosexual

    Joined:
    Jul 8, 2019
    Messages:
    4,237
    Likes Received:
    1,846
    Location:
    Germany
    Ad Heesive

    from what i kno from building win7 lite the virtual environment is just for creating and testing the windows iso...but i think maybe open a thread bout cause i think there was some guys launching DAW from virtual environment.would be interesting
    but maybe i missundrstood you.
    could explain how you set up logic in vm on win7 ? and does it not give latency , like you mentioned ?
     
    Last edited: Sep 13, 2020
    • Interesting Interesting x 1
    • List
  9. Futurewine

    Futurewine Audiosexual

    Joined:
    Oct 4, 2017
    Messages:
    888
    Likes Received:
    558
    Location:
    Sound City Labs
    o sh*t *google logic vmbox * #interestinginteresting :shalom:
     
  10. Ad Heesive

    Ad Heesive Audiosexual

    Joined:
    Apr 21, 2019
    Messages:
    1,235
    Likes Received:
    980
    You said...
    > the virtual environment is just for creating and testing the windows iso

    Sorry, I confess I hadn't noticed that emphasis.
    So, my comment was 'a bit' off topic - but I think still relevant.

    You said...
    > could explain how you set up logic in vm on win7 ? and does it not give latency , like you mentioned ?

    I won't try to write my own tutorial for this.
    It wouldn't add anything to the dozens of tutes that are already out there.
    and there's at least one previous thread here...
    https://audiosex.pro/threads/running-logic-in-vmware-player-on-windows.33872/

    From my experience, the time consuming part is figuring out which versions of all the components are compatible,
    i.e., which version of VM Workstation works best for a specific version of OSX and a specific version of Logic.
    and given how fussy Apple likes to be, I'd suggest NOT always trying to get the most up to date versions to work.
    Being at the bleeding edge ain't a good idea here.

    Here's a good enough place to start exploring... (just one of many you can find)
    https://www.wikigain.com/install-macos-sierra-10-12-vmware/
    https://www.makeuseof.com/tag/macos-windows-10-virtual-machine/

    Installing Logic is then just exactly as it would be on an actual Mac.

    As I said before, you almost certainly won't get acceptable audio latency for serious recording, but for exploring Logic on a PC,
    generating midi, generating audio stems, etc, it's all OK. Just don't expect satisfactory real-time audio overdubbing, etc.

    Cheers
    :wink:
     
    Last edited: Sep 13, 2020
  11. Futurewine

    Futurewine Audiosexual

    Joined:
    Oct 4, 2017
    Messages:
    888
    Likes Received:
    558
    Location:
    Sound City Labs
    ermegerd. :wow::wow::wow: !!
    u@
     
  12. tzzsmk

    tzzsmk Audiosexual

    Joined:
    Sep 13, 2016
    Messages:
    3,236
    Likes Received:
    1,978
    Location:
    Heart of Europe
    many thanks for sharing, I might give it a go, planning to migrate onto Windows 10 within year :)
    last time I tried building and modding Windows usable, I ended up with hackintosh and never looked back...

    VM is unacceptable for audio workflow due to virtualization audio device causing too much latency,
    I can imagine forcing PCIe or USB interface passthrough to host, but so far it looks like too much hassle, and there's still cpu scheduling so actual audio processing may be burdened by host machine scheduler
     
  13. Ad Heesive

    Ad Heesive Audiosexual

    Joined:
    Apr 21, 2019
    Messages:
    1,235
    Likes Received:
    980
    I agree on all your points.
    - Hackintosh is a far better solution for serious use.
    - Seems unlikely that audio is ever going to be perfect on a virtualised system.
    But for convenient dabbling, I can still get some mileage out of VMs running OSX-Logic, and the nice thing is you can have many of them available. I like having Logic 9 and Logic X - and (courtesy of Apple's nonsense) those versions of Logic prefer different versions of OSX. So I just have several versions of OSX, each in its own VM.

    p.s. apologies to Gyro, drifting off topic here.
     
  14. The Freq

    The Freq Guest

    There is another thread on this though different and as I can see, also similarities in places on prior threads.

    The biggest issue without repeating what I put on the thread below is 100% compatibility with a chosen DAW and as I said in the below, the fact that you are running an O/S inside an O/S on a Virtual HDD on a physical HDD with an application that is known for its intense hardware addressing requirements and read/write (i.e. a DAW).
    https://audiosex.pro/threads/cubase-pro-can-i-run-on-a-vm.55470/
     
  15. angelus_

    angelus_ Noisemaker

    Joined:
    Jun 2, 2019
    Messages:
    9
    Likes Received:
    6
    Thanks for the detailed explanation. I will test it! :wink:
     
  16. Gyro Gearloose

    Gyro Gearloose Audiosexual

    Joined:
    Jul 8, 2019
    Messages:
    4,237
    Likes Received:
    1,846
    Location:
    Germany
    ALL GOOD..therse is offtopic and there is offtopic:wink:this was good offtopic
     
Loading...
Similar Threads - Windows Building Modding Forum Date
Antimalware Service Executable in windows 11 pro PC Sunday at 2:09 PM
how do i install kontakt 7 on windows? pls help Kontakt Apr 11, 2024
Amiga Paula Chip in a VST for windows,mac, or linux Software Apr 5, 2024
the Best Audio Stream Recorder for Windows? [solved] Software Mar 30, 2024
T-racks 5 is not activated on Windows 11 Software Mar 21, 2024
Loading...