Hello. I simply need to copy files from a partition in my HDD to my Windows 7 standalone (i.e. attach the HDD to my Windows 7 standalone successfully). Searched so much and couldn’t find, so I’m making this post on the forum.
(Assuming that the standalone is named ‘my-standalone’, and that the HDD partition I need to copy from is dom0:sdb1.)
Here’s what I tried (with the standalone shutdown at first):
1. Starting the standalone, and when Windows 7 completely starts, using the USB tray to attach the partition of the HDD to the standalone.
2. Starting the standalone, and just right afterwards quickly use the USB tray to attach the partition of the HDD to the Windows 7 standalone before Windows 7 starts.
3. Running the command qvm-start my-standalone --drive=hd:dom0:sdb1
.
4. Running the command qvm-block detach my-standalone dom0:sdb1
(just in case), then the command qvm-block attach my-standalone dom0:sdb1 -p
, then starting the standalone qvm-start my-standalone
.
*These 4 (from 1 to 4) (doing any ONE of them) results in:
- I can’t find anything in the “Disk Management” of Windows 7 more than the already-existed ones before I do anything of these 4.
5. Running the command `qvm-start my-standalone --drive=dom0:sdb1`.
6. Running the command `qvm-block detach my-standalone dom0:sdb1` (just in case), then the command `qvm-block attach my-standalone dom0:sdb1 -p -o devtype=cdrom`, then starting the standalone.
*These 2 (5 and 6) (doing any ONE of them) results in:
- I found a volume named ‘E’ besides the already-existed ‘C’ and ‘D’ in the “Disk Management” of Windows 7 that didn’t exist before doing 5 or 6, but the icon of ‘E’ looks different.
- In the File Explorer, trying to open ‘E’ results in the message Windows can't access this disc. The disc might be corrupt. Make sure that the disc uses a format that Windows recognizes. If the disc is unformatted, you need to format it before using it
.
- In CMD as administrator, in ‘diskpart’, here is the output of the commands:
> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 200 GB 1024 KB
Disk 1 Online 20 GB 0 B
Disk 2 Online 10 GB 10 GB
> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 E RAW CD-ROM 65 GB Healthy
Volume 1 System Rese NTFS Partition 100 MB Healthy System
Volume 2 D NTFS Partition 199 GB Healthy
Volume 3 C NTFS Partition 19 GB Healthy Boot
> select volume 0
*prints that it is selected successfully*
> format fs=ntfs
0 percent completed
Virtual Disk Service error:
The media is write protected.
Note: the Windows 7 standalone private storage max size is set to 20 GB, and the System storage max size is set to 200 GB. When I first installed the Windows 7 in the standalone by the .iso file, I set only two partitions in the Windows installation process: ‘C’ to be the 20 GB and ‘D’ to be the 200 GB.
What should I do? How to attach my HDD partition (or the whole HDD, if it has to be like that) to the Windows 7 standalone? How do people do it? If you told me how, and then I tried and then it turned out to be a Windows problem, then I’ll go out of here of course because it’ll be no more a Qubes problem.