Quantcast
Channel: Kommentare zu: Windows 8.1: Preview als Upgrade über Windows 7 installieren
Viewing all articles
Browse latest Browse all 5

Von: Harry Bo

0
0

Alternativ geht auch die Installation in eine VHDx-Datei – ich habe es mit der Windows 8.1 Enterprise (32 Bit) nach dem folgenden Artikel gemacht:
Native-Boot a Windows 8.1 Preview VHD
http://www.wolffhaven45.com/blog/windows-8-1/native-boot-a-windows-8-1-preview-vhd/
The Windows 8.1 Preview has been released. Wouldn’t it be great to take it for a test run without having to dual-boot, run it in a Virtual Machine or fire it up on a spare workstation? Why not Native-Boot a Windows 8.1 Preview VHD file? It gives you all the benefits of a Virtual Machine but all the performance of a bare-metal dual boot installation. Win-Win!

Create a VHD File
Open up Computer Mangement, and navigate to Disk Management. Right click and Create VHD.

Specify the location of the VHD file, the size and whether you would like it to be a VHD or a VHDX. It’s recommended also that if you’re using this for anything but testing then you should use a Fixed Size disk as you will get a performance boost.
**NOTE**- The VHD file needs to be on a Basic disk. This won’t work with Dynamic Disks.

Once that has been created, go back into Computer Management. Right click Disk Management and select Attach VHD

It may already be attached. If so skip this step.

Intialize the disk and create a New Simple Volume. Take note of the Drive Letter.

Mount the Windows 8.1 ISO.

Install the OS on the VHD file
Open an elevated Command Prompt and navigate to the location of ImageX. At the command prompt, type the following
imagex /apply M:\sources\install.wim 1 K:
Where M: is the drive letter where you have mounted your Windows 8 ISO and K: is the drive letter of the VHD file.

Modify the BCD Store
First, backup your BCD Store.
• Bcdedit /export C:\Bcdbackup.

Now, take a copy of an already existing boot entry, to generate a new GUID.
• bcdedit /copy {default} /d “Windows 8.1 VHD”

Copy the GUID and enter that in the next commands.
• Bcdedit /set {4176393d-e226-11e2-bee4-88532e7a2b77} device vhd=[D:]\vhds\windows8.1.vhdx
• Bcdedit /set {4176393d-e226-11e2-bee4-88532e7a2b77} osdevice vhd=[D:]\vhds\windows8.1.vhdx

If you would like to make the Windows 8.1 VHD installation the default. Type the following.
• Bcdedit /default {4176393d-e226-11e2-bee4-88532e7a2b77}

To check everything is as it should be, run a msconfig at the command prompt.

Now reboot!

Go you colourful, little fish! Enjoy your Start Button!
For more information on the BCDEdit command line options see the link below.
http://technet.microsoft.com/en-us/library/dd799299(v=ws.10).aspx

Windows Server 2012 R2 and Windows 8.1 Boot From VHDX
http://www.hyper-v.nu/archives/tag/boot-from-vhdx/
This blog is intended to help you get started with Windows Server 2012 R2 and Windows 8.1 real easy. It is just a quick reminder of an older blog of mine describing the Boot from VHDX process, which is sometimes also referred to as Native VHD boot. The idea is that you boot off a self-created VHDX and have all the functionalities of the operating system at your disposal. Running Hyper-V is just one of these options.
Wait for the upcoming new Preview builds of Windows which you will be able to download next week as ISO files. To make Boot from VHDX work as intended, you need to convert that ISO file to either a VHD or VHDX. If you are running Windows Server 2008 R2 or Windows 7, I suggest you use VHD because VHDX was not supported at the time. If you are running Windows 8 or Windows Server 2012, you can convert the OS ISO file to VHDX by running this handy script created by Mike Kolitz.
The Convert-WindowsImage.ps1 script does all the work.

All you need to do is have the ISO file available, use above script and make the VHDX bootable.
Start Windows PowerShell in Administrator mode and run the script like this:

If you run it with –ShowUI parameters a menu will appear asking you to fill out some details:

The script will run for a will so wait till the VHX has been created.

As soon as the VHDX is ready, place it in the preferred directory. In my case I have placed the VHDX in the c:\VHDX directory:
Finally you can make the VHDX bootable by just two steps:
• Right-click the VHDX to mount it (check the drive letter, e.g. F:\ )
• Run this command in an administrative prompt: bcdboot F:\Windows
And you are done. The bootable VHDX is now at the top of your boot order list. As soon as you reboot your machine, it starts he new operating system without hurting your current installation.
Have fun testing the great new Windows versions for both server and client!
#12R2, Boot from VHDX, Windows 8.1, Windows Server 2012 R2, Windows Server vNext
Mike Kolitz’s SuperDuper Windows 8/Server 2012 Deployment cmdlet
Jun 1st
Posted by Hans Vredevoort in Hans Vredevoort
1 comment
Updated June 7, 2012
I have already blogged several times about how to create a Boot from VHD installation for the Developer and Beta versions of Windows 8 and Windows Server 8 Beta.
Now that the Release Preview version of Windows 8 and the Release Candidate version of Windows Server 2012 have been released, it is a good occasion to revisit this very flexible boot method.
My first assumption this time is that you already have a system running PowerShell 3.0 which is the case if your machine runs an earlier version of Windows (Server) 8. This blog you will learn how to configure Native VHD without touching diskpart for preparing the VHD file. In fact we are going to create a VHDX file which is recognized by Windows 8 and Windows Server 2012 machines.
A second assumption is that you have the Hyper-V role installed. This is required because we need the Hyper-V PowerShell module which comes with the Hyper-V role.
To fully understand what is going on, I suggest you first run the classical route and then be surprised by the simplest of deployment methods which has much less requirements [See update and comments Mike Kolitz below) compared to the Classical Route. More on this later on in the blog!
The Classical Route
Let’s start creating a 60GB dynamic VHDX file named ws2012rc.vhdx in a directory we shall name D:\VHDX. A downloaded ISO image file of Windows Server 2012 should be copied to D:\Download.

New-VHD -Path d:\vhdx\ws2012rc.vhdx -Dynamic -SizeBytes 60GB
Once the VHDX file is created, it can be mounted as follows:
Mount-VHD -Path D:\vhdx\ws2012rc.vhdx –verbose
As you can see in the next screen, the newly mounted VHDX has a RAW partition style, so we need to find a way to only initialize the mounted virtual hard disk.

More >
bcdboot, bcdedit, Boot from VHD, Boot from VHDX, Convert-WindowsImage.ps1, Deployment, Install-WindowsImage.ps1, Mike Kolitz, Native VHD, Powershell, PowerShell 3.0, VHD, VHDX, Windows 8, Windows Server 2012


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images