Date: Wed, 13 Feb 2008 11:12:45 -0800 From: Gavin Spomer <spomerg@cwu.EDU> To: freebsd-stable@freebsd.org Subject: Re: Rebuilding World Problems Message-ID: <47B2D0AD0200009000013E4F@hermes.cwu.edu>
next in thread | raw e-mail | index | archive | help
>>> Kevin Oberman <oberman@es.net> 02/12/08 7:01 PM >>> > > make buildkernel KERNCONF=3DYOUR_KERNEL_HERE > > make installkernel KERNCONF=3DYOUR_KERNEL_HERE > If you put KERNCONF into make.conf, you can simplify it to: > make kernel Just to be clear, if I add the appropriate KERNCONF line in /etc/make.conf,= "make kernel" will take care of both "make buildkernel" AND "make = installkernel"? (w/o the KERNCONF=3D part) > > reboot (in single user mode) > >=20 > > fsck -p (optional, but a good idea) > A total waste of time, but I do it anyway since I am paranoid. > adjkerntz -i Like many good admins, I am paranoid too, so I will include this. :) > This command has no impact if the hardware clock is set to UTC/GMT, but > it is often not, especially if the system is dual boot with Windows. > > mount -u / > Since the next command does this, the is no need for this, even for the > paranoid. > > mount -a -t ufs > > swapon -a (most cases; optional) > >=20 > > cd /usr/src > > mergemaster -p > > make installworld > > mergemaster > While not in src/UPDATING, I always urge people to use the -iU options > to save a LOT of time on future builds. These options are for mergemaster I take it? I had another look at the man = page for mergemaster and inspected these options, so this sounds good. > > reboot > >=20 > > That was simply a QUICK cheat sheet, and does not > > replace good research. But I hope it helps. :) >=20 > Thanks for posting this. Maybe it will lead to some documentation = updates. > R. Kevin Oberman, Network Engineer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B2D0AD0200009000013E4F>