From owner-freebsd-questions@freebsd.org Sun Oct 2 08:11:12 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 21DF1AC6880 for ; Sun, 2 Oct 2016 08:11:12 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (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 0304B11B for ; Sun, 2 Oct 2016 08:11:11 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id u928B64r086616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 2 Oct 2016 01:11:07 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id u928B6su086615; Sun, 2 Oct 2016 01:11:06 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA18025; Sun, 2 Oct 16 01:09:53 PDT Date: Sun, 02 Oct 2016 01:09:45 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: wblock@wonkity.com, smithi@nimnet.asn.au Cc: dpchrist@holgerdanske.com, freebsd-questions@freebsd.org Subject: Re: FreeBSD-10.3-RELEASE-i386-memstick.img installer changes contents of USB flash drive Message-Id: <57f0c0c9.aH6Qfxjv0CNrmPcI%perryh@pluto.rain.com> References: <20160929014801.W6806@sola.nimnet.asn.au> <20161001235138.N6806@sola.nimnet.asn.au> In-Reply-To: <20161001235138.N6806@sola.nimnet.asn.au> User-Agent: nail 11.25 7/29/05 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 08:11:12 -0000 Ian Smith wrote: > And then Perry Hutchinson (cc'd) is having the 'opposite' problem of > wanting to update the 10.3 i386 memstick he'd booted off with gpart > recover and gpart add for another partition, apparently successfully > according to gpart show, only to have the updates disappear on reboot? Actually, it's weirder than simply having _all_ changes to the GPT disappear on reboot: the disappearances are selective. Changes made to the GPT by 'gpart recover', and labels added to existing partitions on the memstick using 'gpart modify -l', survive reboots; but a new partition, created in the free space at the end of the memstick by 'gpart add', does not survive reboot (whether or not it is defined with a label). Setting the foot-shooting flag: # sysctl kern.geom.debugflags=16 does not help.