From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 18:03:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 24C9572 for ; Mon, 15 Apr 2013 18:03:04 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id EE6FA1182 for ; Mon, 15 Apr 2013 18:03:03 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so6202495ieb.1 for ; Mon, 15 Apr 2013 11:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=hcRBcDaWOaoWoGqpJ0Bu6F0162ZuKp+c3aIcrW29WgY=; b=qeUm5RjhieYyAKtruv4VkjQhR4je1tl/TwXl/UXPeI9xoZlHnUnfgL2JSyjL2yLMnY TXg1W5PeFH7taEiQpZdYlpfGfiEOgsveYcWcWOMAuMpnMc0bjOdW5foAyC/2xsyCnLR4 AxAshYwzv+PdISzmOJOfZ20Op7GQ3UTlAuZcwhoPthfIUGVRUiXratA/zeltTGU3L1mQ hvGj8kF2Rz04jOoA5sUrGJGmKzr+L++CfbYjcCWXkH3icqCcI8txQ/ThFvJ927R6mQEI lnt78sou9so0lnBJwcPGFQxRwXZe0w8sJsh29dHM5dxzE4OeXrzyKGsKVptnw8KHtBdI KrJQ== MIME-Version: 1.0 X-Received: by 10.50.2.101 with SMTP id 5mr5942044igt.29.1366048983596; Mon, 15 Apr 2013 11:03:03 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.42.83.83 with HTTP; Mon, 15 Apr 2013 11:03:03 -0700 (PDT) Date: Mon, 15 Apr 2013 14:03:03 -0400 X-Google-Sender-Auth: 9A2mb8PWBhmcMglOvRz1aBs1QB0 Message-ID: Subject: 9-STABLE doesn't boot: can't load 'kernel' From: J David To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 18:03:04 -0000 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 =3D> 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 [=85] currdev=3Ddisk0p2: [=85] loaddev=3Ddisk0p2: [=85] 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!