2

I am using diskless boot Windows 7 with iPXE. PC is intended to boot from vhdx, which i obtained by snapshotting sata(ahci) hard drive with sysiternals disk2vhd utility. Hard drive was previously in this machine, and it actually boots Windows 7 good. Also i had manipulated vhd a bit, like shrinking volume size on my demands, making boot partition active(its mbr). Then this vhd is shared over network via iSCSI means of windows server os and iPXE bootloader (software solution); I somehow managed to configure it, and it seems to work good.

And windows boot loader is now getting 0xc0000225 error, as it likes to do in various migration processes (ms likes to complicate things)

Here is an answer, a hint to rebuild boot bcd. So i should run bootrec /rebuildbcd from diskless client PC. In a disk-PC enviroment i could simply put Windows installation USB and run command line in a preboot enviroment. But now i should boot from scsi attached target and to fix it, and it is network boot! So i cant boot usb. I cant even imagine how could i launch windows installation process under such circumstances! How could i get to recovery environment command line? How could i install fresh windows on it?

  • Boot into the Window Recovery environment, contained on your Windows 7 installation disk, if you don't have an installation disk download one and create one. See my answer on where to get Windows 7 ISOs directly from Microsoft if you don't know where to get one. – Ramhound Jun 8 '17 at 11:42
1

I finally got it! I used a command pair sanhook --drive 0x81 iscsi:192.168... and sanboot --drive 0x80. First is to attach my iSCSI target in iPXE. And then second just booted USB with windows 7 install. Target virtual drive is now visible just as a local hard drive in install enviroment, availble to any further actions. Stage Clear!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.