Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Windows, Linux & Others on the Mac

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 28, 2012, 11:15 PM   #51
mac-hacks
Thread Starter
macrumors regular
 
Join Date: Jan 2011
Location: Swimming In Tsunami
* Windows*8 Pro "OS X BOOTCAMP" ( Unattended Installation Setup )

*I have not tested Deployment Part at bottom, I hope to tinker around with autounattend.xmll this week.

* In theory it should work and install Windows 8 after OSX RecoveryHD partition



  • * I went to change my System Configuration "Boot" settings to match screen shot above and notice I was not able to change them.
    * Check your "Boot" config by entering "msconfig" in "RUN:" window.
    * After reading Creating a Portable Windows 8 Environment with Windows To Go and Research.
    * It seems using this guide will cause EFI firmware to use un-secure loader.
    * I'm wondering if this is why drivers are not working properly.

* Here is guide to slip-stream drivers and updates for Windows 8 that will use autounattend.xml

* Use at Your Own Risk!!!

/ Need working Windows 7 or "emulator: Parallel, VirtualBox, VMware"
/ Windows Assessment and Deployment Kit (ADK) for Windows® 8
/ Download Bootcamp Driver, Intel , & Updated GPU drivers from (Intel, AMD, or Nvidia) Depending on CPU Model

########################################

Setup Directory with OS X or Windows
PHP Code:
    mkdir /Desktop/Inject 
    
cd: /Desktop/Inject 
    
mkdir /mount
    
mkdir /mount/winpe
    
mkdir /mount/setup
    
mkdir /x64_drivers
    
mkdir /Win8_Updates 
/ move Drivers Apple BootCamp , GPU, etc… to dir /x64_drivers
/ move Microsoft Updates to dir /Win8_Updates

########################################

ADD Drivers:
PHP Code:
    D
    $ 
cd D:\Inject

    
Dism /mount-wim /wimfile:boot.wim /index:/mountdir:mount\winpe
    
Dism /mount-wim /wimfile:boot.wim /index:/mountdir:mount\setup
    
Dism /image:mount\winpe /get-drivers
    
Dism /image:mount\setup /get-drivers
    
Dism /image:mount\winpe /add-driver /recurse /forceunsigned /driver:x64_drivers
    
Dism /image:mount\setup /add-driver /recurse /forceunsigned /driver:x64_drivers
    
Dism /image:mount\winpe /get-drivers
    
Dism /image:mount\setup /get-drivers
    
Dism /unmount-wim /mountdir:mount\winpe /commit
    
Dism /unmount-wim /mountdir:mount\setup /commit

    
Dism /get-wiminfo /wimfile:install.wim
    
mkdir mount\Win8x64
    
Dism /mount-wim /wimfile:install.wim /index:/mountdir:mount\Win8x64
    
Dism /get-mountedwiminfo
    
Dism /image:mount\Win8x64 /get-drivers
    
Dism /image:mount\Win8x64 /add-driver /recurse /forceunsigned /driver:x64_drivers
    
Dism /image:mount\Win8x64 /get-drivers
    
Dism /unmount-wim /mountdir:mount\Win8x64 /commit 
########################################

Add Updates:
*Link for x64 Windows 8 updates I downloaded to match dism update package commands below.
* Here URL for Microsoft Download Page.
PHP Code:
    Dism /mount-image /imagefile:D:\Inject\install.wim /index:/mountdir:D:\Inject\mount\Win8x64
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features

    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2751352-v2-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2755399-v2-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2758994-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2756872-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2761094-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2764870-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2770041-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2769034-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2769165-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2770917-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2771744-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2771821-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2777166-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2778171-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2780342-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2780523-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2769165-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2758246-v2-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2764462-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    $Dism 
/image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2777294-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2779562-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2771431-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2770660-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2779030-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2779768-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2782419-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2783251-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2784160-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2780541-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2785605-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2753842-v2-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features
     
    
Dism /image:D:\Inject\mount\Win8x64 /Add-Package /PackagePath:D:\Inject\Win8_Updates\Windows8-RT-KB2792476-x64.msu
    
Dism /image:D:\Inject\mount\Win8x64 /Get-Features

    
Dism /unmount-image /mountdir:D:\Inject\mount\Win8x64 /commit

    
$ Exit 
########################################

Deployment
PHP Code:
1.Select these two options 
    
<Deployment Tools
    <
Windows Preinstallation Environment "Windows PE">
2.After installationOpen Windows Kits Windows ADK Windows System Image Manager
3.Open <File Menuclick on <Select Windows Imagefind the 'install.wim' <D:\ Inject>
Choose "Choose correct Windows Version for Activation"  
The # has to match Version  
NoteRemember "Label"it will be used to configure in "autounattend.xml"
4. Select Option to build Catalog  
5. Choose "File Menu" select "New Answer File" you just createdignore Pop Error Message.
6. Navigate to "Components Pane" select
        < 
amd64_Microsoft-Windows-International-Core-WinPE-_6.2.8400.0_neutral>  
        <
right clickadd "Pass 1"
7.Navigate to "Answer File Pane" click on component:
        <
Fill in the language settings 'example en-US'>     
        <
Configure  SetupUILanguage>
8.Navigate to "Components Pane"select 
        
<amd64_Microsoft-Windows-Setup_6.2.8400.0_neutral
        <
right Clickselect "Pass 1">
9. Navigate to "Answer File Pane" right click "DiskConfiguration" select:
        <
InsertNewDisk
        <
right click select "CreatePartitions"
        <
select "Insert New CreatePartition">  
Repeat this step 3 more times 
So there are 3 "ModifyPartitio" entries in your answer file
/
10. "Partition" Settings:
        
"Partition 1" 
            
<Order=1>
            <
Size=208>
            <
Type=EFI>
        
"Partition 4"
            
<Order=4>
            <
Size=128>
            <
Type=MSR>
        
"Partition 5" 
            
<Extend=true>
            <
Order=5>
            <
Type=Primary>
11.Configure "Disk" 
        
<DiskID=0
        <
WillWipeDisk=false
Note"True" deletes all data on /dev/disk0>
12.Right click on "ModifyPartition" select:
        <
Insert NewModifyPartition
Repeat this step 3 more times  
So there are 3 "ModifyPartitio" entries in your answer file>
/
13."ModifyPartition" Settings:
        
"ModifyPartition 1" 
            
<Label=EFI>
            <
Order=1>
            <
PartitionID=1>
        
"ModifyPartition 4" 
            
<Order=4
            <
PartitionID=4>
        
"ModifyPartition 5" 
            
<Format=NTFS
            <
Label=Windows
            <
Letter=C
            <
Order=5
            <
PartitionID=5>
14.Scroll Down "Answer File" to "OSImage"
        "Set Properties:"
            
<InstallToAvallablePartition=true>
            <
WillShowUi=OnError>
15. Right click "InstallFrom" add"Insert NewMetaData" 
        
<SetKey="IMAGE/NAME"
        <
Value=Windows*8 Pro or Windows 8
Note: use label from "Step 4"
16.    Configure "UserData" 
        
<Set:=AcceptEula=true>
        <
"FullName & Organization="--">  
        <Configure "
Answer File
        <
UserData\ProductKey=EEEEE-eeeee-EEEEE-eeeee-EEEEE>
17.Navigate to "Components Pane" select
        
"<amd64_Microsoft-Windows-Shell-Setup_6.2.8400.0_neutral>" 
            
<right clickselect "component to Pass 4 specialize">
18.    Navigate to "Answer File Pane" select
        
"<amd64_Microsoft-Windows-Shell-Setup_6.2.8400.0_neutral>"
            
<configure ComputerName=YourChoice
            <
ProductKey=EEEEE-eeeee-EEEEE-eeeee-EEEEE>  
            <
RegisteredOrganization="--"
            <
TimeZone=Central Standard Time>
19. Navigate to "Components Pane" select
        
"amd64_Microsoft-Windows-Shell-Setup_6.2.8400.0_neutra'1'"
        
<right click selec:> 
            
"component to Pass*7 oobesystem"
        
<In Answer File Pane select>
            
"amd64_Microsoft-Windows-Shell-Setup_6.2.8400.0_neutral"
                
<SetRegisteredOrganization="--">  
                <
SetRegisteredOwner="--">
                <
ConfigureAutoLogon="Enabled=true">
                <
SetUsername="administrator"
  • Save file as "autounattend.xml"
  • Verify "no errors" are shown in "Validation Pane"
  • You will get list of warnings, do not worry about those
  • FIX ANY ERRORS LISTED
  • Open "Windows 8 ISO" image in a ISO editor, like UltraISO
  • Add "autounattend.xml" file to "ROOT" of "ISO" image
  • Save ISO

/ Here how to create an answer file (unattend.xml) that disables the use of Windows Recovery Environment with Windows To Go.
/ Not sure if this sample code will work or maybe it needs to be tweaked or if it's even needed???

PHP Code:
        <?xml version="1.0" encoding="utf-8"?>
        <unattend xmlns="urn:schemas-microsoft-com:unattend">
            <settings pass="oobeSystem">
                <component name="Microsoft-Windows-WinRE-RecoveryAgent"
                  processorArchitecture="x86"
                  publicKeyToken="31bf3856ad364e35" language="neutral"
                  versionScope="nonSxS"
                  xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <UninstallWindowsRE>true</UninstallWindowsRE>
                </component>
                <component name="Microsoft-Windows-WinRE-RecoveryAgent"
                  processorArchitecture="amd64"
                  publicKeyToken="31bf3856ad364e35" language="neutral"
                  versionScope="nonSxS"
                  xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <UninstallWindowsRE>true</UninstallWindowsRE>
                </component>
            </settings> 
        </unattend>
/ Once the answer file has been saved, copy unattend.xml into the sysprep folder drive (for example, W:\Windows\System32\sysprep\)

Last edited by mac-hacks; Dec 29, 2012 at 01:32 PM.
mac-hacks is offline   0 Reply With Quote
Old Jan 21, 2013, 09:51 AM   #52
mac-hacks
Thread Starter
macrumors regular
 
Join Date: Jan 2011
Location: Swimming In Tsunami
Update

I just re-install Windows 8 Pro x64 Build 9200 using Retail DVD. Drivers still do not work on my MacBook Pro Early 2011 17"inch. So my theory on using secure or un-secure boot doesn't make difference as far as drivers are concerned.
mac-hacks is offline   0 Reply With Quote
Old Aug 4, 2013, 03:45 AM   #53
fusion71
macrumors newbie
 
Join Date: Jun 2013
[QUOTE=mac-hacks;15483249]---

05) Prepare the system partition by typing following in Command Prompt.
*Note: "/l en-us" country code it will load from menu on 1st boot. Change it if you need to.*

Code:
		Y: 
		Y:> bcdboot M:\Windows /l en-us /s M:
I think there's a small typo here. It should be

Y:> bcdboot Y:\Windows /l en-us /s S:

With Windows 8 version of bcdboot, you can also specify that you only want (u)efi boot files transferred to the system partition by using the /f switch

Y:> bcdboot Y:\Windows /l en-us /s S: /f UEFI
fusion71 is offline   0 Reply With Quote
Old Aug 9, 2013, 07:11 PM   #54
drayon
macrumors regular
 
Join Date: Aug 2007
Mac Pro 2009 stock Nvidia GT 120 black screen problem

Boot from Win8 DVD

Part 1: Prepare the Drive
Click on Repair Computer at main screen of the Windows 8 installer. Go to Troubleshoot, Advanced menu select the Command Prompt.
Type diskpart then follow these commands:
1. list disk
2. select disk 0
3. clean
4. convert gpt
5. create partition efi size=256
6. format fs=fat32 quick label=EFI
7. create partition primary size=51200 [size of your Win8 partition in MB; Ex. 50GB = 51200]
8. exit

Get back to the installer and install Windows 8. After installation machine reboots itself to Windows logo then the screen goes black, perform part 2.

Part 2: Fixing Windows 8 black screen after boot
Fix is to remove the nvlddmkm.sys from C:\Windows\System32\Drivers. To do this you need the Windows 8 Installer DVD in the drive, then hold Cmd+Option+Shift+V immediately after you press the power button and continue to hold until after Windows boot screen with the text “Please Wait” below it shows up. Get to the Command Prompt. Enter the following commands:
• C:
• cd C:\Windows\System32\Drivers
• move C:\Windows\System32\Drivers\nvlddmkm.sys C:\
• exit

You'll have to perform this step to remove this driver after installing Bootcamp drivers (screen goes black soon after install is initiated just when video driver is installed) and even after installing the dedicated video card driver from Nvidia's website.
The main unresolved issue here (maybe it is particular to the Nvidia GT 120) is that any video driver that installs the "nvlddmkm.sys" at above location will cause the black screen. I don't know Windows very well and i'm guessing the removal of this kernel driver drops back to using MS's default video driver, which isn't a viable solution, since it is unaccelerated.

Remaining questions. Is this issue particular to the Nvidia video card? Will another Video card like a Radeon 5770, 5870 have the same issues? I wonder since others with Intel onboard video GPUs need to remove the "igdkm64.sys" in the same way "nvlddmkm.sys" needs to be removed to resolve the black screen. Will a Flashed PC Video card be the answer?

Last edited by drayon; Aug 9, 2013 at 07:17 PM.
drayon is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Windows, Linux & Others on the Mac

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Unreliable networking in Windows 8 RTM on 2010 Mac mini ZeroPageX Windows, Linux & Others on the Mac 13 Mar 17, 2014 06:11 PM
Windows 8 RTM audio driver issue on rMBP kkrull Windows, Linux & Others on the Mac 59 Mar 22, 2013 06:54 PM
How do I install Windows 8 RTM on my MacBook Air with Parallels? PretZL Windows, Linux & Others on the Mac 3 Jan 9, 2013 06:44 PM
Anyone had issues with Windows 8 RTM on their MacBook Pro? Grannyville7989 Windows, Linux & Others on the Mac 9 Dec 20, 2012 03:21 PM
iMac 2010 - Windows RTM Sleep issues FireSokar Windows, Linux & Others on the Mac 0 Aug 18, 2012 04:21 PM

Forum Jump

All times are GMT -5. The time now is 05:46 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC