Sysinstall does not install GENERIC kernel

Belov, Sergey sbelov at mera.ru
Fri Apr 6 11:48:15 UTC 2007


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=yes
nonInteractive=yes

# My host specific data
hostname=testmachine
domainname=test.com
nameserver=192.168.50.10

# Which installation device to use
mediaSetCDROM

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

disk=ad0
partition=all
bootManager=standard
diskPartitionEditor

# All sizes are expressed in 512 byte blocks!
ad0s1-1=ufs 614400 /
ad0s1-2=swap 1048576 none
ad0s1-3=ufs 20480000 /usr 1
ad0s1-4=ufs 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. 
Why the sysintsall didn't copy GENERIC kernel to my hard disk??
All distribution was copied but only the kernel and modules weren't. 
Is it a bug or a feature? And how to fix it?



More information about the freebsd-questions mailing list