Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 23:26:56 -0700 (PDT)
From:      KAYVEN  RIESE <kayve@sfsu.edu>
To:        freebsd-stable@freebsd.org
Subject:   can't jump to superuser after buildwerld
Message-ID:  <Pine.SOC.4.64.0704172311470.9790@libra.sfsu.edu>
In-Reply-To: <1175804482.46155a4211b0f@webmail.sfsu.edu>
References:  <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <Pine.SOC.4.64.0704040855350.15464@libra.sfsu.edu> <20070404125452.M18358@fledge.watson.org> <Pine.SOC.4.64.0704040959490.15464@libra.sfsu.edu> <Pine.SOC.4.64.0704041006060.15464@libra.sfsu.edu> <14989d6e0704041034t1e197592jbd7d609ddd1d0765@mail.gmail.com> <1175734991.46144acfabc7a@webmail.sfsu.edu> <1175736045.46144eed676c2@webmail.sfsu.edu> <1175763113.1318.18.camel@zoot.mintel.co.uk> <1175804304.461559908e35e@webmail.sfsu.edu> <1175804482.46155a4211b0f@webmail.sfsu.edu>

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

okay.  i am getting a serious stomach ache.  i am looking at this page:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

and my head is spinning.  i don't feel good.  i am halfway thru doing
something or other sorta the wrong way.  right now i got a prompt.. i
am running xfce4, but i can't jump to superuser.  i push the button
and the laptop shuts down when i want it to.  the thing is when
i did mergemaster -p i got into big problems i don't understand why.
this guy told me how to do vipw like this:

TeRReF:
In single user mode:

mount -a
/usr/sbin/vipw

then use this inside vipw:

:wq

That should do it...

that helped a lot.. umm.. i felt stupid i guess.  i have been using vi for 
20 years.. but still.. i really needed this.  i feel i need something like
this for mergemaster - p or whatever step i should start from.  i am
sorry for being so stupid.

On Thu, 5 Apr 2007, kayve@sfsu.edu wrote:

>
> 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
>>>
>>
>>
>>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



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