From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 16:11:54 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B305510656C0 for ; Fri, 10 Dec 2010 16:11:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8CA8FC23 for ; Fri, 10 Dec 2010 16:11:54 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1PR5ZZ-000BSF-9V; Fri, 10 Dec 2010 19:11:53 +0300 From: Boris Samorodov To: Kurt Buff References: <84950898@bb.ipt.ru> Date: Fri, 10 Dec 2010 19:11:52 +0300 In-Reply-To: (Kurt Buff's message of "Thu, 9 Dec 2010 11:38:29 -0800") Message-ID: <36779191@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Questions Subject: Re: mountroot prompt in the middle of updating - can't get past it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 16:11:54 -0000 On Thu, 9 Dec 2010 11:38:29 -0800 Kurt Buff wrote: > On Wed, Dec 8, 2010 at 22:50, Boris Samorodov wrote: > > On Wed, 8 Dec 2010 11:49:41 -0800 Kurt Buff wrote: > > > >> All, > > > >> I have a Lenovo T61 with a 100g HD that I dual boot with FreeBSD > >> 8.0-STABLE amd64 and Windows XP. How and to which version did you upgrade? > >> FBSD is on ad0s2a, with ad0s2b as swap, and XP on ad0s1a. > > > >> Yesterday I booted up FBSD, started xfce4, started a terminal session, > >> su'ed to root and did the following - running a generic kernel: > > > >> # cd /usr/src > >> # make buildworld > >> # make buildkernel > >> # make installkernel > > > >> Then I exited xfce4, did sudo shutdown -r now, and got a mountroot > >> prompt that I now can't get past. > > > >> I can get to the loader prompt, and lsdev shows the following: > > > >>    cd devices: > >>    disk devices: > >>          disk0:     BIOS drive C: > >>             disk0s1: NTFS/HPFS > >>                 disk0s2a:  FFS > >>                 disk02sb:  swap Is it a typo? (seems should be "disk0s2b: swap" > >> when I use '?' at the mountroot prompt I get: > > > >>    List of GEOM managed disk devices: > >>       acd0 Hm, ad0s2a should be listed here. Seems that the new kernel doesn't detect a disk adapter. Your kernel config and may be helpful. BTW, dmesg for both successful and unsuccessful boot may give us some tips too. > >>    Loader variables: > >>    vfs.root.mountfrom=ufs:/dev/ad0s2a > >>    vfs.root.mountfrom.options=rw > > > >> I've tried entering the following at the mountroot prompt, with no success: > >>    ufs:/dev/ad0s2a That is the right one. > >>    ufs:/ad0s2a > >>    ufs:ad0s2a > >>    ffs:/dev/ad0s2a > > > >> and several other variations that I've found while googling, but no > >> success anywhere. > > > >> Does anyone have thoughts on how to remedy this? > > > > Just for the last question: > > Try to load an old kernel. (Type "boot /boot/kernel.old" at loader > > prompt.) > That worked... > I think I'll try the update process again. > Anything else you can recommend? -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve