Subject: install/29916: sysinst behavior on NetBSD multiboot systems
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <apost@lifescribes.com>
List: netbsd-bugs
Date: 04/07/2005 14:04:00
>Number:         29916
>Category:       install
>Synopsis:       sysinst makes strange fstab for 2nd NetBSD installation on disk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 07 14:04:00 +0000 2005
>Originator:     Alan Post
>Release:        NetBSD 3.0_BETA 20050405
>Organization:
>Environment:
System: NetBSD candor.recalcitrant.org 3.0_BETA NetBSD 3.0_BETA (CANDOR64) #2: Wed Apr  6 11:36:04 EDT 2005 apost@candor.recalcitrant.org:/usr/netbsd-3/obj-amd64/sys/arch/amd64/compile/CANDOR64 amd64
Architecture: amd64
Machine: amd64
>Description:
        When using sysinst to install two different NetBSD installations on the
        same disk, sysinst writes a strange fstab file for the second
        installation:

        /dev/wd0a / ffs rw,noauto 1 1
        /dev/wd0b none swap sw 0 0
        /dev/wd0e / ffs rw 1 1
        /dev/wd0f none swap sw 0 0
        kernfs /kern kernfs rw
        procfs /proc procfs rw,noauto

        The second swap partition was my mistake; I didn't realize it would be
        OK to share one between two installations.  The first line, though, is
        odd.

>How-To-Repeat:
	Using sysinst, install a second NetBSD installation on a disk that
        already contains a NetBSD installation.
>Fix:
	Perhaps include the second root partition commented out?  It can be
        useful to mount the other installation's file system, but not as the
        root file system.  :)