From hans@Huebner.ORG  Fri Apr 10 14:08:49 1998
Received: from relay.artcom.de (www.artcom.de [193.101.179.46])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA12500
          for <freebsd-gnats-submit@freebsd.org>; Fri, 10 Apr 1998 14:08:39 -0700 (PDT)
          (envelope-from hans@Huebner.ORG)
Received: (qmail 3929 invoked for bounce); 10 Apr 1998 21:04:48 -0000
Received: from castle-artcom-gw.huebner.org (HELO Huebner.ORG) (192.168.2.99)
  by relay.artcom.de with SMTP; 10 Apr 1998 21:04:48 -0000
Received: by Huebner.ORG (Smail3.1.29.1 #4)
	id m0yNkw1-00028rC; Fri, 10 Apr 98 23:02 MET DST
Message-Id: <m0yNkw1-00028rC@Huebner.ORG>
Date: Fri, 10 Apr 98 23:02 MET DST
From: hans@Huebner.ORG (Hans Huebner)
To: freebsd-gnats-submit@freebsd.org
Subject: sysinstall procedure does not create all needed devices

>Number:         6268
>Category:       misc
>Synopsis:       sysinstall procedure does not create all needed devices
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 10 14:10:08 PDT 1998
>Closed-Date:    Wed Apr 15 09:59:36 PDT 1998
>Last-Modified:  Wed Apr 15 10:01:30 PDT 1998
>Originator:     Hans Huebner
>Release:        FreeBSD 2.2.6-RELEASE i386
>Organization:
Art+Com GmbH, Germany
>Environment:
Pentium based PC with IDE hard drives.

>Description:
The installation procedure allows for installation to harddisks other
than the first found in the system.  I installed 2.2.6-RELEASE on the
second hard drive partitioned as a "dangerously dedicated".  sysinstall 
created device nodes for sd1s1[a-h] only.  When I removed the first
hard disk (intending to get rid of the operating system it contained),
FreeBSD failed to boots, because fsck did not seem to find the correct
device node for the root device (and thus is unable to mount the root
dir read/write).

This means that once you decided to get rid of the other disk and o/s
it contains, you'll be unable to boot ;)

>How-To-Repeat:
Install 2.2.6-RELEASE on the second IDE drive of a machine, remove
the first drive, try to reboot.  The system will be unable to mount
the root device because the device nodes /dev/wd0s1[a-h] are not
present.

>Fix:
Create the needed device nodes in /dev using './MAKEDEV wd0s1a'.  The
installation program should do this automatically.  I guess the proper
fix would be to create the device nodes from within the device drivers.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Apr 15 09:59:36 PDT 1998 
State-Changed-Why:  
You are right in all of it, but overlooked that you could have booted 
from a fixit floppy/cd and fixed it there. 
DEVFS will definitively kill all of this mess 
>Unformatted:

