Azure Sentinel is a cloud SIEM and SOAR. It is therefore used for the supervision of a customer environment, from which it...
How to boot from VHDLukas Beran
VHD boot is a simple and secure way how to have more operating systems on one computer without virtualization. But most of people don’t know about this option or are afraid of this option, yet it is very simple.
For the following approach you need ImageX, which is a part of Windows Automated Installation kit (WAIK) for Windows 7/Windows Server 2008 R2, or new Windows Assessment and Deployment Kit (ADK) for Windows 8/Windows Server 2012 and newer.
This guide is for Windows 7 or newer.
This is a step-by-step guide for beginners with just an elementary knowledge.
- Run disk management (diskmgmt.msc).
- Choose Action -> Create VHD.
- Choose location, size, format and type of the disk. Confirm. For testing purposes is 20 GB dynamically expanding disk enough.
- In disk management, you will see VHD disk as a new uninitialized disk. Click on the right mouse button and choose Initialize Disk and set MBR.
- Create new disk partition on the disk, format it and assign a letter.
- Insert installation media of the operating system you want to use or mount installation ISO image.
- Run administrator command line and change the path to the path where you have ImageX.
- Run imagex /apply x:\sources\install.wim 1 y:\, where x: is installation media of the system and y: is newly created VHD. Number 1 means that ImageX will use image with index 1. Information about number of image you can find using parameter /info, so imagex /info x:\sources\install.wim.
- Now you can create a backup of your VHD. First unmount the VHD using the right mouse button on the disk a selecting Detach VHD. After copying the VHD you can mount the VHD again using Attach VHD in the action menu Action.
- Using bcdboot y:\windows from the administrator command line you can add VHD to the boot option.
If you want to remove the VHD from the boot option, you can simply remove the record from boot options in System Configuration (msconfig).