From owner-freebsd-questions Thu Feb 20 7:37:22 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4162937B401 for ; Thu, 20 Feb 2003 07:37:20 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id B900643F75 for ; Thu, 20 Feb 2003 07:37:15 -0800 (PST) (envelope-from mwm-dated-1046187435.3f8760@mired.org) Received: (qmail 72527 invoked from network); 20 Feb 2003 15:37:15 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 20 Feb 2003 15:37:15 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15956.63018.572720.375459@guru.mired.org> Date: Thu, 20 Feb 2003 09:37:14 -0600 To: bastill@adam.com.au Cc: freebsd-questions@freebsd.org Subject: Re: installkernel first? In-Reply-To: <1045718989.3e5467cdd1dee@webmail.adam.com.au> References: <1045718989.3e5467cdd1dee@webmail.adam.com.au> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.69 (Count Fleet) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <1045718989.3e5467cdd1dee@webmail.adam.com.au>, bastill@adam.com.au typed: > I'm tracking 4.7 stable. > The handbook asks me to: > go to single user mode and fsck -p (etc ...) > Can't. > "/dev/ad2s1a: NO WRITE ACCESS > /dev/ad2s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY." > (Mounted RW according to fstab). This looks like you aren't running the fsck as root. Either that, or the file modes on the device are screwed up. > after "make buildworld" as single user and reboot also to single user could not > "cd /usr/src" - ls shows the /usr directory containing only /usr/local and no > other directories. > I CAN find /usr/src (and a number of other useful directories ) as root or user. Possibly something isn't mounted. > I am next supposed to "make buildkernel # make installkernel". This appeared to > work ok (I didn't monitor), but no new kernel appeared in the / directory (I > still had my 'old' one). So what does an ls of the kernels look like? Normally, installkernel moves your old kernel to kernel.old, removing any previous kernel.old, then installs the new kernel as kernel.; > The next step was to be "make installworld" but I have not done this in view of > the earlier errors. No, the next step is to reboot to the new kernel you just installed. You really haven't given us a lot of information to go on. Knowing exactly what commands you run, and seeing real error messages would help a lot. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message