From owner-freebsd-current@FreeBSD.ORG Sun Feb 29 13:21:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA8716A4CE for ; Sun, 29 Feb 2004 13:21:02 -0800 (PST) Received: from mail.comita.spb.ru (mail.comita.spb.ru [213.182.169.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C810943D1F for ; Sun, 29 Feb 2004 13:21:01 -0800 (PST) (envelope-from Toxa@cterra.ru) Received: by mail.comita.spb.ru (Postfix, from userid 1205) id B60521ACE4; Mon, 1 Mar 2004 00:20:59 +0300 (MSK) Received: from karputer (ppp-dialup-8.atcom.spb.ru [213.182.168.8]) by mail.comita.spb.ru (Postfix) with SMTP id 6D0B01ACE2 for ; Mon, 1 Mar 2004 00:20:58 +0300 (MSK) X-AntiVirus: Checked by Dr.Web [version: 4.31a, engine: 4.31a, virus records: 46762, updated: 27.02.2004] Message-ID: <000701c3ff09$b5a20a70$0202a8c0@karputer> From: "Anton Karpov" To: Date: Mon, 1 Mar 2004 00:19:24 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailman-Approved-At: Mon, 01 Mar 2004 05:01:12 -0800 Subject: can't boot new kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 21:21:02 -0000 This is a common question, maybe not suitable for this maillist, but I would like to hear any ideas how to work it out. Let suppose I build new world and kernel, reboot my current box, and new kernel fails to boot (actually it hangs while detecting ata). So I should to go into load prompt and type 'boot /boot/kernel.bak/kernel', whouldn't I? Ok, I try to boot and old kernel but now it fails too (maybe because of new world?). So now I'm without any working kernel. The only way I see to solve this trouble is to compile a sutable kernel on another machine, boot with installation/recovery cd, escape to recovery shell, mount root partition and replace /boot/kernel/ with another one? Or does load prompt can offer me any builtin feature to avoid using recovery live cd (cuz i haven't neither such cd, nor another bsd box actually :) Thanks for responses.