From owner-freebsd-questions@freebsd.org Sun Mar 21 15:45:12 2021 Return-Path: Delivered-To: freebsd-questions@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 71289579699 for ; Sun, 21 Mar 2021 15:45:12 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3MQb6TByz3HTW for ; Sun, 21 Mar 2021 15:45:11 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32b.google.com with SMTP id m21-20020a9d7ad50000b02901b83efc84a0so13467652otn.10 for ; Sun, 21 Mar 2021 08:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EcNBJXuGsMzToL/TzmaNQGJtWIv08P5bMRyAWh6126o=; b=pb6gvr/aCcfPpCjWg/CcDLTvsIVA/euKJYy0FtpD9vDh53tx6uw24TCITVkHI+tFBP 9ld74inNi6jworKEM+2M6hA+uFJvISLIJwHESaliEfNE6sA/9RhiYIVVzoywy8ZcyX07 ZSkOfrMCLYOOF87I7Ge/DB+JoQlJ4caMsqiGvSOhWgR14nGYo86hyECzyJqack1FZSM3 ckdahwK09EXb5ijwue3zihCYVIfqIaeshwDOvrlEAxGfqU1AEOwJX6gsy/fvCuDzwebg Suqt7A2EfhTV5ATUR8yTd4T7Fso7rOv0NTN5NWJtbPa1Ky0aZf+9OiOe3wi3m0+MI8b4 cVrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EcNBJXuGsMzToL/TzmaNQGJtWIv08P5bMRyAWh6126o=; b=IwnyJNH69taSlNDN9uD8LVTRZviW1lzqPRF8EYdDxRNUvE+pvYhwa6qAxNqvUtyoXU 0D/4a0PZjWd/ha2QeAZJvZrac8SU/Fref+5G+6mhcUetdzozUiG4bj3g6FJx/7i9uIN5 DS5jkJQ95a10K6ZIBGUMOeOSXramc5GaywqTJWD+3auJCCt4EOaFDt6gR+7tvZBd5ZwB TYm7E+4WUrXh+UiDph+iwrabO1pdfBL6IPMBR3r3NFTaT2IFhXnXVHCYxyCXVeMXcaTh lDrmW23n1PYjoVpR9PVHkZo7O03IDqLPKY+qNcohTEycG/cEE/Ia3PgD1rv6tfNNziXz Zuaw== X-Gm-Message-State: AOAM533Rb2RXoh/L70gdb8O7V85lUhhfie2e0YTKJ3SBSkRZIrEKwYKB AmE6L7TNoJFjxduWKZEaScYpoXlQzR3vTRXm0lk= X-Google-Smtp-Source: ABdhPJwil5Tdiv7lLj04PjYH2fBHb129ef8DMupirEYuqcoei8naj91/ZwgRauLXbCnyaDggERKaTH0ORa3D/WPJcwk= X-Received: by 2002:a05:6830:1e14:: with SMTP id s20mr8783684otr.199.1616341510697; Sun, 21 Mar 2021 08:45:10 -0700 (PDT) MIME-Version: 1.0 References: <20210321064056.29e785d6@dismail.de> In-Reply-To: From: Kevin Oberman Date: Sun, 21 Mar 2021 08:44:54 -0700 Message-ID: Subject: Re: new install To: LuMiWa Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4F3MQb6TByz3HTW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pb6gvr/a; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::32b as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.10 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::32b:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.60)[0.602]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::32b:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32b:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2021 15:45:12 -0000 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 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 > >