Re: Haven't been able to make world in about a year



At 17:21 28.02.2006, Donald J. O'Neill wrote:
On Tuesday 28 February 2006 05:15, Kristian Vaaf wrote:
>
> Hello Don!
>
> Thank you for some good help.
>
> My make.conf only had some use.perl stuff.
> I added your flags.
>
> Also I've revised my sequence:
>
> cvsup -g -L 2 /etc/cvsupfile \
>
> && cd /usr/obj \
> && chflags -R noschg * \
> && rm -rf * \
>
> && cd /usr/src ; make clean \
> && make buildworld \
> && make buildkernel KERNCONF=NINJA \
> && make installkernel KERNCONF=NINJA \
> && make installworld \
> && mergemaster \
>
> And am now ready to give it another go :)
>
> All the best,
> Vaaf

Krisstian,

There are some places in your sequence, that I think are going to give
you trouble. DO NOT run this as a script, run script while you're doing
it. I think you're misunderstanding some things, so, I give the
procedure I use again with some comments about what is happening:

>cvsup -g -L 2 sup-src

>script /home/script/buildworld/bw-20060228

>cd /usr/obj
> pwd
>/usr/obj this is confirmation I am where I want to be
> ls
>usr Hey, there is something there

>chflags -R noschg *
>rm -rf *
>ls
> it's gone, great

>cd /usr/src
>pwd
>/usr/src I am where I want to be

>make cleandir whole bunch of action on the screen
>make cleandir run it again, yes you want to do that

>make buildworld && make buildkernel KERNCONF=PRES1750-i386

>make installkernel KERNCONF=PRES1750-i386

>exit shut off script
>shutdown -r now

at the boot menu, hit the <6> key you want to come up in single-user
mode, not multi-user. If you make a mistake, reboot and do it right. If
it went by too fast, use the spacebar to halt the boot process.

> <6>
OK boot -s boots up but you're not done yet
Enter full pathname of shell or RETURN for /bin/sh: <Enter>
# fsck -p <Enter>
# mount -u / <Enter>
# mount -a -t ufs <Enter>
# swapon -a <Enter>

# script /home/script/buildworld/iw-20060228
# cd /usr/src
# pwd am I where I want to be
# /usr/src yes, I am
# mergemaster -p run mergemaster in preinstall mode

# make installworld hey, look at it go
# mergemaster -i
answer <d> to remove the old temporary directory, you don't need it
anymore.
answer <i> to everything mergemaster asks, I don't care that the
recommedation is to handle it later, if you don't know what you're
doing, doing anything other <i> is just likely to screw you up in ways
you don't understand now, but you will later.

# exit shutdown 'script'

# shutdown -r now boot the system, come back up in multiuser mode.

If you did everything right, you're done with the buildworld sequence.

Again, DO NOT run this in a script. You're running the 'script' program.
If you don't want to sit and watch this go on, do something else. It
takes me about an hour and ten minutes to run it with an AMD64 3500+,
with an amd-tbird (1.3Mhz), it takes about two hours, with a 500Mhz
Pentium pIII, I run the buildworld and buildkernel part (and maybe the
installkernel, usually not) overnight.

I hope I caught you in time.

Don

Dear Don,

Amazing build sequence you got there.

The single user boot seems interesting, but is it really necessary?
Isn't it just for temporary security reasons?

I run the script to save time.
Basically I'd run the exact same chain of commands otherwise.

The computer I want to do this on is, by the way, a Pentium 120 :)

Thanks man,
Yes you did catch me in time,

Vaaf

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Havent been able to make world in about a year
    ... That's a call to 'script' to run, telling it where to put the resulting ... Could you explain the logic of running mergemaster -p, ... take a look at the handbook for the sequence that things should occur ... He means to run mergemaster -p before make installworld, ...
    (freebsd-questions)
  • Re: Havent been able to make world in about a year
    ... No script can be prepared for all the things ... Whether I write the sequence in the command line or into ... It will go through the stages of building world, building kernel, ... Because your clock is WAY off, 'make installworld' will complain (well ...
    (freebsd-questions)
  • Re: loading module on boot
    ... I would suggest looking into the /etc/rc?.d directories and determine what sequence of scripts is run as your system boots. ... You could add this to the beginning of each subsequent script: ... prints something in the boot messages saying it's loading ide-cd. ... by the time the boot sequence has finished and I ...
    (Debian-User)
  • creating a custom service
    ... how can one create a custom service that is executed during the boot ... I guess the first step is create a script in /etc/init.d. ...
    (Debian-User)
  • Re: Havent been able to make world in about a year
    ... mergemaster -p ... make installworld ... Also I've revised my sequence: ... That's a call to 'script' to run, telling it where to put the resulting ...
    (freebsd-questions)