From owner-freebsd-questions@freebsd.org Tue Mar 1 19:07:41 2016 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 941F8AC09DB for ; Tue, 1 Mar 2016 19:07:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5BB0518C9 for ; Tue, 1 Mar 2016 19:07:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-57-156.dynamic.qsc.de [92.195.57.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3873A3D0AB; Tue, 1 Mar 2016 20:07:30 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u21J7TYD002512; Tue, 1 Mar 2016 20:07:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 1 Mar 2016 20:07:29 +0100 From: Polytropon To: Bernt Hansson Cc: questions FreeBSD Subject: Re: boot code Message-Id: <20160301200729.3ff1501c.freebsd@edvax.de> In-Reply-To: <56D59C74.5070802@bananmonarki.se> References: <56D376F9.10207@bananmonarki.se> <20160228235850.5051e942.freebsd@edvax.de> <56D48D29.4060608@bananmonarki.se> <20160229194502.eebeabd6.freebsd@edvax.de> <56D58DF1.4060307@bananmonarki.se> <56D59C74.5070802@bananmonarki.se> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 19:07:41 -0000 On Tue, 1 Mar 2016 14:43:16 +0100, Bernt Hansson wrote: > > > On 2016-03-01 14:37, krad wrote: > > GPT is the way to go for future proofing and is backwards compatible in > > most cases. One addition this I would do is always add an EFI partition as > > well. Again this is for future proofing. > > > Gpt did not install the bootcode, mbr did. So MBR it is. Check the output of # fdisk ada1 and # bsdlabel ada1s1 and verify that it reflects the layout and configuration that you actually want. In worst case, erase the beginning of the disk and initialize it again. If deleting disk content is not an option - don't mind, installing boot code usually does not affect "real" data. Use MBR only if you have a specific need for it (which might be possible). Using GPT is advised today, but MBR will work in most cases - as GPT should, too, but other most cases. :-) You can also use # gpart show ada1 to see if there is a GPT partitioning going on (which fdisk and bsdlabel cannot deal with), just to be sure. You have two (three) ways of disk initialization in this thread and from the article of Warren Block. At least one should be working for you. Choose wisely. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...