From owner-freebsd-questions@freebsd.org Fri Aug 27 14:03:09 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 DF46B660BB1 for ; Fri, 27 Aug 2021 14:03:09 +0000 (UTC) (envelope-from nixlist@outlook.es) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn20801.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::801]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gx1dT1SxWz4flC for ; Fri, 27 Aug 2021 14:03:09 +0000 (UTC) (envelope-from nixlist@outlook.es) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QC6SriZfaxRERPl7hhAhkMPqqqwyn+4vQ+GqSby3QlqdDcHmc8YmyadSbxyn6W8qYk3FcxJlgvryRJ4ENdkmL+ExhJuptiwOeR9lsB0xMYf2QJe/EWe7CG7ejY/Jts+vSwhts1yox30Nk3ybLIxFHmm6u1fcUyfuLmzbs6YiuAJVsxezjORzIYckLq+fyazqCIgLb8NhhGgD+pNinLGHRAAZoy1f0dQ24wHzzf+SgfJXpTIPzKapXaqOgw9oB7J6z3oReAWkzHxEMm//JXIqlDwWmZWHRzcBseenAQR/pD7T7Op96IDmjk1tEFGKe3ulsE1Hs+BPwL7/bA5gRWB0fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SV98ANtBtqYskLNvWrj2lcdvik9ZlGvQ8wtb+cM6W8k=; b=gx5zLoB8M+PDoe7yN+lDqePMEaiJGN6y3c3wABl1k/N6NkiBs023+lAlCYVTf3hvuMrcdKFPveCSqjz0rsO53rDRAYpvr3x8McrYwR/OnXRhMn4SpLfANRYsN97jb2L3zFqlT+yNLS7g1hQIEZRaochOAvvVKBbGx6zYmQw1ZPOWfkpZLGmdovNSlsW4uZpolTukMbbWIGdIIkN++Wr3r0yo1cGv95c+99dVGKwaIuRpCyMjw8ApdncXucklmCidR48hRZ8HqPfXtNkrxGXeXcX5JWrWwh3dHommHciKZ5bTyf2V8/1W01+OzFDIE5aI+5jq4HMzU0eV7nTfGYpmzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MW4PR01MB6401.prod.exchangelabs.com (2603:10b6:303:67::11) by CO1PR01MB6709.prod.exchangelabs.com (2603:10b6:303:f9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.18; Fri, 27 Aug 2021 14:03:04 +0000 Received: from MW4PR01MB6401.prod.exchangelabs.com ([fe80::38e7:41ae:51e2:ca58]) by MW4PR01MB6401.prod.exchangelabs.com ([fe80::38e7:41ae:51e2:ca58%8]) with mapi id 15.20.4436.027; Fri, 27 Aug 2021 14:03:04 +0000 Date: Fri, 27 Aug 2021 16:02:35 +0200 From: Javier To: freebsd-questions@freebsd.org Subject: Re: Paritioning scheme on MBR disk doubts Message-ID: In-Reply-To: <20210827071306.34e90c17@archlinux> References: <20210826203921.0d3537684706867aef1e30f9@sohara.org> <20210827071306.34e90c17@archlinux> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.10.14; i686-pc-mingw32) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TMN: [B2uFzxrUqRHVfBH6YqdSYyGdo1WKDjxm] X-ClientProxiedBy: MRXP264CA0027.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:14::15) To MW4PR01MB6401.prod.exchangelabs.com (2603:10b6:303:67::11) X-Microsoft-Original-Message-ID: <20210827160235.b74785b10ad993b6d3c160eb@outlook.es> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (62.57.107.98) by MRXP264CA0027.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:14::15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.4457.20 via Frontend Transport; Fri, 27 Aug 2021 14:03:03 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a5199914-a1f0-448c-bee6-08d96963634f X-MS-TrafficTypeDiagnostic: CO1PR01MB6709: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Qd+D7TvpLLpdvYSEXuEe3EmkAEyAo2uiAuaJn0iG6gG9FI4JLhcdW1mTZ5RVRw4Ml1fMWew/WcZL/pi9mCJ8Eqz6UfRVqt9Hg/1KCXMLyfebG2g73OSiLIKv/gLM2uwuZ19OMITrxonGCspW03ocovgYhkReRtxbpl7uR5oAJdOwQyyADQ+kCmYJVI70EY301nFomic3+ZLdix2Fu/vagFhoodJZuI7qRr3SgStLqXWByNX5VOO4pwq/JhimfrHGoeIMbY/6wA4LNpTj7aZKLgXggY9wnkzTkOjyXzFLeoLgNCi+PvWavCTBiOkIgtNzT+y99dxjDH71X5U2tsvAi/S1uOCP/83D5pAiKLuMBLwphHG9w5rP/zumbaSPfe+ikqRa/FtR/QHkCac4w880RcDMt3Bqxvh7EJLru0p5eV+d5iMzKpoOPOct/LsvoW70c1ZGalSu0XIpkQ6uUP3kOT/nhoatn9RCk1J1GSh8X1w= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UtasAWYCMApJkKt2sGWPEMIlwr9NF5/DYMdKqcNfy+NGXSACsa95hUlW4a0B9GlXJHt7adMJqUQBrMXogoB3YKBxjdD0XSH+wiA6XyIW6MRMFVW5iAuKU8kSh4OUVrJ+fr/XNvt2jp4dlBhrVPJYRw== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-48c30.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a5199914-a1f0-448c-bee6-08d96963634f X-MS-Exchange-CrossTenant-AuthSource: MW4PR01MB6401.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2021 14:03:04.1382 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR01MB6709 X-Rspamd-Queue-Id: 4Gx1dT1SxWz4flC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.es; spf=pass (mx1.freebsd.org: domain of nixlist@outlook.es designates 2a01:111:f400:7eaa::801 as permitted sender) smtp.mailfrom=nixlist@outlook.es X-Spamd-Result: default: False [-4.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[outlook.es]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48:c]; FREEMAIL_FROM(0.00)[outlook.es]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[outlook.es,none]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f400:7eaa::801:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[freebsd-questions] 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 14:03:09 -0000 On Fri, 27 Aug 2021 07:13:06 +0200 Ralf Mardorf wrote: > On Thu, 26 Aug 2021 20:39:21 +0100, Steve O'Hara-Smith wrote: > >Unless MBR has changed since I last looked there could only be one > >extended partition(slice) and it had to be the fourth. Other than > >that this should work. > > Sometimes limits are not caused by the MBR. Some limits are probably > caused by partitioning tools, bootloaders, operating systems or are > just an issue of linguistic usage. TL;DR: Anyway, all this makes me ask now... does FreeBSD have any kind of limitation I could suffer in the way the MBR implementation is setup/programmed? Hi, and so might be. I've spent this night reading here and there to find out any documentation that really tells if that limitation is real or not and..., first, there isn't such; and second, I found that all depends on implementations by anyone. For example, here (Linux doc project) tell there is not limit on Extended location, but they tell the limit might be 15 logicals. https://tldp.org/LDP/sag/html/partitions.html (section 5.9.2 and figure 5-2) Fact, I tested on a virtual machine such limitations, and... 15 isn't the limit and even Windows 98 accepts over 20 logical partitions. I also took the oportunity to set the extended partition "anywhere" (actually 3rd) and no problem. Also I used the FreeBSD boot-only, and the partition tool didn't have any problem with such strange disk organization and re-organizations with it. Would be problems inside FreeBSD? Might be good to know. Then I found a page and... god, I didn't save to bookmarks!!!, where it told the limit is 20, but I set 21 logical partitions and I hadn't any problem either. I thought it was the following page, but, anyway, is helpful. It tells, too, that extended can be anywhere (second page): https://thestarman.pcministry.com/asm/mbr/PartTables.htm After all, an extended primay partition is set to a fixed size, so, it is only constrained by that size, and it doesn't matter the location, except other limits like booting some OSs that require the first to be primary and active (that isn't standard either, by what I read). Another reading about it: https://www.win.tue.nl/~aeb/partitions/partition_types-2.html But, in the end, all these pages seems to tell that, as there wasn't an starndard per-se, all depends on implementations. Good or bad. Anyway, all this makes me ask now... does FreeBSD have any kind of limitation I could suffer in the way the MBR implementation is setup/programmed? Regards. P.S.1: sorry these long posts, I think they worth, at least for the time I spent finding out the info :D P.S.2: BIOS Boot Specification, if anyone wants a read :D http://www.reenigne.org/crtc/PC-XT.pdf