Booting From VHD Windows 7 Stop Error 0x0000007B
53
Use this to inject the correct AHCI driver.
diskpart and use the ATTACH command to mount the VHD file location.
select vdisk file=m:\test.vhdx
attach vdisk
select partition 1
assign letter = R:
DISM.exe /Image:R:\ /Add-Driver /Driver:d:\Drivers\ /Recurse
Obviously change d:\Drivers to match the path where the AHCI drivers are located.
Related videos on Youtube
Author by
Blade
Updated on September 18, 2022Comments
-
Blade almost 2 years
How to hash using
SHA1
(or similar cryptogrphical functions) a class(or struct) which has multiple keys, e.g.,struct Foo{ string name; int age; int score; }
A naive approach is
hash(has(name) + hash(age) + hash(score))
, but hash collision is possible.-
Ƭᴇcʜιᴇ007 over 10 yearsThis is the same problem people moving Windows from physical machine to (different) physical machine encounter -- HDD controller/chipset mismatches. The HDD controller driver for the Hyper-V VM is not the same one your Host machine requires when booting natively form the VHD. You need to get the host's HDD controller's driver into the image. There are many questions covering this on here already.
-
Ƭᴇcʜιᴇ007 over 10 yearspossible duplicate of 0x0000007b vista harddrive swap
-
Ƭᴇcʜιᴇ007 over 10 years(better) possible dupe: Booting a Windows 7 installation on different hardware
-
nate over 10 years@techie007 Thanks for the info, I didn't know that.
-
nate over 10 years@techie007 I have tried what you have suggested, and it doesn't work in my case. I have updated the question. Also will you remove your flag for closing the question, since it is not a duplicate.
-
cybernard over 10 yearsDid you do sysprep /generalize ?
-
πάντα ῥεῖ over 2 yearsAnd what's the question now?
-
500 - Internal Server Error over 2 yearsCollision is always a possibility - you may be able to reduce the likelihood of that by using a more sophisticated combination function than addition.
-
-
Blade over 2 yearsusing JSON is a pretty nice method. Thanks.
-
Wisblade over 2 years@Blade You're welcome. If it suits yourself, you can tag it as accepted. However, even if serializing to JSON/XML is a working and quite simple solution if you have these functions already available, don't forget that do it on binary data will be way more efficient and fast, because it involves the same class/struct parsing than serialization, but without the need to transform it to text before hashing.
-
Blade over 2 yearscan't agree more. JSON is easier to implement, but performance is definitely slower than processing raw bytes.