Step 1.
Insert your Windows 7 Installation DVD and boot from it. When the first screen appears asking you for language and keyboard layout press “Shift + F10”. This will bring up a command prompt.
(See "Step1.jpg" attached.)
Step 2.
In the command prompt type ‘DISKPART’ to enter the DISKPART utility.
Type ‘list disk’ to see available hard drives.
Type ‘select disk [#]’ where the number is the disk that you want to install Windows.
Type ‘list part’ to see a list of partitions currently on the disk.
This is where we will delete all partitions that we no longer need. WARNING – You will lose all data that resides on these partitions. You may not be prompted with any “Confirm” dialogues as it is assumed if you are using DISKPART you are smart enough to know.
Type ‘delete partition [#]’ where the number is the partition you want to delete. Repeat this step until all partitions that you want to remove are gone.
(See Step2.jpg attached.)
Step 3.
We are now going to create all of the partitions that we will need on this disk. My disk consists of two Primary partitions. One is my C:\ drive where I will install Windows, and the other is my D:\ drive which I will name “Recovery”. I have decided to make my Recovery partition 50GB in size. This will accommodate the Windows 7 Install files, as well as a system image with all of my applications and Windows Updates applied.
I wanted my Windows 7 Partition to come first on the disk, so I need to create this partition first. Since I have a 180GB HDD, and I wanted a 50GB Recovery partition I created a 130GB partition first.
First make sure you have selected the correct disk. Type ‘select disk [#]’.
Type ‘create partition primary size=133120’ (The size here is in MB)
Now create the Recovery Partition
Type ‘create partition primary’. This will simply use up the rest of the remaining space, which was 50GB for me. To verify this has all worked properly you can again type ‘list partition’ and you should see your partitions, with a type of “Primary”. You can also type ‘list volume’, and you should see an “FS” of “RAW”.
Step 4.
Now that the partitions exist, we are going to format them both as NTFS.
Type ‘select partition [#]’ to select the first partition you created.
Type ‘format fs=ntfs label=”Windows 7” quick (The ‘label’ and ‘quick’ arguments are optional)
Now select the Recovery partition.
Type ‘select partition [#]’
Type ‘format fs=ntfs label=”Recovery” quick’
Again you can type ‘list partition’ and ‘list volume’ to verify.
Now we have finished playing with DISKPART. You can exit out of the command prompt and continue installing windows as normal. Be sure to select the correct partition when the installer asks you where to install. Simply leave the Recovery Partition alone for now; we will come back to it later.
(See Step4.jpg attached.)
Step 5.
Install Windows 7 as normal, making sure to install it to the correct partition (which you just created). Finish the install procedure and boot into Windows for the first time. Install all available Windows Updates. Activate your copy of Windows 7 to make it Genuine. Install any applications,
drivers and/or files that you want to be part of your recoverable image. Adjust all of your settings in the Control Panel and generally configure any settings which you don’t want to have to re-do in the future. I also recommend that you Defragment your hard drive to optimize it as much as possible.
Step 6.
No we are going to begin working with the Recovery Partition. This step requires two things, A) Your Windows 7 Installation Disk and B) A copy of EasyBCD which you can download for free here:
NeoSmart Technologies
Copy the ENTIRE contents of your Windows 7 Installation Disk onto your Recovery partition.
Install and run EasyBCD.
Step 7.
In EasyBCD you should only have a single entry in the Bootloader. It should look similar to the attached image at the very bottom of this post.
We are now going to add an entry to the Bootloader, so that we can boot from the Recovery Partition (which is – in effect – the Windows 7 Installation DVD!)
Navigate to the “Add Remove Entries” button on the left and select it.
Towards the bottom right, select the “WinPE” tab.
Change the Drop-Down menu for “Type” to “WIM Image (Ramdisk)”.
Name it anything you’d like. (I used “Install”)
In the path, select the Browse button and navigate to “D:\sources\boot.wim”.
Leave the “EMS Enabled” box unchecked, and press “Add Entry”.
Now your Bootloader should have 2 entries, and should look like the attached "Step7.3.gif".
You’re Done! In 7 easy steps, you have made a bootable partition out of the Windows 7 Installation Media! Next time you reboot, you will be prompted to choose which Partition you would like to boot from. After 30 seconds it will automatically choose your Windows 7 partition, and boot as usual. If you choose the other option “Ramdiskoptions”, it will act as if you have inserted your Windows 7 Install DVD!
P.S. – I don’t know why it is named “Ramdiskoptions” instead of “Install” as I specified, but I am not too concerned. If anyone figures out how to change this let us know!
Browse the rest of the attachments for screenshots!
Move onto the next post to customise things a bit further, including a System Image and adjusting bootloader timeouts.