Jump to content











Photo

Windows8 and VirtualPC


  • Please log in to reply
68 replies to this topic

#1 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 November 2011 - 05:35 PM

I have just unsuccessfully tried to install Win8 into VirtualPC.
How do you guys install Win8 into a vhd, without VirtualPC?

:cheers:

#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 November 2011 - 06:06 PM

I hope your google will be fixed soon. :)

Here ;):
http://superuser.com...soft-virtual-pc
http://blogs.msdn.co...nvironment.aspx
http://geekswithblog...-windows-8.aspx

The good MS guys make usually things incompatible with their own other things (and if you ask them they will tell you that this is by design :whistling:)

Alternatively:
http://www.hyper-v.n...eloper-preview/

:cheers:
Wonko

#3 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 11 November 2011 - 06:17 PM

I'd suggest to add (via Windows Components) and use supplied with Win8 Hyper-V VM Server instead of Virtual PC for installing Win8 to VHD and test running it, since VPC has severe limitations, when it comes to VHDs. Here's a MS video on how to do it: Working with Hyper-V in Windows 8. Of course, one would need to ordinary install Win8 to a physical HD before adding the Hyper-V component to it.

Another option to try would be booting a Win8 Setup DVD or ISO, creating and attaching a fixed VHD with Diskpart from its Command Prompt, and then proceeding with installing Win8 onto the VHD a regular way from that DVD or ISO (steve6375 has Tutorials about the later part). This would be the most natural way to expect it to work (boot natively later) at this stage of Win8 development. One might need to copy Win8 components (bootloader, BCD and the VHD entry) to the host drive, and possibly other small trickery to boot a Win8 VHD natively - I didn't try it yet.

#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 November 2011 - 06:21 PM

Thanks for the many links and the kind words ;), but i think you missed the point a bit.
The question was not, "In which VM does Win8 work?", but "How to install Win8 to a vhd without VirtualPC?".
As far as i know, VPC is the only VM that works with .vhd.

:cheers:

#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 November 2011 - 06:29 PM

The question was not, "In which VM does Win8 work?", but "How to install Win8 to a vhd without VirtualPC?".

Sure it was not.
The question was:

How do you guys install Win8 into a vhd, without VirtualPC?

If you actually had READ the given links you might have found how to install Windows 8 DIRECTLY to a .vhd (which answers the question allright):
http://www.hyper-v.n...eloper-preview/
And how to run it in a .VHD under Virtualbox (which ALSO answers the original question allright):
http://geekswithblog...-windows-8.aspx

As far as i know, VPC is the only VM that works with .vhd.

You might need to re-vamp your knowledge.... :whistling:
http://en.wikipedia....wiki/VirtualBox

Hardware device emulation

Hard disks are emulated in one of three disk image formats: a VirtualBox-specific container format, called "Virtual Disk Image" (VDI), which are stored as files (with a .vdi suffix) on the host operating system; VMware Virtual Machine Disk Format (VMDK); and Microsoft Virtual PC VHD format. A VirtualBox virtual machine can, therefore, use disks that were created in VMware or Microsoft Virtual PC, as well as its own native format. VirtualBox can also connect to iSCSI targets and to raw partitions on the host, using either as virtual hard disks. VirtualBox emulates IDE (PIIX4 and ICH6 controllers), SCSI, SATA (ICH8M controller) and SAS controllers to which hard drives can be attached.

(bolding is mine)

:cheers:
Wonko

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 November 2011 - 06:57 PM

So, others install Win8 to a .vhd, via VirtualBox or Hyper-V.

Normally, i would suggest that one could save a lot of words by giving the answer directly, like above.
But knowing, that you're italian, i won't do that. ;)

:cheers:

#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 November 2011 - 07:09 PM

So, others install Win8 to a .vhd, via VirtualBox or Hyper-V.

Normally, i would suggest that one could save a lot of words by giving the answer directly, like above.
But knowing, that you're italian, i won't do that. ;)

:cheers:

You actually got a direct answer allright the first time, only you failed to READ it, basing your presumption on outdated knowledge, and I had to add more words to make you actually do what you were supposed to do the first time, i.e. READ the given info BEFORE assuming (wrongly) that the answer was not appropriate.

:cheers:
Wonko

#8 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 November 2011 - 08:04 PM

Hey, before i assumed wrongly, that you didn't give the right answer, you assumed wrongly, that i'm up to date with my knowledge on VM and still ask such a question. ;)

:cheers:

#9 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 November 2011 - 08:21 PM

Hey, before i assumed wrongly, that you didn't give the right answer, you assumed wrongly, that i'm up to date with my knowledge on VM and still ask such a question. ;)


Well, no. :(

You could have READ the given info NO matter whether you had previous (unfortunately - as seen - outdated) knowledge on VirtualBox, or you didn't ever heard of it, then connect properly brain to fingers before typing the reply.... :whistling:

You stated that you tried booting 8 on Virtual PC and failed.
Then you asked WHAT other peeps used.

And you got the answers to that ONLY question, including HOW exactly the available methods worked/how to replicate them.
No assumption of any kind was made on my part, I only served you - because after all I am a nice guy - what you could have found yourself in five minutes.
I have no idea how outdated :w00t: (or plainly wrong :ph34r:) is your knowledge on VM's or any other thing for that matters, but knowing how your google is often out of work and how sometimes you forget things you know very well, example:
http://reboot.pro/15556/
I simply tried to give you the info you asked for.

:cheers:
Wonko

#10 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 November 2011 - 09:15 PM

how sometimes you forget things you know very well,

Yep, old age get's us all in the end, though i thought i still had a bit, seems i was wrong. ;)

:cheers:

#11 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 11 November 2011 - 11:27 PM

MedEvil

Here's Guide to Installing and Booting Windows 8 Dev Preview off a VHD that practically repeats suggested above. Interesting, Win8 Bootloader and the new VHD Boot Entry are now auto copied to the host drive (internal HD C: with Win7 installed) during regular install of Win8 from a USB Stick to a VHD placed on a different internal drive D:. That's progress compare to Win7 VHD installs. :)

#12 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 12:26 AM

Thanks you, sambul61.
However the reason i want to install to a vhd, is to keep the install program from fiddeling with the already installed MBR and Boot loader.

Installing in a VM makes sure the existing setup isn't changed, while the vhd provides the ability to boot it later natively. (Hopefully without Win8 fiddeling then with the existing setup. ;))

:cheers:

#13 Johnston6

Johnston6
  • Members
  • 2 posts
  •  
    United States

Posted 12 November 2011 - 01:48 AM

i got a full version windows 7 on my 320g externall HDD but having trouble booting it??? any reason why nothing happens? it shows the USB shows on my BIOS boot menu....but i get nothing

#14 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 03:16 AM

What has your question to do with Windows 8 or VirtualPC?

Please start a new topic in Windows 7 or in USB-Booting.


:cheers:

PS: You might also want to provide some facts or you won't get very far.

#15 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 12 November 2011 - 06:52 AM

It might be impossible to boot natively a Win8 VHD with Win7 bootloader and BCD Store (while the opposite works well) - let us know the outcome after you tried. But... it might be possible via Grub4DOS by chainloading the Win8 bootloader inside the VHD. :)

#16 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 01:37 PM

I intent to chainload Win8 from a floppy, like i always do, when i test a new OS on real hardware.

:cheers:

#17 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 12 November 2011 - 01:52 PM

Why not add Grub4DOS to your system HD - it doesn't require installation. One way I usually use is adding it with EasyBCD (its called NeoGrub inside the tool), and then edit its Menu.lst (located in NST folder created by EasyBCD on your system root).

#18 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 03:20 PM

Because i don't want a boot menu on my main machine, just in case i need to boot, every couple of years, a new OS on real hardware.
Having the boot loader on a Floppy image is imo the better setup for the occasional bit of testing.

:cheers:

#19 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 12 November 2011 - 03:50 PM

You might also consider testing new apps on your real hardware by installing them onto a Differencing VHD. In this case you'd need to place both Base VHD of your system drive backup and the Dif VHD onto any HD, and possibly add boot menu to your PC system drive for convenience. :)

#20 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 04:58 PM

VirtualBox also can't run Windows8 install.
From what i've read in tutorials, i might work, if one has a 64bit CPU, but why would one use a 32bit Host OS, if the computer has a 64bit CPU?

Too bad.

:cheers:

#21 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 12 November 2011 - 07:01 PM

I amended this post - might be more helpful.

Why don't you use Grub4DOS from a USB Thumb to launch your Win8 VHD saved on a (system or another) hard drive - assuming, the VHD has Win 8 boot manager, BCD and Win8 boot entry in the VHD's own system root.

#22 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 07:37 PM

I'm sorry, but i can't use Hyper-V, because that needs a 64bit CPU too.

The only viable option seems to be, to backup the drive, delete it, install Win8 for a test, delete Win8, playback the image.

And i'm, quite frankly, not that interested in Win8.

:cheers:

#23 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 12 November 2011 - 09:57 PM

I'm sorry, but i can't use Hyper-V, because that needs a 64bit CPU too.

The only viable option seems to be, to backup the drive, delete it, install Win8 for a test, delete Win8, playback the image.

And i'm, quite frankly, not that interested in Win8.

:cheers:

If you don't have a cpu supporting that (and possibly also vt-x), then forget about Windows 8. It's a hardware requirement, and not a host OS requirement. Regarding installing in a VM, not everything is supported. Don't know about virtualpc though, but I have installed it inside Virtualbox, VMware player 4 and Workstation 8. Earlier versions of VMware is not supported. All my installs have been done on different 32-bit host OS's. Even in a 4 year old bartpe based on xpsp2.

#24 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 November 2011 - 10:28 PM

In addition to the error i get, VirtualBox explicitly tells me each start, that there is no hardware acceleration available.

BUT, i can run Win8PE natively fine on that computer.

There seems to be a clear difference, between what hardware Win8 needs to run and what hardware the VM need to run it as guest.

:cheers:

#25 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 12 November 2011 - 10:54 PM

If you have Win 7 installed on your PC, why can't you install Win8 onto a VHD, mounted from Command Prompt in Win8 Install ISO? Despite your Win 7 Boot manager and BCD will be replaced with Win 8 staff (that works really well for Win 7), you can easily restore it back later with EasyBCD - it has BCD Backup & Repair screen for supported OSs, and I used it many times - it works well. Not to mention Win 7 Recovery CD...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users