From owner-freebsd-questions@freebsd.org Thu Sep 7 21:18:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E620FE10702 for ; Thu, 7 Sep 2017 21:18:18 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp4.cretaforce.gr (smtp4.cretaforce.gr [94.130.75.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AB81740B9 for ; Thu, 7 Sep 2017 21:18:17 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp4.cretaforce.gr (Postfix) with ESMTPS id 5A059120977 for ; Fri, 8 Sep 2017 00:08:54 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 2D5982732F for ; Fri, 8 Sep 2017 00:08:54 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Message-Id: <594809E2-86A5-4EFE-A17B-41C62F563CAC@cretaforce.gr> Date: Fri, 8 Sep 2017 00:08:52 +0300 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 21:18:19 -0000 Finally the problem is not related to this server. I did a fresh install = in another server "that didn't have the same issue" and it finally has = the same issue. As you can see in my previous messages I install bootcode in first disk = while in mfsbsd 11.0: gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada0 and when I finish the installation and reboot in FreeBSD 11.1 I install = the bootcode for 2nd disk: gpart bootcode -b /boot/pmbr -p /mnt/boot/gptboot -i 1 ada1 This way the problem exist. But if I install bootcode for both disks while in mfsbsd 11.0 then I can = boot from both disks: gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada0 gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada1 So my conclusion is that I can install the bootcode during the = installation from mfsbsd 11.0 but not from freebsd 11.1 The mfsbsd version is: FreeBSD rescue 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu = Sep 29 01:43:23 UTC 2016 = root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 But if I don't install the bootcode on 2nd disk during the installation = from mfsbsd and after the installation boot on mfsbsd again and run: mount /dev/ada0p2 /mnt gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada1 then it doesn't boot from second disk. So the question is why it works if I install bootcode during the = installation using mfsbsd but not after I reboot back in mfsbsd?