From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 20:32:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 083E2405 for ; Mon, 15 Apr 2013 20:32:18 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x22f.google.com (mail-ia0-x22f.google.com [IPv6:2607:f8b0:4001:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id D16311871 for ; Mon, 15 Apr 2013 20:32:17 +0000 (UTC) Received: by mail-ia0-f175.google.com with SMTP id e16so4635389iaa.20 for ; Mon, 15 Apr 2013 13:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=G0AsGVFLezU9MaOs+aHpDSV6xSfPcRAjct7Gemd4Pp0=; b=huJAqBLqrMQ07apoB9jRYq5YKFb8qBWu1IPfYlzTMrCob2eepHDa+5RuxZnaPX6Eqs fMvEDtSq0BYJqaDGl2cMSkwlXZV8/gdMON48xA6s6s3FJf6i9zG0v/mfHO8NzT8btr7s 7djXUWW1+V61e0C1OvUhDgPQGMiKzqaxRTVDj18nACbR+DS53/n70BRqUgUlTN+uIauN yg2kqHZlLa2PJsSbhLKCm3w9m53hvIeEHy86gWcRPPPYRFe9pjS8WMdgfhT4asn+twCI IngEqt4fXDbLPFqM0jdXU9evmPR6iymU3ZKLPl180QEicZ0bN3JAy+gZFJIR76yAJGXb GKFQ== X-Received: by 10.50.219.168 with SMTP id pp8mr6046896igc.57.1366057937350; Mon, 15 Apr 2013 13:32:17 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id in10sm12580204igc.1.2013.04.15.13.32.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 13:32:16 -0700 (PDT) Message-ID: <516C63CC.4030609@gmail.com> Date: Mon, 15 Apr 2013 15:32:12 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9-STABLE doesn't boot: can't load 'kernel' References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 20:32:18 -0000 I can't recall, does the cd come with the btx loader? Is it able to see the hard drive partitions and boot that way? Did you put anything in loader.conf? I'm guessing that if you're getting to /boot/loader but not any further, it's something wrong with the conf file. If you're booting UFS, you might be safe just deleting/renaming the file. And just for sanity's sake, you didn't try anything special with geom did you, such as 4k blocks, geli, etc? On 4/15/2013 1:03 PM, J David wrote: > After installing 9.1-RELEASE amd64 on a system, it boots up fine. If I > then build and install a new 9-STABLE kernel & world, reboots die in the > loader with: > > can't load 'kernel' > > This is a pretty straightforward system, one drive, not large (128GB SSD). > GPT partitioned, gptboot boot code. One UFS root partition to boot from, > a swap partition and, the rest for ZFS. > > (At first I tried to do this system with root-on-ZFS but that also failed, > adding "unable to load zpool by guid" or similar before the "can't load > 'kernel'" message.) > > Once this happens, the disk is unbootable. I can start from the install CD > and access the disk just fine, but even if I move kernel.old back to > kernel, it doesn't boot anymore. Likewise, it doesn't matter if I > overwrite the boot code with gptboot & pmbr from the install CD or the new > ones from /boot after installworld. > > The disk looks like: > > # gpart show > => 34 234441581 ada0 GPT (111G) > 34 222 1 freebsd-boot (111k) > 256 1792 - free - (896k) > 2048 8388608 2 freebsd-ufs (4.0G) > 8390656 8388608 3 freebsd-swap (4.0G) > 16779264 217662351 4 freebsd-zfs (103G) > > In the loader: > BTX loader 1.00 BTX version is 1.02 > Consoles: internal video/keyboard > BIOS drive C: is disk0 > BIOS 621kB/2067924kB available memory > > FreeBSD/x86 bootstrap loader, Revision 1.1 > (root@builder, Mon Apr 15 09:14:38 UTC 2013) > > can't load 'kernel' > > Type '?' for a list of commands, 'help' for more detailed help. > OK show > […] > currdev=disk0p2: > […] > loaddev=disk0p2: > […] > OK lsdev > cd devices: > disk devices: > disk0: BIOS drive C: > pxe devices: > OK ls > open '/' failed: no such file or directory > OK help > Verbose help not available, use '?' to list commands > > So it's getting the boot device right (disk0p2 / ada0p2), but can't see it > at all. > > Does anyone know what might be wrong? > > Thanks for any advice! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >