Subject: install/6737: sysinst/i386 sets partition type to wrong 165 rather than 169
To: None <gnats-bugs@gnats.netbsd.org>
From: Soren S. Jorvang <soren@t.dk>
List: netbsd-bugs
Date: 01/05/1999 23:03:37
>Number: 6737
>Category: install
>Synopsis: sysinst/i386 sets partition type to wrong 165 rather than 169
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 5 14:20:01 1999
>Last-Modified:
>Originator: Soren S. Jorvang
>Organization:
Soren
>Release: NetBSD-current as of today
>Environment:
System: NetBSD 1.3I
>Description:
Sysinst in -current sets the type field on new 'MBR' partitions to 165, rather
than 169 which is what the -current boot block expect.
>How-To-Repeat:
Install -current with sysinst.
>Fix:
--- src/distrib/utils/sysinst/arch/i386/menus.md.fr.orig Tue Jan 5 22:52:11 1999
+++ src/distrib/utils/sysinst/arch/i386/menus.md.fr Tue Jan 5 22:52:16 1999
@@ -153,7 +153,7 @@
menu chooseid, title " Type de Partition? ";
option "NetBSD", exit, action
{
- part[editpart][ID] = 165;
+ part[editpart][ID] = 169;
part[editpart][SET] = 1;
};
option "DOS < 32 Meg", exit, action
--- menus.md.eng.orig Tue Jan 5 22:52:06 1999
+++ menus.md.eng Tue Jan 5 22:54:34 1999
@@ -151,7 +151,7 @@
menu chooseid, title " Partition Kind? ";
option "NetBSD", exit, action
{
- part[editpart][ID] = 165;
+ part[editpart][ID] = DOSPTYP_NETBSD;
part[editpart][SET] = 1;
};
option "DOS < 32 Meg", exit, action
The same should probably also be applied to arch/bebox by the looks of it.
>Audit-Trail:
>Unformatted: