Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2007 15:28:40 +0400
From:      "Belov, Sergey" <sbelov@mera.ru>
To:        <freebsd-questions@freebsd.org>
Subject:   Sysinstall does not install GENERIC kernel
Message-ID:  <39EC34D18C53EA428BA9A05A01CB2E8C8F4B6E@qmail.merann.ru>

next in thread | raw e-mail | index | archive | help
I found a strange problem while making automatic install disk from
official iso 6.2-RELEASE.

I've made a custom install.cfg:

##########################################
# This is the installation configuration file

# Turn on extra debugging.
debug=3Dyes
nonInteractive=3Dyes

# My host specific data
hostname=3Dtestmachine
domainname=3Dtest.com
nameserver=3D192.168.50.10

# Which installation device to use
mediaSetCDROM

# Select which distributions we want.
#dists=3Dbase bin catpages info manpages ports prof
dists=3Dbase catpages info manpages proflibs kernel
distSetCustom

disk=3Dad0
partition=3Dall
bootManager=3Dstandard
diskPartitionEditor

# All sizes are expressed in 512 byte blocks!
ad0s1-1=3Dufs 614400 /
ad0s1-2=3Dswap 1048576 none
ad0s1-3=3Dufs 20480000 /usr 1
ad0s1-4=3Dufs 0 /var 1

diskLabelEditor
diskLabelCommit

# OK, everything is set.  Do it!
installCommit
############################################3

Then I placed it to prepared iso:
gunzip mfsroot.gz
mdconfig -a -t vnode -f mfsroot
mount /dev/md0 /mnt/floppy
cp ~/install.cfg /mnt/floppy
umount /mnt/floppy
mdconfig -d -u 0
gzip mfsroot

Then I created a new bootable iso-image and burnt it to CD-RW.

But after installing it on the test machine and after rebooting of that
machine the system was unable to boot. Because the "/boot/kernel/"
directory was empty, no modules, no kernels been in there.=20
Why the sysintsall didn't copy GENERIC kernel to my hard disk??
All distribution was copied but only the kernel and modules weren't.=20
Is it a bug or a feature? And how to fix it?




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