Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 1998 09:45:36 +0800
From:      Wong Horn Lim <hlwong@asiapac.net>
To:        questions@FreeBSD.ORG
Subject:   Problem of upgrade from 2.2.5_RELEASE to 2.2.6_RELEASE
Message-ID:  <3.0.3.32.19980408094536.008d0210@mail.asiapac.net>

next in thread | raw e-mail | index | archive | help
Guys,
 Recently I got the step by step guide on how to upgrade
my freebsd 2.2.5-Release to 2.2.6-Release, and and I attach
the guide below.
 The problem I am having is on step #7, 'make world', it
fill up my /usr partition, and here is the the last few line
of error message I got
---------------------------------
===> usr.bin/rlogin
cc -nostdinc -O -Wall   -I/usr/obj/usr/src/tmp/usr/include -c
/usr/src/usr.bin/r
login/rlogin.c

/usr: write failed, file system is full
/var/tmp/ccVK5098.s: Assembler messages:
/var/tmp/ccVK5098.s:1463: Failed to emit an object byte: No space left on
device
/var/tmp/ccVK5098.s:1463: Fatal error:Can't continue
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
--------------------------------------
 When I install 2.2.5-release, I am installing with
source and XFreeBSD, and I have allocated 400MB for
/usr partition and 250M for /usr/local
 Before the upgrade, the /usr is only used about 60%
and about 30% for /usr/local, but during the upgrading
process, my /usr is fill up, so anyone know how
to continue my upgrading or any files I can delete
or move to other partition (/home -- I have 1G of space)
  I try not to re-install 2.2.5 from my CD until
i have no other choice.
  Please cc a copy of your reply to me if you reply to
the mailing list. Thanks.



Horn Wong



Step by step guide to upgrade from 2.2.5-release to 2.2.6-release
======================================================
1. pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/CVSup/cvsupit.tgz
2. Say yes to everything except to do the Update and the firewall, ports 
as you wish...
3. vi /etc/cvsupfile
4. change RELENG_2_2 to RELENG_2_2_6_RELEASE
5. cvsup -L 2 -g /etc/cvsupfile
6. cd /usr/src
7. make world (do not reboot afterwards, this takes a long time).
8. backup /etc/ (cd /etc; tar cvf /tempdir/etcback.tar)
9. cd /usr/src/sys/i386/conf 
10. cp GENERIC MYKERNEL (your kernel)
11. vi MYKERNEL (edit as desired)
12. config MYKERNEL
13. cd ../../compile/MYKERNEL
14. make depend; make; make install
15. cd /usr/obj/etc (not sure on this one, pulling from memory)
16. rm master.passwd, group, rc.conf (look at this one and merge where 
necessary), and whichever other files you have modified.
17. copy to /etc the rest (with subdirectories).
18. vi /etc/fstab
19. change wd0a to wd0s1a
20. reboot the beast
=========================================================================



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



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