From owner-svn-src-all@FreeBSD.ORG Fri Apr 25 02:20:03 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A51F1AA; Fri, 25 Apr 2014 02:20:03 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id 69CCE1CF1; Fri, 25 Apr 2014 02:20:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id 1CC8638056; Thu, 24 Apr 2014 21:12:12 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id R6NwPOP8Ztp5; Thu, 24 Apr 2014 21:12:12 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id 8205B38054; Thu, 24 Apr 2014 21:12:11 -0500 (CDT) Message-ID: <5359C47A.4060609@freebsd.org> Date: Thu, 24 Apr 2014 19:12:10 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Glen Barber , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r264907 - in head/release: amd64 i386 References: <201404250138.s3P1cvHn050580@svn.freebsd.org> In-Reply-To: <201404250138.s3P1cvHn050580@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 02:20:03 -0000 On 04/24/14 18:38, Glen Barber wrote: > Author: gjb > Date: Fri Apr 25 01:38:57 2014 > New Revision: 264907 > URL: http://svnweb.freebsd.org/changeset/base/264907 > > Log: > Refactor make-memstick.sh to avoid creating the 'dangerously > dedicated' partition scheme, reported to cause the memstick.img > to fail to boot. > > Similar to how make-memstick.sh worked on stable/8, use makefs(8) > to create the actual filesystem. Then calculate the size of the > resulting image file, create the GPT partition scheme, then dd(1) > the filesystem created with makefs(8) to the freebsd-ufs GPT > partition. > > This was tested on a known-working machine[1] for regression, and > a known-not-working machine[2] to ensure the boot issue has been > resolved. > > GPT may not be the best choice here. On a number of, in particular, Lenovo hardware, the BIOS will unconditionally boot with EFI from GPT media. I'm not sure we want to just swap the set of machines on which this will not boot. It probably needs to be nested MBR (or straight MBR -- I forget if that works) until the boot media work with EFI (which should be soon on -CURRENT). -Nathan