Date: Tue, 11 Sep 2018 21:58:18 -0400 From: William Dudley <wfdudley@gmail.com> To: Rick Miller <vrwmiller@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: HELP upgrade 10.3 to 11.2, now it won't boot! Message-ID: <CAFsnNZJY45_H%2BjBH9gfcM1Nu6h2Lnr-Kck2Sa7MG-%2B75TksueQ@mail.gmail.com> In-Reply-To: <CAHzLAVGM7AbC=rEq6RCeuHDT5-AJ2tHwgFHsPygtJCyMoPjY4Q@mail.gmail.com> References: <CAFsnNZLG3dUyG54qq_WUpLXAYQWSyWkyLET9EGHO1%2Bvy=p67FQ@mail.gmail.com> <CAHzLAVFNpa4WjVQSwqJJ9q9V0S8b5qBCDVbLjMFNR8Bhi2f89g@mail.gmail.com> <CAFsnNZKu5aitRc=WLsuR-3ZMrvyxko%2BEWmUq5C8tbH_gy=6fTA@mail.gmail.com> <CAHzLAVGM7AbC=rEq6RCeuHDT5-AJ2tHwgFHsPygtJCyMoPjY4Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rick, The problem was that my root partition had an "old" name: /dev/ad0s1a, instead of the "new" name, /dev/ada0s1a. I booted a live CD and fixed it, and now it's booting. That scared the crap out of me. I'm not running ZFS -- I try to be as conservative as possible, not wanting to get bitten by experimental new tech. So the boot drive is PATA, UFS. I have a gmirror running on some SATA drives where the data is actually stored. Thanks very much for your help -- you had the answer. If you're ever in central New Jersey, let me buy you a beer. Or equivalent. Bill Dudley This email is free of malware because I run Linux. On Tue, Sep 11, 2018 at 9:52 PM, Rick Miller <vrwmiller@gmail.com> wrote: > > > On Tue, Sep 11, 2018 at 9:28 PM William Dudley <wfdudley@gmail.com> wrote: > >> This was a straight upgrade using freebsd-upgrade. I don't do source >> builds anymore, since freebsd-upgrade was "reliable". >> >> What is the boot loader expecting to find in /etc/fstab ? >> >> I can boot live media and fix that, if I know what to change it to. >> > > The device for / in /etc/fstab must be valid. Do you know your partition > layout? The device in fstab must be the device with root. Check the devices > returned from '?' at the mountroot prompt. Unfortunately, the circumstances > surrounding our experiences with this error are quite different and fixing > the two are different. > > Is this ZFS? Are there options to boot an alternate kernel? Tried that? > Failing that, boot to external media to verify and validate /etc/fstab. > > >> Thanks, >> Bill Dudley >> >> >> >> This email is free of malware because I run Linux. >> >> On Tue, Sep 11, 2018 at 9:24 PM, Rick Miller <vrwmiller@gmail.com> wrote: >> >>> >>> >>> On Tue, Sep 11, 2018 at 8:27 PM William Dudley <wfdudley@gmail.com> >>> wrote: >>> >>>> I started the upgrade from 10.3 to 11.2. >>>> >>>> I followed all the instructions and all "looked OK" until I got to >>>> the reboot. >>>> >>>> Now the system won't boot. >>>> >>>> copied from a photo of the screen: >>>> >>>> Mounting from ufs:/dev/ad01e failed with error 19. >>>> >>>> (something)dev variables: >>>> (something)ufs.root.mountfrom=ufs:/dev/ad0s1e >>>> (something)ufs.root.mountfrom.options=rw >>>> >>>> (something)ual root filesystem specification: >>>> <fstype>:<device> [options] >>>> Mount <device> using filesystem <fstype> >>>> and with the specified (optional) option list. >>>> >>>> e.g. ufs:/dev/da0s1a >>>> zfs:tank >>>> cd9660:/dev/cd0 r0 >>>> >>>> and obviously, more stuff intended to be helpful printed below that. >>>> >>> >>> Ugh! This error is the bane of my existence! AFAIK, mountroot() error 19 >>> means the root filesystem cannot be found. vfs.root.mountroot, which is >>> expected to contain the root filesystem, is derived from /etc/fstab unless >>> explicitly defined in loader(8)*. Theoretically, you can boot to whatever >>> root filesystem you may have by defining vfs.root.mountfrom at this prompt. >>> >>> Entering '?' at this prompt outputs a list of geom managed disk devices. >>> The root filesystem is expected to be on one of these. >>> >>> It's unclear how the upgrade was attempted (e.g. freebsd-update(8) or >>> source update). I've observed this error most when PXE booting bootonly >>> media, never during an OS upgrade. >>> >>> You may be able to resolve it by booting the system to external media >>> and mounting the disk with the root filesystem and modifying /etc/fstab. >>> >>> * https://twitter.com/hostileadmin/status/1035887403821686784 >>> >>> -- >>> Rick >>> >> >> > > -- > Take care > Rick Miller >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJY45_H%2BjBH9gfcM1Nu6h2Lnr-Kck2Sa7MG-%2B75TksueQ>