From owner-freebsd-questions@freebsd.org Fri Aug 27 04:48:33 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 E47F06770F4 for ; Fri, 27 Aug 2021 04:48:33 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GwnKX6r0zz4hCg for ; Fri, 27 Aug 2021 04:48:32 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4GwnKP58YdzDxXp for ; Thu, 26 Aug 2021 21:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1630039705; bh=TGjEmYbs+P7cX9yEbbPgm8Hkwn0AvwRjxXdG5od0ujY=; h=Date:From:To:Subject:In-Reply-To:References:From; b=gHya6nqVL/M6f8CRRc873tvlDxP2KZwHu03/+iVE1YxRiIjOi5bkVwmr5eXbc7/Gc MNxrX6yX04YcwxbsPMLwcZkC3EH/eVZFf+KpDnl2O7Pi1RB2w1YRCHdKs0m1k8wpot +153vfu0ohKXQ3LoRkjgTLA3Rb1s2skZIshbhwKg= X-Riseup-User-ID: D4C4044564A11EB8B0103D96C1BC026D5D682A249558C0560306ECDA5726B56B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4GwnKP0lJyz5vkC for ; Thu, 26 Aug 2021 21:48:24 -0700 (PDT) Date: Fri, 27 Aug 2021 06:48:21 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Paritioning scheme on MBR disk doubts Message-ID: <20210827064821.0678b4da@archlinux> In-Reply-To: <8ab9716c-fdc3-ad09-1883-8210b37ef520@groessler.org> References: <8ab9716c-fdc3-ad09-1883-8210b37ef520@groessler.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GwnKX6r0zz4hCg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=gHya6nqV; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-2.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from] 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: Fri, 27 Aug 2021 04:48:34 -0000 On Thu, 26 Aug 2021 20:53:25 +0200, Christian Groessler wrote: >If I remember correctly, an extended partition can also only hold 4 >partitions. Of which one in turn can again be an extended partition >which can hold 4 partitions. Of which one in turn can again be an >extended partition... etc That's incorrect. "Master Boot Record (partition table) In the MBR partition table (also known as DOS or MS-DOS partition table) there are 3 types of partitions: Primary Extended Logical Primary partitions can be bootable and are limited to four partitions per disk or RAID volume. If the MBR partition table requires more than four partitions, then one of the primary partitions needs to be replaced by an extended partition containing logical partitions within it. Extended partitions can be thought of as containers for logical partitions. A hard disk can contain no more than one extended partition. The extended partition is also counted as a primary partition so if the disk has an extended partition, only three additional primary partitions are possible (i.e. three primary partitions and one extended partition). The number of logical partitions residing in an extended partition is unlimited. A system that dual boots with Windows will require for Windows to reside in a primary partition. The customary numbering scheme is to create primary partitions sda1 through sda3 followed by an extended partition sda4. The logical partitions on sda4 are numbered sda5, sda6, etc. Tip: When partitioning a MBR disk consider leaving at least 33 512-byte sectors (16.5 KiB) of free unpartitioned space at the end of the disk in case you ever decide to convert it to GPT. The space will be required for the backup GPT header." - https://wiki.archlinux.org/title/partitioning#Master_Boot_Record_(partition_table)