From owner-freebsd-questions Thu Apr 16 23:45:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA13742 for freebsd-questions-outgoing; Thu, 16 Apr 1998 23:45:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailhost2.cac.washington.edu (mailhost2.cac.washington.edu [140.142.33.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13675 for ; Fri, 17 Apr 1998 06:44:55 GMT (envelope-from dmorrisn@u.washington.edu) Received: from u.washington.edu (dmorrisn@D-128-95-141-142.dhcp.washington.edu [128.95.141.142]) by mailhost2.cac.washington.edu (8.8.4+UW97.07/8.8.4+UW97.11) with ESMTP id XAA17406; Thu, 16 Apr 1998 23:44:51 -0700 Message-ID: <3536FB1B.E45EC34@u.washington.edu> Date: Thu, 16 Apr 1998 23:47:56 -0700 From: Don Morrison X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-STABLE i386) MIME-Version: 1.0 To: Scott Myron CC: "freebsd-questions@FreeBSD.org" Subject: Re: kernel problems... References: <35365A05.6E847672@hsonline.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ok here is my problem. I just compiled the kernel 2.2.6-STABLE I > believe and when I boot up it doesn't work. it gives me some "Failed to > mount root" or something like that. then it tells me to enter the path > for my shell or hit ENTER to use SH. but I can still boot using > kernel.old(generic 2.2.5 kernel) and that works great. now what I want > to do is delete "kernel"(the one that doesn't work) and copy > "kernel.old" to "kernel" so this way I'd have kernel and kernel.old and > they'd both be the same exact thing. But when I try to rm kernel it > gives me that error that it's locked in place. like "Do you want to > override ......." I hit "y" and it gives me a permission denied(I AM > logged in as root when I'm doing this). so my question is. how do i > "unlock" that so I can delete it? this way I can boot up by using the > generic kernel without having to type "kernel.old" at the boot screen. > You probably need to change the entry for your root partition in "/etc/fstab". 2.2.6 now requires that this entry be explicit: e.g. If your installation is on the second ide hard disk ( slave drive on ide channel 0) and on the first partition, change the line: /dev/wd1a / ufs rw 1 1 to: /dev/wd1s1a / ufs rw 1 1 ^^ ------/ Notice that the partition or "slice" is now explicitly designated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message