Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot from VHD
#10
Thumbs Up 
I did, too, and it's working fine. Cool



Here's a more detailed account of my actions -- in what is basically a 'bare-metal' to full working OS process...

I had a HP desktop PC with Windows 7 installed in its HDD that was really sluggish and took several minutes to boot. Sad

I also had an old Adata 128 GB (125 GiB) SSD and got an non-descript extra 4GB RAM DIMM which I added to it.

1. I booted from Ventoy LiveUSB and used it to install Linux (Mint 20) to the SSD -- I didn't touch the HDD, just in case something went wrong.

2. I booted the PC (which now felt way faster, BTW) and installed VirtualBox from the online repos.

3. In VirtualBox, I created a new VM for Windows 10 with mostly the default settings, except for choosing a VHD disk and increasing the memory to 4GB.

4. I attached a Windows 10 DVD ISO to the VM as a virtual CD-ROM and booted in VirtualBox.

5. Windows 10 installation began and I left it to finish -- again choosing mostly defaults, apart from using a local account and refusing any telemetry prompts.

6. After it finished, I closed VirtualBox and looked in its VMs folder (it's under '/home') for the newly created Windows 10 VHD, which I copied to the HDD -- it's a large file (over 10GiB in my case), so it took some time.

7. Then I rebooted the Ventoy LiveUSB into Linux, downloaded Ventoy Linux installer to the HDD, cleared the partition on the SSD and installed Ventoy into it (for details, see https://forums.ventoy.net/showthread.php?tid=579; plus I reserved some space at the end for an extra partition and over-provisioning...).

8. I fired up GParted (most modern distros include it), re-formatted Ventoy 1st partition on the SSD to NTFS (it's mandatory!), and created 2 folders in it: a 'ventoy' one (also mandatory, see 10. below) and one 'BOOTIMG' (optional, but convenient for later restricting booting from it).

9. I copied the VHD (see 6. above) from the HDD back to the SSD and placed it in the 'BOOTIMG' folder.

10. I downloaded the 'ventoy_vhdboot.img' mentioned in Ventoy's "Windows VHD Boot Plugin" page (https://www.ventoy.net/en/plugin_vhdboot.html) and placed it in the 'ventoy' folder (see 8. above).

Then I rebooted the PC, taking care of removing the Ventoy LiveUSB first, and everything just worked. Big Grin



Thanks fly out to longpanda for the excellent program, for vishalvodro for the initial instructions, and to everyone else for contributing.
Idea When a post helps you in any way, please rate it. Thank you. [Image: rateit.png]
Reply


Messages In This Thread
Boot from VHD - by vishalvodro - 07-28-2020, 02:55 PM
RE: Boot from VHD - by aaronpriest - 07-28-2020, 03:17 PM
RE: Boot from VHD - by vishalvodro - 07-29-2020, 11:45 AM
RE: Boot from VHD - by aaronpriest - 07-29-2020, 11:56 PM
RE: Boot from VHD - by Edwin - 08-05-2020, 04:57 PM
RE: Boot from VHD - by vishalvodro - 08-07-2020, 10:26 AM
RE: Boot from VHD - by Emre028 - 08-05-2020, 08:06 PM
RE: Boot from VHD - by Midas - 08-08-2020, 02:49 PM
RE: Boot from VHD - by bsun99 - 09-09-2020, 12:55 PM
RE: Boot from VHD - by Midas - 09-17-2020, 02:00 PM
RE: Boot from VHD - by Midas - 09-18-2020, 01:04 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)