Jump to content

Recommended Posts

Posted (edited)

Hello to everyone.

I would like to install Windows 7 x64 bit on my mobo Aorus pro based on the Z390 platform. I want to explain what I did,because at the end it failed giving a BSOD that I want to fix.

I've followed the tutorial on this page :

and I've reached the stage where I see the disks where to install Windows 7. Unfortunately I have one only disk that I can use and it is an USB disk,model :  WD 3200BMV External but Windows refuses to install on a USB disk.

At this point I've used  But there is another problem on the stage 2 : it won't be installed on a USB disk. And unfortunately I have only one spare USB disk to use.

Anyway I found a method to achieve the goal. The method explained here :

https://github.com/vavrecan/usb-boot-watcher

ok. This is what I did :

 

C:\Users\virtu\Downloads\GetWaikTools\Waik_3\amd64>imagex /apply I:\Backup\Windows\en_windows_7_professional_x64_dvd_24.4.10\sources\install.wim 1 g:

ImageX Tool for Windows

Copyright (C) Microsoft Corp. All rights reserved.

Version: 6.1.7600.16385

[ 100% ] Applying progress

Successfully applied image.


 

C:\Users\virtu\Downloads\GetWaikTools\Waik_3>bcdboot f:\Windows /s f: /v

BFSVC: ServiceBootFiles MuiOnly:n Res:y Fonts:y BootMgrOvw:n BootStatOvw:n DbgTrn:y SuspendBDE:n

BFSVC: Unable to open file f:\Windows\boot\Resources\BOOTRES.DLL for read because the file or path does not exist

BFSVC Warning: Failed to determine source OS version.

BFSVC: Copying boot files CopyBootManager(Yes) f:\Windows\boot\EFI -> \\?\GLOBALROOT\Device\HarddiskVolume42\EFI\Microsoft\Boot

BFSVC: Updating \\?\GLOBALROOT\Device\HarddiskVolume42\EFI\Boot\bootx64.efi

BFSVC: Creating Recovery directory.

BFSVC: Logging boot file servicing to bootstat log \\?\GLOBALROOT\Device\HarddiskVolume42\EFI\Microsoft\Boot\BOOTSTAT.DAT.

BFSVC Warning: Failed to log servicing event to bootstat \\?\GLOBALROOT\Device\HarddiskVolume42\EFI\Microsoft\Boot\BOOTSTAT.DAT. Status: 0x80000005

BFSVC: Copying font files from f:\Windows\boot\Fonts to \\?\GLOBALROOT\Device\HarddiskVolume42\EFI\Microsoft\Boot\Fonts...

BFSVC: Copying resource files from f:\Windows\boot\Resources to \\?\GLOBALROOT\Device\HarddiskVolume42\EFI\Microsoft\Boot\Resources...

BFSVC: SetNamedSecurityInfo failed! Error code = 0x2

BFSVC Warning: Resource files missing from f:\Windows\boot\Resources. These files are required for some editions of Windows. If you are servicing older versions of Windows, you can ignore this message.

BFSVC: Servicing debugger files

BFSVC Warning: ServiceDebuggerFiles: f:\Windows\boot\BootDebuggerFiles.ini does not exist

BFSVC: System partition is not in a space

BFSVC: BfsInitializeBcdStore flags(0x0000001c) RetainElementData:n DelExistinObject:n

BFSVC: VolumePathName for f:\Windows is f:\

BFSVC: SystemRoot is \Windows

BFSVC: Opening template from \Device\HarddiskVolume42\Windows\System32\config\BCD-Template.

BFSVC: Opening store from \Device\HarddiskVolume42\EFI\Microsoft\Boot\BCD

BFSVC: System BCD store does not exist, creating.

BFSVC: Creating General objects.

BFSVC: Creating Resume object.

BFSVC: Creating MemTest object.

BFSVC: Creating OsLoader object.

BFSVC: OsLoader identifier: {f1a07f02-0ddc-11ef-af3b-e0d55ee21f22}

BFSVC: Removing duplicate entries.

BFSVC: Create BOOTMGR object RetainBootDefault:n

BFSVC: Setting {default} to {f1a07f02-0ddc-11ef-af3b-e0d55ee21f22}

BFSVC: Cleaning up debugger settings.

BFSVC: Cleaning up hypervisor settings.

BFSVC: Opening recovery store from \Device\HarddiskVolume42\EFI\Microsoft\Recovery\BCD

BFSVC: Creating new recovery store \Device\HarddiskVolume42\EFI\Microsoft\Recovery\BCD

BFSVC: Creating General objects.

BFSVC: Create BOOTMGR object RetainBootDefault:y

Boot files successfully created.

 

The final stage :

 

C:\Users\virtu\Downloads\usb-boot-watcher-master\bin\amd64>UsbBootWatcher /prepare f:\Windows\System32

Copy from C:\Users\virtu\Downloads\usb-boot-watcher-master\bin\amd64\UsbBootWatcher.exe

To f:\Windows\System32\UsbBootWatcher.exe

Copy from UsbBootWatcher.conf

To f:\Windows\System32\UsbBootWatcher.conf

Copy from f:\Windows\System32\config\system

To f:\Windows\System32\config\system.backup20240509083357

Registry hive loaded HKLM\USBBOOT

Target control set ControlSet001

Updating USBBOOT\ControlSet001\Services\usbstor

Updating USBBOOT\ControlSet001\Services\usbehci

Updating USBBOOT\ControlSet001\Services\usbohci

Updating USBBOOT\ControlSet001\Services\usbuhci

Updating USBBOOT\ControlSet001\Services\usbhub

Creating service USBBOOT\ControlSet001\Services\Usb Boot Watcher Service

Registry hive unloaded HKLM\USBBOOT

 

It didn't work. You want to see well whats happened ?

https://ibb.co/v4Bg4jC
https://ibb.co/Qcpkysg

How to fix this error ?

Edited by Marietto
  • 1 month later...

Posted (edited)

https://gist.github.com/AlexanderPavlenko/2278427

 

https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/microsoft-hyper-v-server-2008-R2/ee731893(v=ws.10)?redirectedfrom=MSDN

Quote

To ensure that the system can properly boot from a flash device, the default PollBootPartitionTimeout registry key value has been increased. This registry key is used to control how long the kernel waits for PnP to surface the boot disk before it stops with bugcheck code 0x7B. The default setting for Microsoft Hyper-V Server 2008 R2 has been set to 30000

 

you could try cdobs .cmd file

 

something like this

@echo off
setlocal EnableExtensions EnableDelayedExpansion
pushd %~dp0
set installpath=f:
rem thanks to cdob
echo Setting USB boot drivers &echo.
copy "%installpath%\system32\config\system" "%installpath%\system32\config\system_%random%.sav"
reg.exe load HKLM\loaded_SYSTEM " %installpath%\system32\config\system"

set ControlSetDefault=
call :setReg Default
call :setReg LastKnownGood

reg.exe unload HKLM\loaded_SYSTEM
popd

goto :eof

:setReg
 set ControlSet=001
 reg.exe query "HKLM\loaded_SYSTEM\Select" /v "%1" >nul 2>&1 && (
  for /f "skip=2 tokens=3" %%a in ('reg.exe query "HKLM\loaded_SYSTEM\Select" /v "%1"') do set /a ControlSet=%%a
  set ControlSet=000!ControlSet!
 )
 set ControlSetNNN=ControlSet%ControlSet:~-3%
 if %ControlSetDefault%.==%ControlSetNNN%. goto :eof
 echo. &echo ControlSet "%ControlSetNNN%" used.

 set Services=HKLM\loaded_SYSTEM\%ControlSetNNN%\Services
 set Control=HKLM\loaded_SYSTEM\%ControlSetNNN%\Control

 reg.exe add %Control%\PnP /f /v PollBootPartitionTimeout /t REG_DWORD /d 30000
 
 reg.exe add %Control% /f /v BootDriverFlags /t REG_DWORD /d 0x6

 set ControlSetDefault=%ControlSetNNN%
goto :eof

 

 

Edited by SIW2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...