Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2018 06:31:01 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        wishmaster <artemrts@ukr.net>
Cc:        Peter Grehan <grehan@freebsd.org>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Re[2]: Migrate from real server to virtual
Message-ID:  <201802281431.w1SEV1JC020477@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <1519797493.7978147.fd786v89@frv52.fwdcdn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>  --- Original message ---
>  From: "Peter Grehan" <grehan@freebsd.org>
>  Date: 27 February 2018, 20:40:52
>   
> 
> 
> > > But I think the bigger problem is that this is an MBR disk
> > > with Windows 7 in it, I
> > > do not believe that bhyve can run Windows 7 at this time.

So let me correct that statement with the new information.
I do not believe that bhyve can run an MBR Windows 7 install
at this time, as that would indicated the install is not UEFI
bootable, and we can only boot Windows 7 64 bit in EFI mode.

> > 
> > Bhyve has been able to run Win7 since 2015, though x64 only and in 
> > UEFI mode.
> > 
> 
> Yes, Windows 7 is from the same "brunch" as Windows 2008. And I
> think my problem is that hardware server has been installed
> without UEFI, just in Legacy mode.
> So, in this situation it is unable run this server in Bihyve with UEFI.
> 
> Am I right?

Yes, I do believe that is the correct conclusion to your current situation.
The other part that could be at issue here is if this is a 32bit or 64bit
version of windows.  As Peter stated only 64 bit windows in UEFI mode.

It might be possible to create a shim drive that has the Windows UEFI boot
code on it, and set that shim drive up to load the copy of windows from
your image file.

This would be a experiment that might lead to a booting VM.
It may also be possible to remove the legacy bootmgr files
from the disk0.img and add the needed uefi files, I gave
some commands in a prior email that would allow you to mount
this disk on the FreeBSD system to facilitate this type of
work.

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802281431.w1SEV1JC020477>