From owner-freebsd-questions@freebsd.org Tue Oct 2 06:33:35 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 5050810B8BC2 for ; Tue, 2 Oct 2018 06:33:35 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC7AB7E40B for ; Tue, 2 Oct 2018 06:33:34 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (unknown [IPv6:2a01:5c0:e090:44f1:21b:21ff:fe7b:3468]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id AED00541E for ; Tue, 2 Oct 2018 08:33:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1538462012; bh=tje/yLyZg5QgImeLTXb+8CF/QHRdv/wpDOXsRDnjXvE=; h=Subject:To:References:From:Date:In-Reply-To; b=kbB8NwcZ4C1KiPYwVyLVb0oBmH2aJqfaq9x0YpmJM0v5Gtvezy3L+r8YZrE/QCJe7 Si38p5c73WZQjK+ww8UCw5Lwx/3rPqsi/bK9HuvTcYlelG6sYd8Sg47A4LX2ZJ5gnz XL+LW6b4vul6fYxsEhAUvYOiiVuMaYI6zYlhVsKM= Received: from [192.168.0.87] (072-135-067-156.ip-addr.inexio.net [156.67.135.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 0D64121DA18 for ; Tue, 2 Oct 2018 08:33:31 +0200 (CEST) Subject: Re: 11.2 cannot boot with root on ZFS To: freebsd-questions@freebsd.org References: <7415d752-21ab-a397-f90b-afe9945b2585@fechner.net> From: Matthias Fechner Openpgp: preference=signencrypt Message-ID: Date: Tue, 2 Oct 2018 08:33:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Tue, 02 Oct 2018 06:33:35 -0000 Am 06.08.2018 um 21:10 schrieb doug: > I have an amd64 ZFS install from the USB file taking all the defaults. > Here's what my disk looks like: > > =>        40  1953525088  ada1  GPT  (932G) >           40      409600     1  efi  (200M) >       409640        1024     2  freebsd-boot  (512K) >       410664         984        - free -  (492K) >       411648     4194304     3  freebsd-swap  (2.0G) >      4605952  1948917760     4  freebsd-zfs  (929G) >   1953523712        1416        - free -  (708K) > > mount_msdosfs /dev/ada1p1 /mnt > cd /mnt/efi/boot/ > ls -l > total 385 > -rwxr-xr-x  1 root  wheel  393216 Apr 16 10:12 BOOTx64.efi > -rwxr-xr-x  1 root  wheel      12 Apr 16 10:12 startup.nsh > > cat startup.nsh > BOOTx64.efi I played around and I found a solution, that maybe helps someone else too: I installed now a virtual machine with MFSBSD and upgraded it using freebsd-update. Upgrade was successfully done, I copied the boot folder to the PC the upgrade is failing, modified the loader.conf and reboot is fine now. It seems that freebsd-update damaged each time the boot folder while doing the upgrade which causes it to fail on rebooting the new kernel. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook