From owner-freebsd-current@FreeBSD.ORG Sun Feb 29 14:02:11 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 D746516A4CE for ; Sun, 29 Feb 2004 14:02:11 -0800 (PST) Received: from ns.atcom.spb.ru (ns.atcom.spb.ru [213.182.169.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 334ED43D2D for ; Sun, 29 Feb 2004 14:02:11 -0800 (PST) (envelope-from postfix@sendmail.ru) Received: from karputer (ppp-dialup-2.atcom.spb.ru [213.182.168.2]) by ns.atcom.spb.ru (Postfix) with SMTP id 4A5A04BB6B for ; Mon, 1 Mar 2004 01:02:08 +0300 (MSK) X-AntiVirus: Checked by Dr.Web [version: 4.31a, engine: 4.31a, virus records: 46762, updated: 27.02.2004] Message-ID: <002701c3ff0f$75c653b0$0202a8c0@karputer> From: "toxa" To: Date: Mon, 1 Mar 2004 01:00:34 +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 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 22:02:12 -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.