NetBSD Problem Report #54865

From www@netbsd.org  Thu Jan 16 20:15:05 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 034D37A569
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Jan 2020 20:15:05 +0000 (UTC)
Message-Id: <20200116201503.C1BA07A5A8@mollari.NetBSD.org>
Date: Thu, 16 Jan 2020 20:15:03 +0000 (UTC)
From: guest01@vp.pl
Reply-To: guest01@vp.pl
To: gnats-bugs@NetBSD.org
Subject: Editor NetBSD partitions in utility menu of sysinst ignores size of swap partition
X-Send-Pr-Version: www-1.0

>Number:         54865
>Category:       install
>Synopsis:       Editor NetBSD partitions in utility menu of sysinst ignores size of swap partition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 16 20:20:00 +0000 2020
>Last-Modified:  Fri Jan 17 09:45:01 +0000 2020
>Originator:     guest01
>Release:        http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/202001160600Z/images/NetBSD-9.0_RC1-amd64-install.img.gz
>Organization:
-
>Environment:
NetBSD  9.0_RC1 NetBSD 9.0_RC1 (GENERIC) #0: Thu Jan  9 17:18:43 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When you have a partitioned disk with a swap partition and then you go to Edit NetBSD partitions in utility menu, size of swap partition is zero.
>How-To-Repeat:
First create partitions on entire disk with default partition sizes:
Start an installation of NetBSD 9.0_RC1:
1. Boot computer with installation disk prepared form image
2. Select Install NetBSD
3. Keyboard type: US-English
4. Install NetBSD to hard disk
5. Shall we continue ? Yes
6. On which disk do you want to install NetBSD ? wd0 (149G)
7. This is the correct geometry
8. Use the entire disk
9. Use default partition sizes
10. Partition sizes ok
11. Shall we continue ? Yes
12. Selected bootblock: BIOS console
    Continue
13. Abandon installation
You have partitioned disk.

Next go to Utility menu:
1. Utility menu
2. Partition a disk
   Screen shows:
   a: wd0 (149G)               UNCHANGED
   b: wd0a on/(FFSv2)(unused)       145G
   c: wd0b (swap)                  3894M
3. a: wd0 (149)
4. a: Edit NetBSD partitions
   Screen shows:
        Size (MB)                Filesystem
   a: 148732                     =/
   b: 0                          =<swap>
   c: 0                          /tmp (tmpfs)
   d: 0                          /usr
   e: 0                          /var

   (Notice b: above)
5. Go on. Free space 3894MB
   Screen shows swap 0 MB size
>Fix:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/54865: Editor NetBSD partitions in utility menu of
 sysinst ignores size of swap partition
Date: Fri, 17 Jan 2020 10:40:19 +0100

 This seems to be already fixed in HEAD, will be pulled up before 9.0 RC2.

 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.