Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2003 10:54:34 -0400 (EDT)
From:      "Brent Bailey" <misterb@bmyster.com>
To:        "Mark Johnston" <mjohnston@skyweb.ca>
Cc:        stable@freebsd.org
Subject:   Re: updating system help ??!!??
Message-ID:  <4964.207.5.142.198.1066402474.squirrel@bmyster.com>
In-Reply-To: <20031017141423.GB962@omoikane.mb.skyweb.ca>
References:   <55492.207.5.142.198.1066307656.squirrel@bmyster.com><44n0c1z4xs.fsf@b e-well.ilk.org><1256.66.63.97.2.1066318359.squirrel@bmyster.com><44vfq o3lj9.fsf@be-well.ilk.org> <3F8F9DCC.2080301@iinet.net.au>  <20031017141423.GB962@omoikane.mb.skyweb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Awesome  ...thanx for your reply ...ill try that ..
also that would be great if you could send those scripts that you were
talking about ..

thank you for your reply :-)
-- 
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
mrb@bmyster.com
207-247-8330


> Nigel Taylor <nigelt@iinet.net.au> wrote:
>> First run
>
> *First* run mergemaster -p, to update any files required for buildworld
> and installworld to succeed.
>
>> *make buildworld && make buildkernel KERNCONF=YOURKERNEL*
>>
>> if no errors, then run
>>
>> *cp /kernel /kernel.prev && make installkernel KERNCONF=YOURKERNEL
>
> The system copies /kernel to /kernel.old by itself, but doing it yourself
> certainly doesn't hurt anything.
>
>> *then reboot
>>
>> If everything is "OK" shutdown and reboot into single user mode
>
> Not everything will always be OK at this point, since your running kernel
> and world are (intentionally) out of sync.  It's generally recommended to
> go straight to single-user mode after an installkernel, to avoid confusion
> in things like ps, top, and ipfw.  Consider booting with IPFW set to
> default deny and with ipfw(8) not working - the shrieks of protest from
> your daemons would not be pretty.
>
>> mount all the filesystems you need (/usr, /var)
>>
>> *mount -u  /, /usr, /var*
>
> If your CMOS clock isn't UTC (if /etc/wall_cmos_clock exists), you should
> run "adjkerntz -i" in here.  Otherwise, the times on your installed world
> could be messed up, and various make breakage could result.  I believe
> it's safe to run adjkerntz -i either way, but I'm not positive on that
> one.
>
> Also, if you need swap, swapon -a should be run here.
>
>> then run
>>
>> *make installworld*
>
> Best to do mergemaster before you reboot.
>
>> then reboot an everything should be "OK", then thats your system
>> updated, well almost you still have to use mergemaster :)
>>
>> if you modify your kernel just use
>>
>> *make buildkernel KERNCONF=YOURKERNEL && **make installkernel
>> KERNCONF=YOURKERNEL
>>
>> *If you want i have some shell scripts that do this automatically :)
>>
>> Nigel Taylor
>
> Just picking a few nits :),
>
> Mark
> _______________________________________________
> 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?4964.207.5.142.198.1066402474.squirrel>