Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



1498 posts

Uber Geek

Trusted
Subscriber

Topic # 110286 6-Oct-2012 16:46 Send private message

I'm using Standard Edition in this example, however, I wouldn't think it was specific to this edition. I used to boot WS2008 and Win7 from VHD as "thin" hypervisor, i.e. the VMs had full access to the hardware, this trick doesn't seem to work in Win Server 2012?

Create new topic
10100111001
3177 posts

Uber Geek

Trusted
Subscriber

  Reply # 697856 8-Oct-2012 13:49 Send private message

I haven't tried Win Server 2012 but I have installed windows 8 as VHD boot and run hyper-v on it no problems.

Win8/WS2012 have different boot layer - perhaps you need to use a diff BCDEdit, or perhaps you need to perform the install of the parent partition directly into a VHD using the supported method instead of messing around with BCDEdit after the fact?




Need help implementing Microsoft CRM? Give OA Systems a shout. 
Winners of CRM Solution of the Year at the 2010 Microsoft NZ Partner Awards

942 posts

Ultimate Geek

Trusted
Microsoft NZ

  Reply # 701742 15-Oct-2012 19:58 Send private message

can you explain a bit more about what you are trying, step by step and I will look into it

I have done several hundred BootVHD installs of Windows Server 2012, both Standard & Datacenter support BootVHD

BTW BootVHD is not any sort of thin hypervisor, no hypervisor involved, just Windows running off a Virtual Disk instead of native boot



1498 posts

Uber Geek

Trusted
Subscriber

  Reply # 701874 16-Oct-2012 08:15 Send private message

Thanks for that, I had just assumed it was some form of virtualisation as it was using VHDs, I had never researched how it worked.

The plan was to have Win7 Ultimate and Windows Server 2012 Standard installed. So I build WS2012 VHD on one of my Hyper-V machines and copied it to the Win7 machine, then did what I normally do:
bcdedit /copy {current} /d "Server 2012 Standard"
bcdedit /set {66054000d-dd92-11dd-92a1-dc4419dac736} device vhd=[C:]\VHD\WS2012Std.vhd
bcdedit /set {66054000d-dd92-11dd-92a1-dc4419dac736} osdevice vhd=[C:]\VHD\WS2012Std.vhd
bcdedit /set {66054000d-dd92-11dd-92a1-dc4419dac736} detecthal on
Rebooted the machine, but no boot selection menu, just back into the Server. So failing that, I scrubbed the Server 2008 R2 instance and rebuilt as Server 2012 Standard, then tried the same method to boot a Win7 Ultimate VHD, again, no boot option, straight to the server. When I list the BCDEDIT, the GUIDs display as I configured them, but they are not available at boot time.

The machine has been scrubbed again for ESXi testing, but I can rebuild as Server 2012 relatively easily.

942 posts

Ultimate Geek

Trusted
Microsoft NZ

  Reply # 702952 18-Oct-2012 14:02 Send private message

this way should work, when I get some time I'll try to look into why your BCDEDIT isn't working

Start Installation

Format Media (if doing bare metal install)

You should be on the ?Where do you want to install Windows?? screen of the installation press Shift-F10 to drop to command prompt

Find installation drive (dir c:, dir d:, dir e:, etc)

Diskpart
Create vdisk file=e:\BootDemo.vhd type=expandable maximum=40000
Attach vdisk
Exit

Click ?Refresh? button

Select ?New Drive? and perform normal installation

Using this method, the BCD will be updated automatically




1498 posts

Uber Geek

Trusted
Subscriber

  Reply # 703990 20-Oct-2012 12:48 Send private message

nathan: this way should work, when I get some time I'll try to look into why your BCDEDIT isn't working

Start Installation

Format Media (if doing bare metal install)

You should be on the ?Where do you want to install Windows?? screen of the installation press Shift-F10 to drop to command prompt

Find installation drive (dir c:, dir d:, dir e:, etc)

Diskpart
Create vdisk file=e:\BootDemo.vhd type=expandable maximum=40000
Attach vdisk
Exit

Click ?Refresh? button

Select ?New Drive? and perform normal installation

Using this method, the BCD will be updated automatically



I've wiped the drive clean, should I perform the steps above from the Win7 or WS2012 media?

942 posts

Ultimate Geek

Trusted
Microsoft NZ

  Reply # 703993 20-Oct-2012 12:53 Send private message

2012

Create new topic
Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Fecked up religious people strike again :-(
Created by Mark, last reply by KiwiNZ on 24-May-2013 15:59 (69 replies)
Pages... 3 4 5


Cannabis is illegal yet we have really strong 'legal highs' ?
Created by qwerty7, last reply by freitasm on 23-May-2013 23:20 (74 replies)
Pages... 3 4 5


Xbox One
Created by DjShadow, last reply by Kingy on 24-May-2013 13:48 (68 replies)
Pages... 3 4 5


A new project coming to Geekzone
Created by freitasm, last reply by jeffnz on 24-May-2013 15:01 (338 replies)
Pages... 21 22 23


Troublesome transition to VDSL
Created by oseiler, last reply by michaelmurfy on 24-May-2013 13:57 (18 replies)
Pages... 2


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by wlfkfgkwlaktka on 24-May-2013 15:49 (1564 replies)
Pages... 103 104 105


Orcon, Is this for real or a scam??
Created by old3eyes, last reply by DarthKermit on 22-May-2013 19:12 (29 replies)
Pages... 2


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)


Geekzone Jobs »
Most recent NZ jobs in technology:

Test Practise Lead
Posted 24-May-2013 15:28

Senior Test Analyst
Posted 24-May-2013 15:28

Business Analyst Practice Manager
Posted 24-May-2013 15:28

Game Developer
Posted 24-May-2013 15:28

Contract Change Analyst - $$ neg Large Corporate
Posted 24-May-2013 15:28

Front End Web Developer /.Net, Python or PHP
Posted 24-May-2013 15:28

Applications Architect | Leading Organisation
Posted 24-May-2013 15:28


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.