Change the setting order in tutorial.md
Opened this issue · 0 comments
blackcon commented
blah
I am configuring the environment according to the tutorial.
There is a problem while creating a child partition, so it is registered as an issue. :)
As-Is
- Set "HiberbootEnabled" during the root partition setup process.
(https://github.com/SafeBreach-Labs/hAFL2/blob/main/tutorial.md#creating-a-root-partition-vm)Creating a Root Partition VM
...
5. Disable Fast Startup from within an elevated command prompt:
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_DWORD /D 1 /F
... - And after that, move the iso image file to the child partition.
(https://github.com/SafeBreach-Labs/hAFL2/blob/main/tutorial.md#creating-a-child-partition-vm)Creating a Child Partition VM
Copy the Windows10_InsiderPreview_Client_x64-en-us_21354.iso ISO file from a dedicated folder to the root partition VM (wait patiently, it will take a few minutes as it's a large file):
copy_files_to_vm.sh [WINDOWS_ISO_FOLDER_PATH] windows.qcow2
Trouble Shooting
- There is a mount command in the
copy_file_to_vm.sh
script that moves the ISO file to the child partition. - When I try to execute the mount command, , the bellow error occurs.
... Please resume and shutdown Windows fully (no hibernation or fast restarting.)
Could not mount read-write, trying read-ony - As a result, it was mounted with read-only permission, and copying the ISO file inside qemu failed.
To-Be
- It is very simple. Firstly ISO image move to QEMU disk, and then Set "HiberbootEnabled" on HostOS(level1)