NetBSD Problem Report #58183

From mlelstv@gossam.localdomain  Sun Apr 21 14:12:40 2024
Return-Path: <mlelstv@gossam.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 855031A9238
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Apr 2024 14:12:40 +0000 (UTC)
Message-Id: <20240421141238.35026B151@gossam.localdomain>
Date: Sun, 21 Apr 2024 16:12:38 +0200 (CEST)
From: mlelstv@netbsd.org
Reply-To: mlelstv@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: sysinst rejects MBR partitions before sector 64
X-Send-Pr-Version: 3.95

>Number:         58183
>Category:       install
>Synopsis:       sysinst rejects MBR partitions before sector 64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 21 14:15:02 +0000 2024
>Last-Modified:  Wed May 01 16:38:15 +0000 2024
>Originator:     Michael van Elst
>Release:        NetBSD 10.0
>Organization:

>Environment:


System: NetBSD gossam 10.0 NetBSD 10.0 (GENERIC) #10: Sat Mar 30 10:27:39 CET 2024 mlelstv@gossam:/home/netbsd10/obj.amd64/home/netbsd10/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

When editing an MBR partition in sysinst, you can enter
a start sector 0..63, but then this is silently "corrected"
to start sector 64.

64 is probably the recommended alignment value, but this
doesn't enforce partition alignment as you can just
enter a start of sector 65 without "correction."

Another fault in the partition manager is that you
cannot add an MBR partition unless you delete one
partition (or all partitions?) first, then the
'Add a partition' menu entry appears.

When you add a new partition it gets "corrected" just
like when modifying an existing one.

>How-To-Repeat:
Try to install NetBSD in a MBR partition starting at sector 32.
>Fix:


>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.