unable to find /dev/ad0s1b in /dev/ *resolved*
iv gan
devif0 at gmail.com
Tue Aug 2 10:27:17 GMT 2005
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.
Here is an example of the install.cfg :
# Turn on extra debugging.
debug=YES
# 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
# box
#Interactive=yes
noWarn=NO
tryDHCP=YES
################################
# My host specific data
hostname=yourmachinename
domainname=your.domain.name
# DHCP does this for us
#nameserver=10.0.0.1
#defaultrouter=10.0.0.1
#ipaddr=DHCP
#netmask=255.255.255.0
################################
################################
# Which installation device to use
nfs=192.168.100.1:/usr/local/export/freebsd
#the net device of the compaq deskpro
netDev=fxp0
#netDev=bge0
tryDHCP=YES
mediaSetNFS
################################
################################
# Select which distributions we want.
# you can choose between many packages to install
# man sysinstall to see all the options
#dists= bin compat22 compat3x comPat4x sbin ssbin sbase
#dists= 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.
#diskInteractive
disk=ad0
#geometry=19386/16/63
bootManager=standard
partition=all
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=swap 1048576 none
ad0s1-1=ufs 4194304 /
ad0s1-3=ufs 4194304 /tmp 1
ad0s1-4=ufs 4194304 /usr 1
ad0s1-5=ufs 3145728 /var 1
ad0s1-6=ufs 2097152 /home 1
diskLabelEditor
diskLabelCommit
# OK, everything is set. Do it!
installCommit
package=bash-2.05b.007
packageAdd
shutdown
More information about the freebsd-questions
mailing list