From owner-freebsd-current@FreeBSD.ORG Fri Jan 4 01:35:52 2013 Return-Path: Delivered-To: current@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 446F57EA for ; Fri, 4 Jan 2013 01:35:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by mx1.freebsd.org (Postfix) with ESMTP id D9033220 for ; Fri, 4 Jan 2013 01:35:51 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id d13so6646938eaa.35 for ; Thu, 03 Jan 2013 17:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JVQQhd94TiVSWSbiundLbJgFbFd8kb0Hsl+sxXiDuZQ=; b=SF8Yhl8Z1GahxbGknxhWQ6hs8bq8kPCGisne1fW90EkZZWL4hROgS/kaB2x7vFf6zq M95nPtMOEPfzX36NTUFwSoVOoNYDbpdbu16TIPe142HDVWchD8lJqNELSWFbRFKTamcB 0DogkegZkasvwPE+dijsdPheeJmg6jaCufw7RAJTllyKNvMdtfPOv6xCpISykRyNsM/Y QP+fBcIuwdw0MYD+UGegLiQx0C9vffwrEw631RaJcqA4tGEjei4b5qbXkCg9vCL3xIUK Rwq0QlzYjkV79s6KuZZY4uqAgpNG5VbnR6QsLqoVOMluzwvfX6st85mAEgberUIkvZl8 tnYw== MIME-Version: 1.0 Received: by 10.14.176.66 with SMTP id a42mr138712638eem.34.1357263350589; Thu, 03 Jan 2013 17:35:50 -0800 (PST) Received: by 10.223.170.193 with HTTP; Thu, 3 Jan 2013 17:35:50 -0800 (PST) In-Reply-To: <50E612DA.8020704@rcn.com> References: <50E0BFA0.6070702@rcn.com> <50E476D3.2030609@rcn.com> <50E612DA.8020704@rcn.com> Date: Thu, 3 Jan 2013 17:35:50 -0800 Message-ID: Subject: Re: problem after installkernel going from 9.0 to CURRENT From: Kevin Oberman To: Robert Huff Content-Type: text/plain; charset=UTF-8 Cc: Warren Block , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 04 Jan 2013 01:35:52 -0000 On Thu, Jan 3, 2013 at 3:23 PM, Robert Huff wrote: > On 1/3/2013 11:40 AM, Warren Block wrote: >> >> On Wed, 2 Jan 2013, Robert Huff wrote: >> >>> (While this may not be a strictly CURRENT issue, I asked on >>> questions@, but have not found a solution.) >>> >>> Situation: >>> One of my boxes failed, and for various reasons it became easier >>> to just scrub and rebuild it. Like its predecessor it will run CURRENT >>> 1) Using BSDinstall, I flushed then created the first disk: >>> >>> ada2p1 freebsd-boot 128k >>> ada2p2 freebsd-swap 4g >>> ada2p3 freebsd-ufs 25g >>> >>> 5) On rebooting, the loader(??) claims to not be able to find a >>> bootable partition - i.e. I get a screen that ends in "mountroot > ". >>> Providing the presumptive value by hand returns "error 19". >> >> >> It really does not sound like a GPT problem, because 9.0 booted. > > > I don't (at the moment) think it's GPT caused; but I do think it may > be GPT related. > > > >> The >> -current kernel can't find/detect the device. Scrolling back in the >> console buffer might find a problem. buildworld/kernel/installworld do >> not affect the disk partitioning, but can change the code that looks for >> those partitions. > > > Exactly. I'm looking for help figuring out how the hand-off from > loader to kernel got broken and what I have to do to fix it. > One possibility: I believe I labeled each of the partitions during > the gpt creation process. Can I use those labels to (hopefully) by-pass > this issue? Yes! This is the current recommended way of doing it. > cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/gpt/swap none swap sw 0 0 /dev/gpt/root / ufs rw 1 1 /dev/gpt/tmp /tmp ufs rw 2 2 /dev/gpt/usr /usr ufs rw 2 2 /dev/gpt/var /var ufs rw 2 2 -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com