NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/60334: sysinst(8): partition list is incorrectly updated on UEFI mode when the swap partition is deleted



The following reply was made to PR install/60334; it has been noted by GNATS.

From: Andrius V <vezhlys%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: install-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: install/60334: sysinst(8): partition list is incorrectly updated
 on UEFI mode when the swap partition is deleted
Date: Mon, 15 Jun 2026 11:40:49 +0300

 On Mon, Jun 15, 2026 at 11:35=E2=80=AFAM vezhlys%gmail.com@localhost via gnats
 <gnats-admin%netbsd.org@localhost> wrote:
 >
 > >Number:         60334
 > >Category:       install
 > >Synopsis:       sysinst(8): partition list is incorrectly updated on UEF=
 I mode when the swap partition is deleted
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    install-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon Jun 15 08:35:00 +0000 2026
 > >Originator:     Andrius V
 > >Release:        NetBSD 11.0 RC4
 > >Organization:
 > >Environment:
 > >Description:
 > I noticed an issue in sysinst on amd64 systems booting in UEFI mode after=
  selecting "Use default partition sizes".
 > When the swap partition (the third partition) is deleted, the remaining t=
 wo partitions become identical to the first partition.
 >
 > On BIOS systems, the default partition layout contains only two partition=
 s, and the issue could not be reproduced after creating and deleting a thir=
 d partition.
 >
 > By default it lists three partitions:
 > a: MSDOS (for uefi boot)
 > b: FFSv2ea / (root)
 > c: swap
 >
 > Deleting the swap partition refreshes the list to two same MSDOS partitio=
 ns:
 > a: MSDOS
 > b: MSDOS
 > (same offsets and sizes)
 >
 > Deleting MSDOS or root partition works OK, the list stays correct.
 > >How-To-Repeat:
 > Boot on amd64 USB flash drive flash drive in (UEFI boot)
 >
 > Select options:
 > Installation messages in English
 > unchanged
 > Install NetBSD to hard disk
 > Yes
 > sd0 (install disk in my case)
 > This is the correct geometry
 > Use default partition sizes
 > Delete swap partition
 > Observe two same MSDOS partitions (a/b).
 > >Fix:
 >
 
 Sorry, copy pasted the steps from the last bug report, in this case I
 was choosing not the install disk (ld0 or sd1).
 



Home | Main Index | Thread Index | Old Index