From owner-freebsd-questions@freebsd.org Wed Sep 12 01:28:27 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 08B1710A500E for ; Wed, 12 Sep 2018 01:28:27 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (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 90F1E933A7 for ; Wed, 12 Sep 2018 01:28:26 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yb1-xb30.google.com with SMTP id y20-v6so175823ybi.13 for ; Tue, 11 Sep 2018 18:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Z7IINYx/kcPMcY6ozk6n5XemqbTDMm/WKHLhm9xPt/c=; b=rbIJt9FARVVerVkzEMlyJlP9Z7FpXPLY0pGG6iiYDckC4Lx9a8+CtTCHELkYWLZ9E6 TgPv7Qr7JXnr1rt9XhVUuUlez0eLRLyA9IBOk9d+kBNVsxy8cGNCZiCbOd9SJYU90SyB QOB/lNrvxB+a9OaNUnNdEWTm1YJygC0Sj6BTo0e1F7grHVkngqJW+xbLG3mmUTcbEF81 NR90avHUtA8iWYi/9ZfOMC5vTEK7v0LvOJ7rB3+ClLHfv3KR8SGD5OLOJ8gwU78yWzCp wIZgs41G8XCL7q6FrnU9aMQcMP9kZb21+89pFk4oQFmtIv4pfN3f/IrZ/pCf5w5V+zwG /wqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Z7IINYx/kcPMcY6ozk6n5XemqbTDMm/WKHLhm9xPt/c=; b=XQtvd6kGdcF4pKMWU71Hn8hIdDsJ4TrHc4BfdrQXdPBa5U6r6770GZBycpT3SWPtuT jECLscdaRu3fPd54+0k7gcpFjPXPFragtZfetZwH8Fr4GJf2D2ZEE8DHGleozeLrYda0 p8PqvZ0nXvQId68frZrI1ydXSBIKXaZfzSxjZ8nj3jMNNK8OZIAzYDJKg8TwNG8iCm/7 /2VLMUULPeUFvVAdN4fC9eantfLrvVV+cP3iqzIdb5+zoS9pctclg/LDeS+hlHeddSh5 rTOzI8+ND0Dzw3Vv540Zo9oO1F5p5FnQE4Nx4jdq99hMMNTGSSSg1bQicl+f2NRGE5Hg XXgQ== X-Gm-Message-State: APzg51CihOcaezQcGTIWz3HUnUeaunhd74/mJKq20x3it3RrvhkUzdDY oINpszIcCUHvLtuCO2ad6xYfWq/5SHlDrOuraJB1HA== X-Google-Smtp-Source: ANB0VdbbGORK/recO1GOTf0KPTyRzQoAJ4tUS4R3lv0o5dhhQDb5nn1GXvnv6Lzynua8fHhx84eW01+54V5DWIK6QhM= X-Received: by 2002:a0d:e283:: with SMTP id l125-v6mr13850004ywe.242.1536715705881; Tue, 11 Sep 2018 18:28:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:9003:0:0:0:0:0 with HTTP; Tue, 11 Sep 2018 18:28:25 -0700 (PDT) In-Reply-To: References: From: William Dudley Date: Tue, 11 Sep 2018 21:28:25 -0400 Message-ID: Subject: Re: HELP upgrade 10.3 to 11.2, now it won't boot! To: Rick Miller 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:28:27 -0000 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. Thanks, Bill Dudley This email is free of malware because I run Linux. On Tue, Sep 11, 2018 at 9:24 PM, Rick Miller wrote: > > > 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 >