*BSD News Article 45407


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!agis!vtc.tacom.army.mil!news1.oakland.edu!newsxfer.itd.umich.edu!agate!howland.reston.ans.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!news.csie.nctu.edu.tw!jdli
From: jdli@csie.nctu.edu.tw (開始喜歡秋天了...)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Suggestions on upgrade to 2.0.5R from bindist
Date: 11 Jun 1995 18:25:11 GMT
Organization: 楓之谷
Lines: 31
Message-ID: <3rfce7$1jb@news.csie.nctu.edu.tw>
Reply-To: jdli@csie.nctu.edu.tw
NNTP-Posting-Host: jdli@ccsun8.csie.nctu.edu.tw
X-Newsreader: TIN [version 1.2 PL2]


	Well, this is just my personal experience, so don't blame if
	this doesn't work.   I only play FreeBSD for 9 monthes.  :)

	1. boot into single user mode (boot: -s)
	2. mount -u /  (and mount /usr if needed)
	3. grab bindist, kerndist, and des (if you use des) to /tmp
	4. extract bindist :
	   cd /; cat /tmp/bin/bin.* | gunzip | tar --extract --verbose
	   --unlink --same-owner --preserve-permissions --file - bin
	   lkm sbin usr kernel.GENERIC
	   (this will leave /etc /root /var untouched)
	5. follow Step4, extract dict, info, manpages, games, proflibs,
	   des (be sure to extract des after bin.* and proflibs.*)
	6. cd /tmp; cat /tmp/bin/bin.* | gunzip | tar xvf - etc
	   (compare /tmp/etc, modify /etc, maybe you can use "diff")
	7. ldconfig -v /usr/lib /usr/X11R6/lib /usr/local/lib
	8. extract kerndist :
	   /bin/rm -rf /sys/*
	   cd /; cat /tmp/src/ssys.* | gunzip | tar xvf -
	9. make a new kernel
	   (be aware of the new format of kernel config, check GENERIC,LINT)
       10. go through every directory and check everything
       11. reboot and pray ....  :)

       Good luck, and enjoy FreeBSD !!!
		   
--

                                           李 建 達  (Adonis) 交大資工
                                           Mail: jdli@csie.nctu.edu.tw