Selasa, 24 Januari 2012

Membuat Dual Boot Installation dengan Windows 7 and XP



information   Information
This will show you how to install Windows 7 and XP to dual boot with when you already have either Windows 7 or XP installed first.
Note   Note
With a dual boot installaton, you will have two operating systems (OS) installed. When you start the computer, you will have the choice to choose which OS you would like to start up to. This method is the easiest way of doing a dual boot with these two operating systems.
Tip   Tip
When dual booting with another OS (ex: Vista or XP), you may not always have that OS partition show up in Computer with a driver letter in Windows 7. If this happens, then you will just need to add a drive letterto the OS (ex: Vista or XP) partition in Windows 7 Disk Management for it to show up in Computer with adriver letter.
warning   Warning
To stop XP from deleting your Windows 7 System Restore Points everytime XP is started, then see System Restore Points - Stop XP Dual Boot Delete to hide Windows 7 from XP.

Windows 7 Minimum Hardware Requirements
NOTE: For more information on this, see: Windows 7 system requirements
  • 1 GHz 32-bit or 64-bit processor
  • 1 GB RAM for 32-bit Windows 7 OR 2 GB RAM for 64-bit Windows 7
  • 16 GB available disk space 32-bit Windows 7 OR 20 GB for 64-bit Windows 7
  • Support for DirectX 9 graphics with 128 MB memory (in order to enable Aero theme)
  • DVD-R/W Drive
  • Internet or phone access to activate Windows 7.
Windows XP Minimum Hardware Requirements 
NOTE: For more information on this, see: System requirements for Windows XP operating systems
  • PC with 300 megahertz (MHz) or higher processor clock speed recommended; 233-MHz minimum required;* Intel Pentium/Celeron family, AMD K6/Athlon/Duron family, or compatible processor recommended
  • 128 megabytes (MB) of RAM or higher recommended (64 MB minimum supported; may limit performance and some features)
  • 1.5 gigabyte (GB) of available hard disk space.*
  • Super VGA (800 × 600) or higher resolution video adapter and monitor
  • CD-ROM or DVD drive
  • Keyboard and Microsoft Mouse or compatible pointing device

EXAMPLE: Windows Boot Manager
NOTE: This is the boot screen where you select what operating system that you would like to start. By default, you have 30 seconds to choose another operating system before the default operating system will start automatically.
Dual Boot Installation with Windows 7 and XP-example.jpg




OPTION ONE

When XP is Installed First

NOTE: If you have a RAID setup, you will need to have the Windows 7 RAID drivers on a USB flash drive available to select and load while installing Windows 7.
1. Do step 2 or 3 below for where you wanted to install Windows 7 at.

2. To Create a New Partition from the XP Hard Disk Drive
A) With your Windows 7 installation disc boot into the Command Prompt from theSystem Recovery Options screen. 
NOTE: Make sure that the CD/DVD drive is selected first in the boot order in theBIOS.

B) In the command prompt, select and shrink the XP volume by how many MB (1024 MB = 1 GB) you want to have for this Windows 7 partition. (See screenshot below)
NOTE: You would do steps 2 to 9 in METHOD TWO at that link. Windows 7 will need a minimum of 16 GB (16384 MB).
Dual Boot Installation with Windows 7 and XP-xp-w7_1.jpg
C) Click on the X at the top right corner to close the command prompt. (See screenshot above)

D) Click on the X at the top right corner to close System Recovery Options. (See screenshot below)
Dual Boot Installation with Windows 7 and XP-xp-w7_2.jpg
E) Go to step 4.
3. To Use a Separate Hard Disk Drive than the XP Drive
A) Boot from your Windows 7 installation disc.
NOTE: Make sure that the CD/DVD drive is selected first in the boot order in theBIOS.
4. Click on the Install now button. (See screenshot below)
Dual Boot Installation with Windows 7 and XP-xp-w7_3.jpg
5. When you get to this point, select the partition (step 2) or hard drive to install Windows 7 on. (See screenshot below)
Dual Boot Installation with Windows 7 and XP-xp-w7_4.jpg
6. Finish installing Windows 7.
NOTE: You would do step 9 on at that link to finish installing Windows 7.

7. When finished, restart the computer to have the option to boot from XP (Earlier Verision of Windows) or Windows 7. (See screenshot below)

Note   Note
If you are only booting into Windows 7 and do not have XP listed in the Windows Boot Manager, then you can install only EasyBCD (step 8 Option Two below) to add XP (or Windows 7) while started in Windows 7 the same way to the boot list.
Click image for larger version

Name: Example.jpg
Views: 45154
Size: 146.9 KB
ID: 9098




OPTION TWO

When Windows 7 is Installed First



warning   Warning
1. To Create a New Partition from the Windows 7 Hard Disk Drive
NOTE: If you want to install XP on a separate internal hard drive instead, then skip this step and go to step 2.
A) In Windows 7, select and shrink the Windows 7 volume in Disk Management by how many MB (1024 MB = 1 GB) you want to have for this XP partition. (See screenshots below)
NOTE: You would do all of Method One at that link.
Dual Boot Installation with Windows 7 and XP-w7-xp-1.jpg

Dual Boot Installation with Windows 7 and XP-w7-xp-2.jpg

Dual Boot Installation with Windows 7 and XP-w7-xp-3.jpg
2. Insert your XP installation disc, then restart the computer and press any key to boot from it when prompted. (See screenshot below)
NOTE: Make sure that the CD/DVD drive is selected first in the boot order in the BIOS.
Dual Boot Installation with Windows 7 and XP-step1.jpg
3. From XP Setup, Press Enter. (See screenshot below)


warning   Warning
Dual Boot Installation with Windows 7 and XP-w7-xp-4.jpg
4. Press F8. (See screenshot below)
NOTE: On some multimedia keyboards, you may need to press the F-Lock or Function key before pressing F8.
Dual Boot Installation with Windows 7 and XP-w7-xp-5.jpg
5. Select the partition (step 1) or hard drive that you want to install XP on using the arrow keys and press Enter.
Dual Boot Installation with Windows 7 and XP-w7-xp-6.jpg
6. Finish installing XP.


Tip   Tip
If you get Error loading Operating System after XP restarts:
  • Using your Windows 7 installation disc, boot to the command prompt at startup.
  • Type in these comands below, and press enter after each one.
    • bootrec /FixMbr
    • bootrec /FixBoot
    • bootrec /RebuildBcd
  • Exit the command prompt and restart the computer.
  • At this point, Windows 7 should boot up the same way before trying to install XP.
  • Continue to step 8 below and run EasyBCD from Windows 7 instead.


7. In XP, download and install .Net Framework 2.0 (32-bit) verison or .Net Framework 2.0 (64-bit) version and EasyBCD (free version) for your 32-bit (x86) or 64-bit (x86) XP.
NOTE: In XP, Net Framework is required to be installed to run EasyBCD. Only the "Download free for limited, non-commercial use" at the bottom or "Older Versions" at the right are free for EasyBCD. Registration is not required to download EasyBCD.

8. Run EasyBCD (free version).
NOTE: This is required to repair the Windows 7 boot file and add XP to the Windows Boot Manager list.

9. On the left side of EasyBCD, click on the Add New Entry button. (See screenshot below)
A) In the top section under Operating Systems, click on the Windows tab. (See screenshot below)
B) To the right of Type, select Windows NT/2k/XP/2k3 from the drop down menu. (See screenshot below)
WARNING: Be sure to leave the Automatically detect correct drive box checked.

C) To the right of Name, you can leave the default Microsoft Windows XP as the name to be displayed in the Windows Boot Manager, or you can type whatever nameyou would like to have instead. (See screenshot below)
D) Click on the Add Entry button. (See screenshot below)
Dual Boot Installation with Windows 7 and XP-w7-xp-7.jpg
10. On the left side of EasyBCD, click on the BCD Deployment button, select (dot) the Install the Windows Vista/7 bootloader to the MBR option, and click on the Write MBR button. (See screenshot below)
Dual Boot Installation with Windows 7 and XP-w7-xp-9.jpg
11. Close EasyBCD.

12. Restart the computer to have the option to boot from Microsoft Windows XP or Windows 7. (See screenshot below)
Dual Boot Installation with Windows 7 and XP-example2.jpg
Tip   Tip
If Windows 7 will not start up when selected, then use your Windows 7 installation DVD to do aStartup Repair.

Membuat image 7 untuk komputer lain via Sysprep



information   Information
Windows 7 System Preparation Tool is a powerful, native Windows tool. When for instance used in so called Audit Mode, it let's you to freely configure Windows 7 to be then deployed to other computers as hardware independent image.

In this tutorial we use System Preparation Tool (sysprep) to prepare your Windows 7 installation to be moved to a new computer, keeping all your installed applications, program settings and user profiles. You can use this method for instance when you have bought a new PC and want to transfer your existing setup completely, without need to reinstall everything, or when you want to make major hardware changes like change the motherboard or GPU, which would usually cause Windows to stop booting normally.

warning   Warning
Using this method causes Windows 7 to lose all activation information, and it needs to be reactivated afterwards. If your Windows 7 is an OEM version, you might not be able to reactivate afterwards, at least not without phone activation option.

With the speed of today's hardware evolution, most of us geeks are upgrading the hardware more often than operating system. Upgrading hardware can be painfully slow process if we need to reinstall the operating system and all our installed applications, plus transfer program settings and user profiles.

Using sysprep makes this easy. Changing the motherboard, or for instance an old ATI GPU to a new nVidia GPU quite often causes Windows 7 not to be able to boot anymore. This fact is usually accepted by the user, who then reinstalls the OS and all applications and transfers user profiles from a backup location.

Same thing when buying a new computer with completely different hardware setup compared to the old one, or trying to restore a system image to different hardware setup. Normally this would include a complete reinstallation of Windows 7 and all applications.

Why not use sysprep to avoid reinstalling? Here are the different scenarios where you can use it.




warning   Warning
PLEASE DO NOT FORGET TO CREATE A SYSTEM IMAGE BEFORE PROCEEDING!


As you can read on this thread, on rare occasions this method does not work. If this happens, you can always restore your system using your backup image.

Backup Complete Computer - Create an Image Backup
System Image Recovery




METHOD ONE

Changing hardware components but keeping old hard disk(s)

Use this method if you:
- Change other hardware components but keep your old HD containing Windows 7

- Move the HD containing Windows 7 to another computer
  1. Before installing new hardware, boot Windows 7 normally
  2. Run Command Prompt as administrator
    .
    Windows 7 Installation - Transfer to a New Computer-audit_1.png
    .
  3. Type to Command Prompt: %windir%\System32\Sysprep\Sysprep.exe, and hit Enter
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_start.png
    .
  4. In sysprep dialog that opens, choose System Cleanup Action as Enter System Out-of-Box-Experience (OOBE), select Generalize, select Shutdown Options Shutdown. Click OK
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_run_and_generalize.png
    .
  5. Sysprep generalizes now your Windows 7 setup and shuts down your computer. Do not run any other programs during this phase!
    .
    Name:  Sysprep_Run_and_generalize_2.png
Views: 39726
Size:  3.5 KB
    .
    Name:  Sysprep_Run_and_generalize_3.png
Views: 39649
Size:  3.4 KB
    .
  6. Switch the main power of your PC off and install the new hardware OR dismount the hard disk(s) and mount it (them) to a new computer
  7. Boot the PC from sysprep generalized hard disk. You will notice Windows booting as if it was the first boot after installation, installing default drivers and updating registry. One or two reboots are needed, depending on your system specifications
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_reinstalling_devices.png
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_registry_settings.png
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_reboot_needed.png
    .
  8. When Windows finally boots up, you will need to enter all information as if this really was a new, fresh installation
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_2.png
    .
  9. Because your old user profiles already exist, Windows does not accept your normal username, but instead you have to create a new temporary user. I use username Test for this purpose
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_3.png
    .
  10. When login screen appears, choose your old user account to login
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_5.png
    .
  11. Windows boots now to default OOBE first boot desktop, with default 800*600 resolution and default theme. All your installed applications are there, as well as your old user profiles and folders. Windows has installed the default drivers for your setup, you can update them if needed
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_6.png
    .
  12. Go to Control Panel > User Accounts and delete the temporary user account (in this case Test) that you just created



METHOD TWO

Change the hard disk(s) or move Windows 7 setup to a new computer using third party imaging software
Use this method if you:
- Replace the HD containing Windows 7 on your old computer 

- Move Windows 7 to a new HD on another computer
  1. Follow steps 1 through 5 above (method 1)
  2. Boot PC with an imaging CD/DVD (Paragon, Macrium etc.)
  3. Create an image of your system
  4. Turn PC off, change the hard disk(s) and reboot with imaging application, restoring the image OR boot the new computer with imaging software and restore the image
  5. Continue from step 7 above (method 1)



METHOD THREE

Change the hard disk(s) or move Windows 7 setup to a new computer using Windows Seven's native Backup and Restore
Use this method if you:
- Replace the HD containing Windows 7 on your old computer 

- Move Windows 7 to a new HD on another computer
  1. Follow steps 1 through 5 above (method 1)
  2. Change the hardware componets you want to, letting the old HD be still mounted as system disk OR if transferring to a new computer, mount the old HD to the new computer as system (boot) disk
  3. Boot computer normally, continuing from step 7 above (method 1)
  4. Launch Windows Seven Backup and Restore, create a complete system image. This tutorial shows you how: Backup Complete Computer - Create an Image Backup
  5. Shut down the computer, dismount the HD and mount the new one
  6. Boot from Windows 7 installation DVD, choosing Repair > Restore an image, using the image you created in previous step. This tutorial shows you how (from Step Two / 7): System Image Recovery
  7. When image is restored, boot your computer normally
This procedure is failsafe, and works every time. There is nothing to worry, but of course it is recommended to make a backup before trying this. I have even used this method when some serious driver issues caused the PC to constantly crash (BSOD), to reset all drivers to Windows defaults and then reinstalling them one by one to find the culprit.




Note   Note
What does Sysprep generalizing do to my Windows 7 setup?
  • All system specific information is removed or uninstalled
  • Security ID (SID) of your hardware setup is reseted
  • All system restore points are deleted
  • All event logs are deleted
  • All personalization is removed (taskbar, toolbars, folder options, start orb etc.)
  • Built-in administrator account is disabled (if it was enabled) and needs to be re-enabled if needed

What happens when booting first time after sysprep generalizing?
  • First boot configuration is run
  • New SID is created
  • Re-arm counter is reseted if not already re-armed three times
  • Windows 7 is booted using first boot default drivers and settings


I have tested all above mentioned methods with all versions of Windows 7, from Starter to Enterprise. It works every time, with one exception: for reasons unknown to me, sysprep seems sometimes dislike Windows Media Player networking service, which is by default started every time Windows 7 starts. In about every third time I've done this, I've got an error message when trying to generalize:

Windows 7 Installation - Transfer to a New Computer-sysprep_fatal_error.png

However, this is not a big problem. You just need to stop the WMP networking service, and run sysprep with generalize option again. You can stop the service in question by typing net stop WMPNetworkSvc to command prompt, and hitting Enter:

Windows 7 Installation - Transfer to a New Computer-sysprep_stop_wmp_service.png

If you have any questions, do not hesitate to ask.