Date: Sun, 21 Mar 2021 07:55:43 -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: <CAN6yY1uVYGCDhKsmafMTfE6YVsXiou6A4-GkLtqu7=mA2j=uug@mail.gmail.com> In-Reply-To: <20210321064056.29e785d6@dismail.de> References: <20210321064056.29e785d6@dismail.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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, and= 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 the 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, and 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 each 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?CAN6yY1uVYGCDhKsmafMTfE6YVsXiou6A4-GkLtqu7=mA2j=uug>