single user mode buildwerld failures

kayve at sfsu.edu kayve at sfsu.edu
Thu Apr 5 20:49:55 UTC 2007


i am still trying to follow the below instructions.  haven't done so yet,
going away for the weekend.


> 
> > // change to root
> > $ su -
> > // remove /usr/obj to speed up the build
> > # cd /usr/obj && chflags -R noschg * && rm -rf *
> 
> didn't do this.. but i guess that shouldn't matter.
> 
> > // Build a new world
> > # cd /usr/src
> > # make -j4 buildworld
> > // build a new kernel (do not put any job options for this build)
> 
> didn't use "-j4" but otherwise i believe we did this.
> 
> > # make buildkernel
> > // install the new kernel
> 
> gheist seemed to be aware of this and had an opinion about not 
> needing it.
> 
> > # make installkernel
> > // reboot to single user mode (boot -s from the loader prompt)
> > # shutdown -r now
> > 
> 
> did this.
> 
> > // After reboot
> > // check + mount all filesystems
> > # fsck -p
> 
> did this
> 
> > # mount -u /
> > # mount -a -t ufs
> 
> did merely "mount -a"
> 
> > # swapon -a
> > // prepare /etc for the world install
> 
> didn't do this.
> 
> > # mergemaster -p
> > // install the new world
> 
> this step is where all hell broke loose.  i got this strange question
> that i didn't know how to respond to.  my prompt changed.  it felt
> like things went seriously wrong here.
> 
> 
> 
> > # 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
> > 
> 
> 
> 



More information about the freebsd-stable mailing list