Subject: install/32636: Sysinst [NetBSDv3] doesn't install bootxx_ffsv2 while upgrading from v2 to v3
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <christophe.plasschaert@wanadoo.fr>
List: netbsd-bugs
Date: 01/25/2006 22:00:00
>Number:         32636
>Category:       install
>Synopsis:       Sysinst [NetBSDv3] doesn't install bootxx_ffsv2 while upgrading from v2 to v3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 25 22:00:00 +0000 2006
>Originator:     Plasschaert
>Release:        3
>Organization:
None
>Environment:
i386
>Description:
After i upgraded my Netbsd from v2 to v3 on an i386 machine i could'nt
boot anymore. I had this message:
"PRESS A KEY TO REBOOT"
To correct this problem, i had to installboot bootxx_ffsv2.
I checked my / with scan_ffs (taken from netbsd-current) which confirmed that / was an ffsv2 FS.

To confirm the bug, i did these tests.
1/ install NetBSDv2 with all FS as ffsv1 -> boot OK
   upgrade to NetBSDv3 -> boot OK

2/ install NetBSDv2 with all FS as ffsv1 except / as ffsv2 -> boot OK
   upgrade to NetBSDv3 -> same problem at boot: "PRESS A KEY TO REBOOT"
>How-To-Repeat:
Install NetBSDv2 with all FS as ffsv1 except / as ffsv2 -> boot OK
Then upgrade to NetBSDv3 and reboot:
you can't boot anymore to NetBSD all you have is this message
"PRESS A KEY TO REBOOT"
>Fix:
make sysinst recognize when / is an ffsv2 to install the correct primary bootloader.