c0der

Code, News, CRM, CCF and other good stuff

Dual booting Windows 7 and Windows Server 2008 r2

Dual booting Windows 7 and Windows Server 2008 r2

  • Comments 8

Hey,

I just finished setting up my new dev environment on my work laptop.
There's some key elements to do this in a successful matter.

Start setting your win7 up normally.
When selecting harddisk, make sure you create a partition that fits your need and make sure to leave space for the VHD that will contain Win2k8r2.
After the win7 installation, reboot and put in your Win2k8 dvd.
After selecting language press shift+f10 to get into the winpe console.

  1. Enter DISKPART to run the utility.
  2. LIST DISK to see the available disks in your system.  I am assuming a single raw disk.
  3. SEL DISK 0
  4. CREATE PARTITION PRIMARY
  5. FORMAT FS=NTFS QUICK
  6. LIST VOL
  7. ASSIGN
  8. LIST VOL
  9. CREATE VDISK FILE=d:\win2k8r2.vhd MAXIMUM=50000 TYPE=EXPANDABLE
  10. SELECT VDISK FILE=d:\win2k8r2.vhd
  11. ATTACH VDISK
  12. CRE PART PRI
  13. FORMAT FS=NTFS QUICK
  14. ASSIGN LETTER=V:
  15. LIST VOL
  16. LIST VDISK
  17. exit DISPART
  18. exit WinPE command console
  19. Install to the newly created 200GB (fuzzy math) virtual hard disk which looks just like a partition to Windows Setup

This is all there is to it, after installation, your system will boot up with a boot loader, and here you can choose between 2k8 and win7...

AWESOME!!!!!

  • Wow, thanks a lot for this tutorial, it solved my problems.

  • what is VHD? and what's the use of that?

  • I know this is an old post, but i was wondering, if hyper-v works natively on my machine, will it still work if i install 2008 in a vhd like in this tutorial?

  • This was very helpful,but a mate of mine could not use this in Vista!

    Thanks!

    Eduard Mi

    Owner of: <a href="http://www.howtogetskinnyfastinfo.com">how to get skinny fast</a>

  • @Chris, yes if you have your win2k8 in a vhd you're still able to utilize hyperv natively on your machine.

    @Eduard, I have tried this on vista with success :)

    @khen, if you dont know what a vhd is look it up, but in short its a virtual harddrive that can hold your entire system and you can boot into it...

  • Thanks a bunch. This was exacly what I was looking for. A mate gave the the link! Im so  grateful

    Troy from www.bestpriceelectronicsreviews.com/.../troy-bilt-tb90bc

  • What about dual booting Windows 7 and Windows Server 2008 R2 without using a VHD file for the second OS? Is it possible?

  • If you install it on 2 different partiions and after the installation edit the BCD settings this is possible :)

Page 1 of 1 (8 items)
Leave a Comment
  • Please add 2 and 4 and type the answer here:
  • Post