Installing the Windows 8 Consumer Preview

windows-8-logoI wanted to dip my toe into the murky water that is Windows 8, but i kind of like my laptop the way it is.

I currently have my laptop set as a dual boot between Win 7 Ultimate, and Windows 2008 R2.

I use Windows 2008 R2 for Hyper-V demo’s,  so i like having my laptop dual boot to that because i dont have to worry about having a separate Demo system to carry with me.

Something awesome i did with my dual boot, was to have it install Windows 2008 R2 to a VHD.

I am kind of lucky in that my laptop HD is 700gb, so i could have easily said – you know what ill just partition my laptop drive, but after talking to Tim Barrett, we both agreed we would have more flexibility if our Dual Boots went to VHD.

Because Tim doesn’t think things through, he didn’t do this when installing his laptop, and his now stuck with a full up C drive, and  a second partition that is nearly empty.

However, because i am exceptionally irritating, i did do this with my laptop,

Here is how my ‘Computer’ appears.

Disk

And here is my C drive.

CDrive

As you can see i have a file called server2008r2.vhd – this is my Server 2008 R2 Installation.

When it came round to installing Windows 8, of course i didn’t want to do it any other way than using a VHD.

First off, you will need the Win 8 Iso, which you can download from here. microsoft.com/windows-8/download

Second, you will need a USB drive, and you can download a tool from the Win 8 download page to make a bootable USB key to install.

When you are performing the install, you get to the Custom/Upgrade page. Chose Custom.

2

(don’t get me started on the fact it only shows US English)

3

4

5

6

7

Now hit Shift F-10 on your keyboard.

This will launch a CMD window, from which you can launch DISKPART.

8

Enter LIST VOLUME, this will show you the available volumes and there WinPE drive letter assignment too.

9

As you can see my main partition is listed as E in WinPE.

Now we want to create a new VHD to install our OS to.

Type in..

Create VDISK FILE=”yourfilename” MAXIMUM=sizeinMB TYPE=EXPANDABLE

10

In my example i am creating a new VHD on Drive E, which is a dynamic VHD with the max size of 100000mb.

(This site here is great for helping you do conversions of MB to GB etc. Shame i didn’t use it ;o) )

This should complete quite quickly.

Next we need to attach the VHD, and we can do that by typing

Attach VDISK

101

Now close your CMD window, and click Refresh, your VHD is now listed as a destination for your OS.

12

You can select it, and complete the install as normal.

Metro

Loading up ‘Computer’ from the Windows 8 machine, you can see my VHD appears as a normal HD, and my main Disk also appears.

computer

After the OS has installed, you might want to play with the default boot order. If so, you will want to launch BCDEdit.

You will need to flip out of Metro, i have no idea where the run box is, so i just used a Windows Shortcut, of Windows Key + R.

You can check the Boot Config, by typing BCDEDIT (you may need to be at an elevated CMD)

BCDedit

Check for the Identifier of the OS you want to work with.

BCDedit1

I wanted to set Win7 back to the default, so i find the Identifier for Win7, and then enter:

BCDEdit /Default {identifier}

BCDedit2

Then when you reboot, you will see your three OS options, and as you can see Win7 is back to default.

IMG_1684

Hopefully this was useful to you, and now you can spend your time trying to find where everything was moved to…

About Robert Pearman
Robert Pearman is a UK based Small Business Server enthusiast. He has been working within the SMB IT Industry for what feels like forever. Robert likes Piña colada and taking walks in the rain, on occasion he also enjoys writing about Small Business Technology like Windows Server Essentials or more recently writing PowerShell Scripts. If you're in trouble, and you can find him, maybe you can ask him a question.

Leave a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: