After a very painful installation system, remember.
Environment before installation:
There are four partitions on the old dual-hard disk. The primary partition contains an XP but it is no longer available. The new hard disk is equipped with Debian, which mainly works here.
A USB flash drive.
Downloaded win7 (pirated of course ).
The environment used is Debian.
Goals:
Install Windows 7 to the primary partition of the old hard disk, without affecting other partitions and the other hard disk.
PS: there is another old problem. I didn't know why at the time, I always heard the sound of the hard disk constantly searching, several times in a few minutes.
Start Time:
First, I cat win7.iso to the USB.
Then plug in the USB and restart the system.
Then directly go to Debian...
Then open the box cover and unplug the new hard disk (I don't know why it hurts so much)
Then start to happily change the boot into the BIOS.
Then enter WINXP and then the blue screen.
Then reboot to the bios and cancel all Hard Drive boot. Only USB is left.
Finally, the error message is displayed. The BOOT program cannot be found on USB.
This is the first attempt...
Insert the hard disk into Debian.
I open the XP Virtual Machine of vbox and link it to the physical USB interface.
Install a mini program to burn ISO to USB.
Wait for dozens of minutes to finish burning.
Repeat all the actions of the first attempt.
The same result is obtained.
Then I am confused ....
Wait until the cool-down time of high loss of mental health value passes.
Analyze the cause of the problem. The dial-up method is incorrect.
Instead of using cat to DD, I tried it and did not solve it.
Try GHOST:
I downloaded a software named "dostoolbox" from WINXP and tried it. He messed up the C drive of my virtual machine and got several rogue software. There was no usb I/O.
Then I installed several similar software in WINXP, which also failed.
Then, clean up the rogue software in the virtual machine.
Then, my mental health value bottomed out again...
Wait for a cool-down period...
Then I tried all the USB and boot options in the bios, except for putting my mental power into CD.
After all the mental-related values cool down, the USB device is abandoned and a solution is created:
In the vboxof Debian, winxpuses ghost32.exe to overwrite win7.gho extracted from win7.iso to the first partition of my other hard disk (is it true ).
According to this goal, a lot of methods have been used to push forward slowly.
Got. gho, got ghost32, etc.
Then we found that no physical hard disk is mapped to the Virtual Machine in all vbox settings.
I told you that I have rolled in bed...
With the help of Google (and a wall anti-wall device), I got a command line solution to do similar work. (congratulations)
In a pleasant mood, I encountered a vbox error.
Then sudo changed the disk permission (I don't know why the system changed the permission back in a few seconds--And then I kept changing it)
Enter the vbox and it takes several minutes to execute ghost.
After changing the bios, I finally saw the four-color flag.
If you think the story is over here, you may think wrong.
After seeing the four-color flag, the machine restarted.
After restarting in safe mode, the last line Displays disk. sys.
I searched for it. There is no useful information at all.
Finally, I finally thought about whether there is a problem with the power supply of the hard disk.
Then the power supply lines of the hard disk and Cd are switched.
Use the virtual optical drive to load win7.iso in WINXP of Debian vbox.
Use sudo to change the permissions of a physical hard disk and link the virtual hard disk of vbox to the physical hard disk.
Use the virtual optical drive to virtualize the optical drive under WINXP of Debian vbox, and install win7 to the physical hard disk.
Stop the VM when it is restarted.
Restart the machine to change the bios and use the hard drive that has just been installed with win7 to boot.
After some initialization.
Finally completed successfully.
Note: It's a wonderful way to think about power supply. It's too deep.