Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 00:39:04 +0100 (CET)
From:      Palle Girgensohn <girgen@partitur.se>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        imp@village.org
Subject:   docs/17518: Please update the UPDATING document
Message-ID:  <200003202339.AAA07702@stordatan.telia.com>

next in thread | raw e-mail | index | archive | help

>Number:         17518
>Category:       docs
>Synopsis:       Please update the UPDATING document
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 20 15:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
Partitur
>Environment:
Updating from version 3.x to version 4.
	

>Description:
The UPDATING document in the src dir need a few more
lines to prevent problems.

	To build a kernel
	-----------------
	Update config, genassym and go:
		cd src/usr.bin/genassym
		make depend all install clean
		cd ../../usr.sbin/config
		make depend all install clean
		cd ../../sys/i386/conf

+ Before config can run, it needs to find a libc.so.4 to link with. I
  did this by setting LD_LIBRARY_PATH to /usr/obj/usr/src/lib/libc,
  but there are many other ways.

		config YOUR_KERNEL_HERE
		cd ../../compile/YOUR_KERNEL_HERE
		make depend && make
		make install


	To update from 3.x to 4.0 stable
	--------------------------------
	cd /usr/src
	make buildworld
	cd sbin/mknod
	make install
	<follow directions to build/install a kernel>

+ also, kld modules need to be installed, especially if you're using
  vinum! cd sys/modules && make install is one way to go, but perhaps
  copying the old ones somewhere safe first is a good idea

	<follow rebuild disk /dev entries above>	[*]
	reboot
	<in single user>
	cd /usr/src

+ a make test here is a very good idea. If the user (like I did on one
  of my machines) forgets to remove the /etc/rc.conf.local, the make
  binary will get installed first of all, and since it cannot run
  without the new libc, thing will come to a prompt halt. make will
  not run again until you get libc.so.4 in your ld path.

	make -DNOINFO installworld
	make installworld


>How-To-Repeat:

Get a 3.x installation preferrably with vinum volume
management. Follow the UPDATING document when updating to version 4.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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