UEFI dual boot

Paul Thornton paul at prt.org
Mon Jun 1 13:42:17 UTC 2020


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.



More information about the freebsd-hackers mailing list