Re: Bhyve. Unable install Windows 7/Server 2008R2

2017-12-05 Thread Harry Schmalzbauer
 Bezüglich Lars Engels's Nachricht vom 05.12.2017 17:57 (localtime):
> On Tue, Dec 05, 2017 at 04:49:45AM -0800, Rodney W. Grimes wrote:
>>> Hi,
>>>
   bhyve -c 2 -s 0,hostbridge -s 
 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0
>>>   For win7/2k8*, the sector size presented to the guest has to be forced 
>>> to 512 bytes i.e. for the ahci-cd slot, the config would look like:
>>>
>>>   -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0,sectorsize=512
>> Should we start a wiki page on "Guest Quirks"?
> Please do.

I'd vote for making ,"sectorsize=512/4096" a artificial default.
I'm not entire sure about the different Windows versions, but since
BHYVE_UEFI.fd isn't able to access drives other than 512b sector size, I
think it doesn't make sense to provide 8k drives by default in case of
default ZFS volume.
If I remember correctly Win6.3 (8.1/Server2k12) did support 4k and 8k
native drives, with the limitation that "windows internal database -
mssql" might not be usable, but I couldn't UEFI boot unless I changed
sectrosize to 512 and stripezesize to 4k/8k.
I guess not may other operating systems support bigger sector sizes as
well as FreeBSD does today.
So this artifical format might be what most times makes most sense.

-harry

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve. Unable install Windows 7/Server 2008R2

2017-12-05 Thread Lars Engels
On Tue, Dec 05, 2017 at 04:49:45AM -0800, Rodney W. Grimes wrote:
> > Hi,
> > 
> > >   bhyve -c 2 -s 0,hostbridge -s 
> > > 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0
> > 
> >   For win7/2k8*, the sector size presented to the guest has to be forced 
> > to 512 bytes i.e. for the ahci-cd slot, the config would look like:
> > 
> >   -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0,sectorsize=512
> 
> Should we start a wiki page on "Guest Quirks"?

Please do.

-- 
Lars
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve. Unable install Windows 7/Server 2008R2

2017-12-05 Thread Rodney W. Grimes
> Hi,
> 
> >   bhyve -c 2 -s 0,hostbridge -s 
> > 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0
> 
>   For win7/2k8*, the sector size presented to the guest has to be forced 
> to 512 bytes i.e. for the ahci-cd slot, the config would look like:
> 
>   -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0,sectorsize=512

Should we start a wiki page on "Guest Quirks"?


-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve. Unable install Windows 7/Server 2008R2

2017-12-04 Thread Peter Grehan

Hi,


  bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0


 For win7/2k8*, the sector size presented to the guest has to be forced 
to 512 bytes i.e. for the ahci-cd slot, the config would look like:


 -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0,sectorsize=512

later,

Peter.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve. Unable install Windows 7/Server 2008R2

2017-12-04 Thread Harry Schmalzbauer
 Bezüglich wishmaster's Nachricht vom 04.12.2017 13:32 (localtime):
> Hi,
>
> guys, what happened with bhyve after 11.1-RELEASE. I am unable install 
> neither Windows 7 nor Windows Server 2008R2.
> I have attempted with HDD as raw file, ZFS dev - without success.
>
> root@XXX: uname -a
> FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r325503: Tue Nov  7 13:38:44 
> EET 2017 wishmaster@XXX:/usr/obj/usr/src/sys/MY  amd64

Since you don't tell us what error you get from the guest setup program,
I can only guess that you are using a ZFS volume with a block size of 8k
(default).
My next guess is that you use BHYVE_UEFI.fd for bootrom.
The latter can't boot from 8k drives,
Make sure you define something like this:
-s 3,virtio-blk,/dev/zvol/hostPool/bhyveVOL/sys/guest1,sectorsize=512/4096

If that power guess didn't hit, you need to provide some details (boot
method at very first along with some kind of error description).

-harry

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"