Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2021 08:44:54 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        LuMiWa <lumiwa@dismail.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: new install
Message-ID:  <CAN6yY1v=iBo-_VeTyQTBZJG7TnmMTbPpPEGTnThscGjeVVHkCw@mail.gmail.com>
In-Reply-To: <CAN6yY1uVYGCDhKsmafMTfE6YVsXiou6A4-GkLtqu7=mA2j=uug@mail.gmail.com>
References:  <20210321064056.29e785d6@dismail.de> <CAN6yY1uVYGCDhKsmafMTfE6YVsXiou6A4-GkLtqu7=mA2j=uug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I forgot to mention that you need to use efibootmgr(8) to set up the boot
manager in the existing efi partition, I have no idea how to set up haiku,
but you should use loader.efi as the  boot code for FreeBSD.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sun, Mar 21, 2021 at 7:55 AM Kevin Oberman <rkoberman@gmail.com> wrote:

> On Sun, Mar 21, 2021 at 3:41 AM LuMiWa via freebsd-questions <
> freebsd-questions@freebsd.org> wrote:
>
>> Hi!
>>
>> I bought first laptop in my life (Thinkpad T495) and I have a few
>> questions, please:
>> Laptop is with Windows 10 on which I never had (from DOS to FreeBSD and
>> OS/2 and Linux between) and I do not want to keep on, security boot is
>> enabled.
>> I like to install Haiku and FreeBSD. For Haiku is 5 GB more than enough
>> and the rest of the drive for FreeBSD.
>> Should I install partition disk and install Haiku first or is okay that
>> I install FreeBSD and make one FAT32 partition for Haiku? And
>> secure boot should be disabled too?
>>
>> Thank you.
>>
>>
>> --
>> =E2=80=9CWe live in a world where there is more and more information, an=
d less
>> and less meaning.=E2=80=9D
>>
>> Jean Baudrillard
>>
> If you are confident that the Haiku partition will not exceed 5G, I'd use
> gpart(8) to set up the drive. The order of the partitions is pretty
> irrelevant, but reserving 5G and then setting the rest up for FreeBSD.
>
> You should already have an EFI partition. Just leave it alone. If you wan
> Windows gone, delete the Windows partitions (usually three of them), and
> use  "gpart add -i 2 -s 5G -t fat32 -l Haiku ada0" or something similar.
> The label can be anything. If there are spaces in your chosen name, put t=
he
> name in quotation marks.
>
> Finally create your FreeBSD partitions. You can either use all space for =
a
> single partition  or use a traditional set for root (/), usr, var, tmp, a=
nd
> any others you need. I'd put the swap space immediately after the Haiku
> partition as, again, you can just specify "gpart add -i 3 -t freebsd-swap
> -l swap -s ???G ada0. Everything else will be 1 to N partitions of type
> freebsd-ufs. The last can be created without specifying the size and all
> remaining space will be allocated to it. Pick a reasonable label for each=
.
> That's it. Then you can use newfs to set up the UFS file structures on ea=
ch
> FreeBSD partition other than swap. Because swap is raw, use glabel(8) to
> label it "swap". That's about it.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1v=iBo-_VeTyQTBZJG7TnmMTbPpPEGTnThscGjeVVHkCw>