Date: 16 Oct 2003 09:29:35 -0400 From: Lowell Gilbert <freebsd-stable-local@be-well.ilk.org> To: stable@freebsd.org Subject: Re: updating system help ??!!?? Message-ID: <44n0c1z4xs.fsf@be-well.ilk.org> In-Reply-To: <55492.207.5.142.198.1066307656.squirrel@bmyster.com> References: <55492.207.5.142.198.1066307656.squirrel@bmyster.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Brent Bailey" <misterb@bmyster.com> writes: > Im running several Freebsd systems some are rather old FBSD 4.6 but most > are at the 4.8rc1 level. anyway does the below procedure for updating a > Freebsd system seem like the correct way for both older and newer systems > ?? > any and all help is very appreciated > Thank you >=20 >=20 > ########################### > Backup /etc: >=20 > # cp -Rp /etc /etc.old >=20 >=20 > Run mergemaster in pre-buildworld mode to update files essential to the > success of buildworld and installworld: >=20 > # /usr/sbin/mergemaster -p >=20 >=20 > Remove old /usr/obj: >=20 > # cd /usr/obj > # chflags -R noschg * > # rm -rf * >=20 >=20 > Compile the sources: >=20 > # cd /usr/src > # make buildworld >=20 >=20 > Compile and install the new kernel: >=20 > # cd /usr/src (if you've changed directories after the last step) > # make kernel KERNCONF=3DYOURKERNEL >=20 > If you don't already have a custom kernel configuration, use GENERIC in > place of YOURKERNEL above. If you wish to create a custom kernel, see the > Building a Custom Kernel cheat sheet. >=20 >=20 > Drop to single user mode: > # shutdown now >=20 >=20 > Or reboot into single user mode: >=20 > # shutdown -r now > =B7=B7=B7 > Ok boot -s The latter, not the former.=20=20 You want to be running the *new* kernel before starting the system install. > # fsck -p > # mount -u / > # mount -a -t ufs > # swapon -a > # adjkerntz -i >=20 >=20 > Install the new system binaries: > # cd /usr/src > # make installworld >=20 >=20 > Update system configuration files: > # /usr/sbin/mergemaster -v -w 132 (eliminate '-w 132' if 132x43 video mode > is not activated) >=20 >=20 > Update /dev >=20 > In most cases, mergemaster will realize when it is necessary to update the > devices, and will offer to complete it automatically. If you've declined > mergemaster's offer, perform these steps to update /dev manually: >=20 > # cd /dev > # /bin/sh MAKEDEV all >=20 >=20 > Update /stand: >=20 > This step is included for completeness. It can be safely omitted. >=20 > # cd /usr/src/release/sysinstall > # make clean > # make all install >=20 >=20 > Reboot to multi-user mode: >=20 > # reboot With the one proviso listed above, it's okay. I'm not sure why you keep posting this, though...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44n0c1z4xs.fsf>