This perhaps makes it a better choice to cough up a digtal windows license and install from scratch.
There is likely several methods available - I have personally used the following with no issues.
It can be done but you have a few hoops to jump and you need a separate storage device with room for your Windows installation.
The old forum topic does not exist anymore.
Keep in mind what mode you current Windows boots (BIOS or EFI) - you will have to ensure the VM boot the same way. If you want a truly portable - independent VM - you need to go the reinstall in a VM defaulting to BIOS boot.
Depending on your choices and the Windows version you may need to do some registry editing prior to installing the system from scratch.
The steps to migrate your current Windows is - roughly - as follows
Locate download and install the Windows tool Disk2VHD - download from Microsoft
Locate and download the windows sdelete utility. - download from Microsoft
use sdelete to zero your running Windows unused space
defrag your windows windows
run sdelete one more time
use windows disk manager to resize the partition something between 80 and 127G
Use disktovhd to convert your running windows to hyperv using the vhdx format
Use vbox-manage to convert the vhdx file to a vdi file
Create a new Windows VM using virtualbox
If your current system is EFI you must use EFI otherwise the vm won’t start
and instead of creating a virtual disk you attach the vdi created above
It is a time consuing process which requires a lot of diskspace.
raw disk option
Another - less used option - is to add the physical device as a raw disk beforehand - so instead of creating a disk - for the newly created vm you can attach the raw device.
If you go down that road - you need to ensure you user has adequate rights to access a raw device - on the /dev/sdxY path - a normal user doesn’t and running the vm as root is not a good solution.
Using a raw device presents it’s own issues - e.g. device access is exclusive to the windows vm
About point 3, 4 especially and 5. Should they be done on a SSD?
My Windows installation made three volumes: a Recovery Partition (500 MB), a EFI System Partition (100 MB) and a Basic Data Partition (the remaining space). In point 6 I have to convert the Basic Data Partition to vhdx format. Correct?
It is larger. If I do not want to upset the current settings on the SSD, I was wondering, can I make a clone of the Basic Data Partition to my HDD and then there do the resizing and point 3, 4 & 5?
I don’t think I can do it directly on the vhdx, can I?
whatever happened afterward is irrelevant
why skip these steps?
all sdelete does is write zeroes to all of the disk that isn’t occupied by any file.
It makes compression much more efficient - to be able to create a small sized disk image.
That is the reason it is used - similar for the recommended defrag.
… if you don’t know what you are doing
and rely on help -
why go ahead and change the recommended procedure?
and then wonder what might have happened …
I’ll now just watch - will not interfere anymore.
Promise! - and good luck!
you should try learning VirtualBox (or whatever software you chose to use)
by simply using it to install and run the very same ISO of Manjaro that you used to install your now working system.
Or some other ISO - whatever you have got.
As an example, as an exercise … to get to know how to use it.
You should really - really do the described maintenance on your Windows before creating a vm from it.
In any case - your system - your rules.
There is no need for periodic defrag of ssd devices - such device is fundamentally different from a spinning disk. But when planning on moving to a vm it is good practise to ensure the initial vm is as small as technically possible. @Nachlese already pointed you to the why’s of the maintenance described.
Learning is always fun - and if you are on a learning path - I suggest you do more reading and more experimenting on your own - hands-on, notes, making mistakes, repetition, repetion and then some repetiion - not to mention muscle memory are fundamental in learning and remembering what you learned