From owner-freebsd-questions@freebsd.org Sun Mar 21 14:56:01 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 ACEB75781E7 for ; Sun, 21 Mar 2021 14:56:01 +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 4F3LKr65cMz3F3r for ; Sun, 21 Mar 2021 14:56:00 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32b.google.com with SMTP id w21-20020a9d63950000b02901ce7b8c45b4so13398644otk.5 for ; Sun, 21 Mar 2021 07:56:00 -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=fgW+iNPdowy/fQH5LgFi12E3djSK5DlVqoGl5dZZ4bU=; b=GNgJYBkoBNwSIA5RMWDV2cyymtsU+6ytxy7xBUT4CUWm+3EaJ3YzZBZi6qOCNZku9o EAVINA8daaSCwS4sYhNg/6D14rhE/fA566ZEwGH5r7OlRGzUxLyxTjkNovi7Z97OXxIL D2bMO81sYfLUaxVEHkagWXtdwQbyUowsZCFPJMJS1AWXTQkOEPxrESYEx167R7MnaE7o C0/q9or7FKQftqaV0BOsDGcPgQxizKopw9W+IidPdKO0ag2kWKre3Py/x2UYUqFLaHQZ uHkWuN/tpzMqtRq58llo0QSGU4/SkOoAOQt03WmeOGg0O/kQaXj7CxR2zktVU5ZIO2D1 hWpw== 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=fgW+iNPdowy/fQH5LgFi12E3djSK5DlVqoGl5dZZ4bU=; b=ZX6F/zxOSuyRQ2eW6ffSg/kmTQyk7L+Bk9y6vAwgNJkP+mylV13BZ81WtZVGgXoTfZ 6qWIWEMwdQb3RMTHRHWaDfUpYZ+5qh80ex0fZX6mrKjWeZqC2fPC7Po3qz/O+QWkxvGq lCUAclzZXDUUHL6gGAXVOb/qQUq/YzUllGm2kr9WkYJ+K3D03LMMBb1EynYFnsQ9WCFn lULlwQX0WAdH20IijqjoXZYSfMTT6ESjdwf6QE0cJevKb+fokNUB0GrFx5XccZrSeq8c NePvii9F75Z36q56nMmMSezjlAbWCjuHXZxOunVBHK1Fd4RnonICKpalgUZ+CM+Vc2QY 12vQ== X-Gm-Message-State: AOAM532aEQh/hLAOP7bwVDmc7lzewQp1K9k7mDnMfFWFuLaQO1NNiK65 5iqxz57gXFR2gqdbIqTn0fF3AKcBAGgw7iwDTr5ppS3u+dU= X-Google-Smtp-Source: ABdhPJwvVnBLHrCJn3HSHwOfNxHOC1YECr/QUKW2pUMptNdpcJISWh8+hoSndO2GUxwhFSu9I/j1oVu2+KpfnSZJflI= X-Received: by 2002:a9d:7453:: with SMTP id p19mr3508583otk.271.1616338559386; Sun, 21 Mar 2021 07:55:59 -0700 (PDT) MIME-Version: 1.0 References: <20210321064056.29e785d6@dismail.de> In-Reply-To: <20210321064056.29e785d6@dismail.de> From: Kevin Oberman Date: Sun, 21 Mar 2021 07:55:43 -0700 Message-ID: Subject: Re: new install To: LuMiWa Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4F3LKr65cMz3F3r X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GNgJYBko; 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 [-3.70 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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_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 14:56:01 -0000 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