On Sunday 24 December 2006 16:42, Dino Vliet wrote: > --- Beech Rintoul <[EMAIL PROTECTED]> wrote: > > On Sunday 24 December 2006 09:00, Dino Vliet wrote: > > > Hi Beech, > > > > > > many thanks for your clear help. I will try that > > > > in a > > > > > few moments.... > > > > > > However, I wanted to ask you something else > > > > becuase of > > > > > your quote: > > > > > > "Doing a make installworld before finding out if > > > > the > > > > > new kernel will boot will bite you big time at > > > > some > > > > > point" > > > > > > Unquote > > > > > > How am I able to find out if the new kernel will > > > > boot > > > > > then? Because I have done this a few times > > > already....but I don't like to be biten:-) > > > A nice Christmas eve too:-) > > > > > > Dino > > > > > > --- Beech Rintoul <[EMAIL PROTECTED]> > > > > wrote: > > > > On Sunday 24 December:46, Dino Vliet wrote: > > > > > Hi peeps, > > > > > > > > > > I have tried to update my src with cvsup and > > > > got > > > > > > stuck > > > > > > > > > because of an error while doing make > > > > installworld. > > > > > > > My system is an amd64 machine running freebsd > > > > 6.1 > > > > > > and > > > > > > > > > I have performed the steps without problems: > > > > > -make buildworld > > > > > -make buildkernel kernconf=mykkernel > > > > > -make installkernel kernconf=mykernel > > > > > > > > > > Normally I would then immediately follow this > > > > > > > > sequence > > > > > > > > > with a mergemaster -p, make installworld and > > > > > mergemaster -i and then reboot. > > > > > > > > > > However, this time I decided to check the > > > > handbook > > > > > > and > > > > > > > > > saw that it recommended to do a boot into > > > > single > > > > > > user > > > > > > > > > mode between the step -make installkernel > > > > > kernconf=mykernel AND the step mergemaster -p. > > > > > > > > > > So I did it and when I rebooted and saw the > > > > > > > > beastie > > > > > > > > > splash screen, I hit option 4. Then I had to > > > > press > > > > > > > enter to get to the shell. When I did I > > > > noticed I > > > > > > > couldn't cd into the /usr/src directory > > > > because > > > > > > the > > > > > > > > > /usr/src directory was missing! > > > > > > > > The filesystem is not mounted in single user > > > > mode. > > > > > > You need to do > > > > a "mount -a" which will read /etc/fstab and > > > > mount > > > > > > the slices. After that you > > > > can cd normally. Also, you should not do a make > > > > installworld in multi-user. > > > > You should do that step in single user before > > > > you > > > > > > run mergemaster. Doing a > > > > make installworld before finding out if the new > > > > kernel will boot will bite > > > > you big time at some point. Believe me I've been > > > > there. > > > > > > > > Beech > > > > > > > > > So I rebooted again into multi-user mode and > > > > here > > > > > > I > > > > > > > > > tried the mergemaster -p but it failed with: > > > > > > > > > > ===> lib/libcom_err/doc (install) > > > > > lockf -k /usr/share/info/dir install-info > > > > --quiet > > > > > > > --defsection="Programming & development > > > > tools." > > > > > > > --defentry="* libcom_err: (com_err). A > > > > > > > > Common > > > > > > > > > Error Description Library for UNIX." > > > > com_err.info > > > > > > > /usr/share/info/dir > > > > > install -o root -g wheel -m 444 > > > > com_err.info.gz > > > > > > > /usr/share/info > > > > > ===> lib/libcrypt (install) > > > > > install -C -o root -g wheel -m 444 > > > > libcrypt.a > > > > > > > /usr/lib > > > > > install -C -o root -g wheel -m 444 > > > > libcrypt_p.a > > > > > > > /usr/lib > > > > > install -s -o root -g wheel -m 444 -fschg -S > > > > > libcrypt.so.3 /lib > > > > > install: rename: /lib/[EMAIL PROTECTED] to > > > > > > > > /lib/libcrypt.so.3: > > > > > Operation not permitted > > > > > *** Error code 71 > > > > > > > > > > Stop in /usr/src/lib/libcrypt. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src/lib. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src. > > > > > [EMAIL PROTECTED] /usr/src]# > > > > > > > > > > > > > > > So, what to do now??? > > > > > > > > > > O yeah, I've been running my system from > > > > > securelevel=3, so maybe that has something to > > > > do > > > > > > with > > > > > > > > > this also. > > > > > > > > > > Any help will be appreciated... > > > > > > > > > > (Yes, it's Christmas eve, I know, but hey that > > > > > > > > gives > > > > > > > > > me a lot of time to check things out). > > > > > > > > > > Thanks > > > > > > > > > > ps is this bad? Should I start evacuate all my > > > > > important files while I'm still able to? > > > > The proper way is: > > > > make buildworld > > make kernel (KERNCONF=YOURKERNEL) if custom > > reboot to single user > > If the new kernel doesn't boot reboot and hit the > > space bar at the boot prompt > > boot kernel.old > > If the new kernel boots OK > > mount -a > > cd /usr/src > > make installworld > > mergemaster > > exit > > > > The main thing is you don't want to install the new > > userland before finding > > out if the new kernel boots. If you install the > > userland it's very possible > > === message truncated === > > Thanks Beech, > > you helped me out very well and I have learned a lot > too. I will go on and update my notes because I had it > all wrong.
You're welcome. Please note that issues such as this are discussed in detail in the handbook. "/usr/share/doc/en_US.ISO8859-1/books/handbook" on your machine or http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html online. Also doing a google search will more often than not provide an answer to your question. Merry Christmas, Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------
pgpGqBzZAfXwf.pgp
Description: PGP signature