Date: Thu, 16 Apr 1998 23:47:56 -0700 From: Don Morrison <dmorrisn@u.washington.edu> To: Scott Myron <zamy27@hsonline.net> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: kernel problems... Message-ID: <3536FB1B.E45EC34@u.washington.edu> References: <35365A05.6E847672@hsonline.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3536FB1B.E45EC34>
