updating system help ??!!??

Nigel Taylor nigelt at iinet.net.au
Fri Oct 17 00:52:11 PDT 2003


Hi

I had the same problems also when i started using freebsd, but I soon 
found out from fellow friends (from the freebsd-stable and 
freebsd-questions mailing list) who run freebsd and you might find this 
easy to do :), and get into a habit of doing this also :)

First run

*make buildworld && make buildkernel KERNCONF=YOURKERNEL*

if no errors, then run

*cp /kernel /kernel.prev && make installkernel KERNCONF=YOURKERNEL

*then reboot

If everything is "OK" shutdown and reboot into single user mode

mount all the filesystems you need (/usr, /var)

*mount -u  /, /usr, /var*

then run

*make installworld*

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



Lowell Gilbert wrote:

>"Brent Bailey" <misterb at bmyster.com> writes:
>
>  
>
>>>The latter, not the former.
>>>You want to be running the *new* kernel before starting the system
>>>install.
>>>      
>>>
>>what do yoyu mean ????
>>are you saying i have to recompile the kernel befor i start the system
>>install ?? 
>>    
>>
>
>Yes, that's exactly what I mean.
>
>  
>
>>install ?? there already is a custom kernel built ...
>>
>>
>># cd /usr/src/sys/i386/conf
>># /usr/sbin/config YOURKERNEL
>># cd ../../compile/YOURKERNEL
>># make clean
>># make depend
>># make
>># make install
>>
>>sorry about asking this over an over but...im a little confused
>>    
>>
>
>Your *original* set of instructions did this correctly, assuming you
>remember to do a full reboot before starting to install the userland.
>_______________________________________________
>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