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.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




4134 posts

Uber Geek
+1 received by user: 213

Trusted
Subscriber

Topic # 111071 23-Oct-2012 13:17 Send private message

Hi,

I'm trying to set up Windows 8 to boot from VHD. In 7 I'd boot from the DVD, press Shift-F10 then type:

diskpart
create vdisk file="C:\win7.vhd" type=expandable maximum=100000
select vdisk file="C:\win7.vhd"
attach vdisk
exit
exit

I'd then install to the newly-accessible VHD. All good.

I'm trying to do the same in Win 8. As some of you will be aware, Windows 8 is localised into proper English and it therefore defaults to a UK keyboard layout. On the first screen of the installer you can select NZ and it'll swap to the US layout... but this doesn't seem to affect the Shift-F10 command prompt. I'm getting stuck on the second command because the \ key types # instead!

I've been through all the key combinations that I can think of and can't find any way to type a backslash. Does anyone know:

1. How to type a backslash, or
2. How to change the keyboard layout to US, or
3. Some other way of creating/attaching a VHD?

Thanks :)

Filter this topic showing only the reply marked as answer Create new topic
2074 posts

Uber Geek
+1 received by user: 292

Trusted
Subscriber

  Reply # 705074 23-Oct-2012 13:31 Send private message

some google pictures of UK KBs have the \ on the pipe | key, but down down between the left shift and Z key.



4134 posts

Uber Geek
+1 received by user: 213

Trusted
Subscriber

  Reply # 705076 23-Oct-2012 13:33 Send private message

Yeah, that doesn't really help when there's no physical key there :)

2162 posts

Uber Geek
+1 received by user: 48


  Reply # 705078 23-Oct-2012 13:36 Send private message

You don't need to do anything from the command prompt in Win8 to setup a boot to vhd.
I did it in my Win8 to dual boot to a server 2012 vhd just by using Disk Management.




2918 posts

Uber Geek
+1 received by user: 302

Moderator
Trusted
Subscriber

  Reply # 705080 23-Oct-2012 13:36 Send private message

UK Keyboard by any chance? Seems to be mentioned here: http://www.hanselman.com/blog/GuideToInstallingAndBootingWindows8DeveloperPreviewOffAVHDVirtualHardDisk.aspx in the comments.




Samsung Galaxy Note 3 N9005
ROM: Stock Telecom release 4.4.2

If you can't fix it with a Big Hammer, chances are you've got an electrical problem!

2074 posts

Uber Geek
+1 received by user: 292

Trusted
Subscriber

  Reply # 705095 23-Oct-2012 13:47 Send private message

BigHammer: UK Keyboard by any chance? Seems to be mentioned here: http://www.hanselman.com/blog/GuideToInstallingAndBootingWindows8DeveloperPreviewOffAVHDVirtualHardDisk.aspx in the comments.


for those that don't want to read the whole thing

"
4. Since I have a UK Keyboard, when I was in the command window I couldn't type a "\" char for the file path used in DISKPART's 'create vdisk' command. Luckily, I could copy/paste the char from some previous text within the cmd window.

"



4134 posts

Uber Geek
+1 received by user: 213

Trusted
Subscriber

  Reply # 705106 23-Oct-2012 13:57 Send private message

Thanks for that. Indeed, copy/pasting the \ from "X:\Sources" was successful and it's currently installing :)

CYaBro, it sounds like you may have an easier system that I could use in the future but can you please be more specific than "just by using Disk Management"? I can (probably) manage to create a VHD in there but how would I attach that VHD from the Win 8 installer without using the command line?

2918 posts

Uber Geek
+1 received by user: 302

Moderator
Trusted
Subscriber

  Reply # 705109 23-Oct-2012 14:03 Send private message

The posted link may give you a few suggestions and point you in the right direction. Kinda the reason I posted the link, and not just a bit of text telling you to copy/paste. Similar in a way to putting the Windows 7 Pro install files on a USB stick to install on a netbook. Between that and google, looks easy enough.




Samsung Galaxy Note 3 N9005
ROM: Stock Telecom release 4.4.2

If you can't fix it with a Big Hammer, chances are you've got an electrical problem!

2162 posts

Uber Geek
+1 received by user: 48


  Reply # 705113 23-Oct-2012 14:07 Send private message

Behodar: Thanks for that. Indeed, copy/pasting the \ from "X:\Sources" was successful and it's currently installing :)

CYaBro, it sounds like you may have an easier system that I could use in the future but can you please be more specific than "just by using Disk Management"? I can (probably) manage to create a VHD in there but how would I attach that VHD from the Win 8 installer without using the command line?


I follow this to install server 2012 as a boot to vhd in Win8:
http://blogs.technet.com/b/haroldwong/archive/2012/08/18/how-to-create-windows-8-vhd-for-boot-to-vhd-using-simple-easy-to-follow-steps.aspx
I forgot that you do still need to do some things from a command line but as you'll be in your Win8 install with the proper keyboard setup it isn't an issue.






4134 posts

Uber Geek
+1 received by user: 213

Trusted
Subscriber

  Reply # 705120 23-Oct-2012 14:16 Send private message

After reading that, I think I'll stick with my tried and true method :P

Posting this from Win 8!

Filter this topic showing only the reply marked as answer 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 tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Am I going down? App for the fearful of flying.
Created by networkn, last reply by SaltyNZ on 28-Jan-2015 19:25 (38 replies)
Pages... 2 3


Bad lower back.
Created by TimA, last reply by blakamin on 28-Jan-2015 18:46 (65 replies)
Pages... 3 4 5


I have had enough of Vodafone Customer Service... which ISP is for me?
Created by andrewinwlg, last reply by meesham on 28-Jan-2015 19:07 (21 replies)
Pages... 2


Police Speed Campaign - Summer 2014/2015
Created by nzkiwiman, last reply by KiwiNZ on 28-Jan-2015 17:52 (117 replies)
Pages... 6 7 8


AdBlockers on Geekzone
Created by freitasm, last reply by freitasm on 28-Jan-2015 19:25 (53 replies)
Pages... 2 3 4


Windows 10 News - 22 Jan
Created by Regs, last reply by timmmay on 28-Jan-2015 18:36 (124 replies)
Pages... 7 8 9


Spark customers get Lightbox free for 12 months
Created by freitasm, last reply by ARK on 27-Jan-2015 16:35 (137 replies)
Pages... 8 9 10


How (not) to run a hotel
Created by MikeAqua, last reply by BTR on 26-Jan-2015 16:06 (68 replies)
Pages... 3 4 5



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.