RE: Sysinstall does not install GENERIC kernel

2007-04-09 Thread Belov, Sergey
Yes, 'kernels'  still doesn't work. I have January2007 ISO images, maybe
later it was fixed. I don't know.

And one more thing. Is there anyone who can explain why these commands
are failed?
http://beautynn.cololo.com/lj/tupoy/system.gif



-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 7:51 PM
To: Kris Kennaway; Belov, Sergey; freebsd-questions@freebsd.org;
[EMAIL PROTECTED]
Subject: Re: Sysinstall does not install GENERIC kernel

On Mon, Apr 09, 2007 at 04:39:08AM -0500, Josh Paetzel wrote:
 Kris Kennaway wrote:
  On Mon, Apr 09, 2007 at 09:23:38AM +0400, Belov, Sergey wrote:
   
hit the same bug too with FreeBSD-6.1. To workaround this, i've 
just added the distribution set GENERIC to dists (this value 
wasn't mentionned on the sysinstall manpage by the way :-( ) So 
try with this:
dists=base GENERIC catpages info manpages proflibs kernel 
distSetCustom
   
   Thank you. I've also found interesting thread here:
   http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123
   640.ht
   ml
   
   It seems that automatic installation mechanism is far from perfect

   and there's nobody who interested in fixing the problems.
  
  Are you sure it was not fixed in 6.2?
  
  Kris
 
 distSetCustom has been broken ever since the goo was added to make 
 sysinstall smart enough to install either GENERIC or SMP depending on 
 how many processors are in the machine.  After that change was made 
 the kernels target to distSetCustom stopped working.  My workaround 
 has been to hack the distSetMinimal target in sysinstall to put in 
 what I want.  I guess I should've submitted a PR at some point...

Yes.

Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysinstall does not install GENERIC kernel

2007-04-08 Thread Belov, Sergey

 hit the same bug too with FreeBSD-6.1. To workaround this, i've just
 added the distribution set GENERIC to dists (this value wasn't
 mentionned on the sysinstall manpage by the way :-( )
 So try with this:
 dists=base GENERIC catpages info manpages proflibs kernel
 distSetCustom

Thank you. I've also found interesting thread here:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123640.ht
ml

It seems that automatic installation mechanism is far from perfect and
there's nobody 
who interested in fixing the problems.

BTW, I've just selected distSetMinimum and in this case kernel was
istalled.
But except of this a problem I found a new trouble: system commands
which I've put in install.cfg 
doesn't seems to be executed. It just stops with the error 'system -1
command not found' 
or something like that.

Even when the commands are pretty simple like this: 
command=/sbin/shutdown -p now
system

It doesn't work and stops with the error.
How about your commands? Can you show some examples of your install.cfg
here if it works properly? :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysinstall does not install GENERIC kernel

2007-04-06 Thread Belov, Sergey
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 2048 /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?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]