Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 12:26:28 +0200
From:      iv gan <devif0@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   unable to find /dev/ad0s1b in /dev/ *resolved*
Message-ID:  <356446ef05080203266a8ee272@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?356446ef05080203266a8ee272>