From owner-freebsd-questions@freebsd.org Wed Sep 12 01:24:49 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB12E10A4F0D for ; Wed, 12 Sep 2018 01:24:48 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87081932A7 for ; Wed, 12 Sep 2018 01:24:48 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by mail-ua1-x92f.google.com with SMTP id m26-v6so267771uap.2 for ; Tue, 11 Sep 2018 18:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7Sf/4EA5lLTIvvSZKwBZ1Tyj+SCrigTcrznTGyAH314=; b=NfSI0S662UKFkbYagIvU8s1Y1+fYob8phFNmVQ4VBPyToQ3KrYJa6315TL1CFZOCpi fIw8f3G7jqMw3bC52sBshDNbv1/S10fbMjQCYz7KMymEZF+3QeKAloHZgJG+yZatMeaq p31S6Ix8QC9uhZnQ3N0QpJVLFRpopCgWZKmO32MmLPteiTTgyb9ujaDZhNgMZ+UIt5xC wcZTOvZ4UkUhhqJxriQ92jWPcmgr1/U63LjhzVO6k5pZRixlkz2686OUy9fMh/1cbm59 dLKoHAAjX8b6m4H6/ZfrHSV20RzvMKHwvrqxbbsRyw5sMwaeeAttY7jR/qY2E1Gp1xGV pQ6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7Sf/4EA5lLTIvvSZKwBZ1Tyj+SCrigTcrznTGyAH314=; b=m/xv4yiwcTdECmmTqUJespeX8SKWdWLvzGV3+Rwas6LMMFTcA7ZOWBZ5wASWbQOAfa b4V8vGOk21P+PYR3GI/BUN6x0DNQJsOCTAMJ5+Pj+eJ4ux7LyXHra69BOKd5+zIXz+5q 0iJN3GlUVKjeLyB1Q9FAzXRXdIoMYwBH2e1JDleO+ZVVW5Ws5aQL15bKourgE2fE3hng ShRDX1SJd3Km1k73gKw7ThNab3TTbPGficpy0vU4BKRc4o6pMoZ4eLljcC7zkjrZuf8H X1dHjzvzxdHHLEOqsiQOJhnTpoIliTwsmoN9QH455N0LsNU7MrymGG98Io71ZBAZtCIN tSfQ== X-Gm-Message-State: APzg51DlAXolXtgJA/qjnttdee4308086k0obZK/17KqwQ4pQ39OO02k Qdc3BJRObNw0s4UUe+ZBfcSTuHy0QSHbf/YX6GQ= X-Google-Smtp-Source: ANB0VdZRSBcPUM6X0K2ESp6pXVr2ap2kmTzQTeFc19D+kRUdpv9VA1clS/ReTcNRzzFVPcIxwY814O8poe4+Cka4W9I= X-Received: by 2002:a67:3c13:: with SMTP id j19-v6mr9675147vsa.104.1536715487955; Tue, 11 Sep 2018 18:24:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rick Miller Date: Tue, 11 Sep 2018 21:24:38 -0400 Message-ID: Subject: Re: HELP upgrade 10.3 to 11.2, now it won't boot! To: wfdudley@gmail.com Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2018 01:24:49 -0000 On Tue, Sep 11, 2018 at 8:27 PM William Dudley 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: > : [options] > Mount using filesystem > 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