Date: Fri, 10 Dec 2010 19:11:52 +0300 From: Boris Samorodov <bsam@ipt.ru> To: Kurt Buff <kurt.buff@gmail.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: mountroot prompt in the middle of updating - can't get past it Message-ID: <36779191@bb.ipt.ru> In-Reply-To: <AANLkTi=8KPAECMPNfxgMMuC3r8eX%2Bh1ByQtX=_eqUyix@mail.gmail.com> (Kurt Buff's message of "Thu, 9 Dec 2010 11:38:29 -0800") References: <AANLkTin8vGQCnCQa2q_r5n%2BFg9vOTAyEwP68BMacdeYu@mail.gmail.com> <84950898@bb.ipt.ru> <AANLkTi=8KPAECMPNfxgMMuC3r8eX%2Bh1ByQtX=_eqUyix@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Dec 2010 11:38:29 -0800 Kurt Buff wrote: > On Wed, Dec 8, 2010 at 22:50, Boris Samorodov <bsam@ipt.ru> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36779191>