From owner-freebsd-hackers@freebsd.org Mon Jun 1 13:42:17 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F6CB337266 for ; Mon, 1 Jun 2020 13:42:17 +0000 (UTC) (envelope-from paul@prt.org) Received: from smtp2.mail.clearhost.co.uk (smtp2.mail.clearhost.co.uk [IPv6:2001:1420::25:102]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.mail.clearhost.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49bGYy50pTz3g2Z for ; Mon, 1 Jun 2020 13:42:14 +0000 (UTC) (envelope-from paul@prt.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=prt.org; s=dkim1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ghqsHdAUtD8l3bIMq6qHq6WvgEsNtaXgwlKV1EnBfos=; b=S+xEgj1o8yBWExC2EjN0bXc+Vm eyvKOQK2Iqjp/tE7wzgDJ2WbqD7lSCpGJMZT7CrSdVvE0mUTTAvjAgBywDvuoPQltTVyKw/lXb8B2 jp3QjeKtNBLA/hzmkHA/HsDLn42wWGRUihHu1tU6G71Xmig9LGS/tae/2tpXxRi+HP3A=; Received: from [2001:1420:a:104:f072:75d2:1cea:ce1] (port=61315) by smtp2.mail.clearhost.co.uk with esmtpsa (TLSv1:ECDHE-RSA-AES128-SHA:128) (Exim 4.92) (envelope-from ) id 1jfkhY-000KOj-V7 for freebsd-hackers@freebsd.org; Mon, 01 Jun 2020 13:42:05 +0000 Subject: Re: UEFI dual boot To: freebsd-hackers@freebsd.org References: From: Paul Thornton Message-ID: <5f1473eb-8917-349d-1ef8-4d1bc9a2713b@prt.org> Date: Mon, 1 Jun 2020 14:44:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClearHost-AuthUser: paul@prt.org X-ClearHost-AuthDomain: prt.org X-Rspamd-Queue-Id: 49bGYy50pTz3g2Z X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=prt.org header.s=dkim1 header.b=S+xEgj1o; dmarc=none; spf=pass (mx1.freebsd.org: domain of paul@prt.org designates 2001:1420::25:102 as permitted sender) smtp.mailfrom=paul@prt.org X-Spamd-Result: default: False [-2.39 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[prt.org:s=dkim1]; NEURAL_HAM_MEDIUM(-0.90)[-0.898]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.mail.clearhost.co.uk]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[prt.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.949]; DKIM_TRACE(0.00)[prt.org:+]; NEURAL_HAM_SHORT(-0.05)[-0.045]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8676, ipnet:2001:1420::/32, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2020 13:42:17 -0000 On 01/06/2020 14:36, Wojciech Puchar wrote: > i have to install windows shit on separate partition to use it when > someone really want me to use some video chats or other nonsense that > doesn't work otherwise. > In Virtualbox sound doesn't work properly and i have no idea why. > > Could anyone point me how to make a boot menu or something like that > after i will: > > 1) clean whole disk > 2) install UEFI windows but without allocating whole disk for it > 3) install UEFI FreeBSD - how no problem in that. > > then i would be able to select what to boot by entering UEFI shell and > manually selecting proper loader. > > How can it be made better I use refind to multi-boot between Windows 10, FreeBSD and a couple of Linux installs on one of my test laptops.  As bootloaders etc. go it seems to "just work". I think I did something like this - from memory: 1) Clean whole disk 2) Boot FreeBSD from USB, create EFI partition table.  Create EFI protected partition and Windows C: partition of XX gigs. 3) Created a FreeBSD partition for the rest of the disk - mainly so that Windows definitely saw it as used!  I removed it and then added extra partitions for the other OSes later. 4) Install Windows into partition created in (2) above. 5) Install reFind. Paul.