From owner-freebsd-questions@FreeBSD.ORG Tue Aug 2 10:27:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3760216A41F for ; Tue, 2 Aug 2005 10:27:17 +0000 (GMT) (envelope-from devif0@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B429743D49 for ; Tue, 2 Aug 2005 10:27:16 +0000 (GMT) (envelope-from devif0@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so1320926wra for ; Tue, 02 Aug 2005 03:27:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pFuBLcZ3yIzaeXbph3jHIn2D7vBhKQNiflD2ZS5gVFP9AsFfRXaSbMjoV45VFTaHCIGRc6NjoVbNpmE7s1pM721vaJTMjQYAClmIjcUb+oxGcdOX6a9Wv5fhcHBFOIE8FyreXo0MuvCocQ1UaZBJfi2N/tVEvtlVjYBGTJO1Cas= Received: by 10.54.36.50 with SMTP id j50mr2458503wrj; Tue, 02 Aug 2005 03:26:28 -0700 (PDT) Received: by 10.54.69.4 with HTTP; Tue, 2 Aug 2005 03:26:28 -0700 (PDT) Message-ID: <356446ef05080203266a8ee272@mail.gmail.com> Date: Tue, 2 Aug 2005 12:26:28 +0200 From: iv gan To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: unable to find /dev/ad0s1b in /dev/ *resolved* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: iv gan List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 10:27:17 -0000 Hello, would like to post the solution of the problem I encountered during the net install of freebsd 5.3 on a compaq deskpro, because I have nowhere found a solution for that problem (maybe it is pretty silly?!?). The installation is done via the pxe driver of the installed machine. The kernel is booting normally, then the mfsroot is loaded and then is loaded the install.cfg file that have to configure and the install the selected packages. The problem was that once the disk slice and the labels set up, there was a strange error "unable to find device node for /dev/ads01b in dev! The creation of the file system will be aborted" In the same time on the second console there are messages telling me evethyng is alright. DEBUG: Scanning disk ad0 for swap partitions DEBUG: Found Swapdev ad ad0s1b! So the clue is that you don't have to do a diskPartitionWrite in your install.cfg Once this line is commented no more problems for me.=20 Here is an example of the install.cfg : # Turn on extra debugging. debug=3DYES # Ok, this ought to turn off ALL prompting, don't complain to me that you # lost a machine because you netbooted it on the same subnet as this=20 # box #Interactive=3Dyes noWarn=3DNO tryDHCP=3DYES ################################ # My host specific data hostname=3Dyourmachinename domainname=3Dyour.domain.name # DHCP does this for us #nameserver=3D10.0.0.1 #defaultrouter=3D10.0.0.1 #ipaddr=3DDHCP #netmask=3D255.255.255.0 ################################ ################################ # Which installation device to use=20 nfs=3D192.168.100.1:/usr/local/export/freebsd #the net device of the compaq deskpro netDev=3Dfxp0 #netDev=3Dbge0 tryDHCP=3DYES mediaSetNFS ################################ ################################ # Select which distributions we want. # you can choose between many packages to install # man sysinstall to see all the options #dists=3D bin compat22 compat3x comPat4x sbin ssbin sbase #dists=3D bin doc games manpages catpages proflibs dict info des compat1x compat20 compat21 compat22 compat3x crypto #distSetCustom distSetUser #distExtractAlL ################################ ################################ # Now set the parameters for the partition editor on sd0. =20 #diskInteractive disk=3Dad0 #geometry=3D19386/16/63 bootManager=3Dstandard partition=3Dall diskPartitionEditor # comment out the next line if you have the /dev/ad0s1b problem # diskPartitionWrite ################################ # root, tmp, usr 2gb, var 1,5gb, home 1gb, swap 512mb ad0s1-2=3Dswap 1048576 none ad0s1-1=3Dufs 4194304 / ad0s1-3=3Dufs 4194304 /tmp 1 ad0s1-4=3Dufs 4194304 /usr 1 ad0s1-5=3Dufs 3145728 /var 1 ad0s1-6=3Dufs 2097152 /home 1 diskLabelEditor diskLabelCommit # OK, everything is set. Do it! installCommit package=3Dbash-2.05b.007 packageAdd shutdown