Re: single user mode buildwerld failures
- From: kayve@xxxxxxxx
- Date: Thu, 5 Apr 2007 13:47:30 -0700
i can't log on, but i can run in single user mode. does that qualify
as a "running system" should i start over from step 1 and do it all
in single user mode? maybe i better not try until hearing from
somebody.
If you have a running system, read Appendix A.5 "Using CVSup" [1] of the
handbook, which details how to update your sources and ports to the
current version.
If you don't have a running system, rebuild world + kernel and hope that
restores enough functionality so you can update the sources and go
again. This is all described in section 22.4 "Rebuilding world" [2] of
the handbook, but I will summarise it for you.
// change to root
$ su -
// remove /usr/obj to speed up the build
# cd /usr/obj && chflags -R noschg * && rm -rf *
// Build a new world
# cd /usr/src
# make -j4 buildworld
// build a new kernel (do not put any job options for this build)
# make buildkernel
// install the new kernel
# make installkernel
// reboot to single user mode (boot -s from the loader prompt)
# shutdown -r now
// After reboot
// check + mount all filesystems
# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a
// prepare /etc for the world install
# mergemaster -p
// install the new world
# cd /usr/src ; make installworld
// run mergemaster again
# mergemaster
// reboot to an updated system
# shutdown -r now
All these instructions are in the handbook.
Cheers
Tom
[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
[2]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- References:
- [releng_6 tinderbox] failure on i386/pc98
- From: FreeBSD Tinderbox
- single user mode buildwerld failures
- From: KAYVEN RIESE
- Re: single user mode buildwerld failures
- From: doug
- Re: single user mode buildwerld failures
- From: KAYVEN RIESE
- Re: single user mode buildwerld failures
- From: KAYVEN RIESE
- Re: single user mode buildwerld failures
- From: Christian Walther
- Re: single user mode buildwerld failures
- From: kayve
- Re: single user mode buildwerld failures
- From: Tom Evans
- [releng_6 tinderbox] failure on i386/pc98
- Prev by Date: Panic on 6.2 AMD
- Next by Date: Re: single user mode buildwerld failures
- Previous by thread: Re: single user mode buildwerld failures
- Next by thread: Re: single user mode buildwerld failures
- Index(es):
Relevant Pages
|
Loading