updating system help ??!!??

Brent Bailey misterb at bmyster.com
Fri Oct 17 07:54:36 PDT 2003


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 at bmyster.com
207-247-8330


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



More information about the freebsd-stable mailing list