From owner-freebsd-questions@freebsd.org Sat Nov 5 06:55:44 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 D5296C31F11 for ; Sat, 5 Nov 2016 06:55:44 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (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 4CB1F9D5 for ; Sat, 5 Nov 2016 06:55:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id uA56tdP0091120 for ; Sat, 5 Nov 2016 17:55:39 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 5 Nov 2016 17:55:38 +1100 (EST) From: Ian Smith To: freebsd-questions@freebsd.org Subject: Re: 1MB swap partition on 11.0 memstick (SOLVED) In-Reply-To: <20161029034143.M13445@sola.nimnet.asn.au> Message-ID: <20161105174914.T41537@sola.nimnet.asn.au> References: <20161029034143.M13445@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Sat, 05 Nov 2016 06:55:44 -0000 On Sat, 29 Oct 2016 03:57:35 +1100, Ian Smith wrote: > G'day, > > root@x200:~ # mdconfig -lv > md0 vnode 700M > /home/smithi/FreeBSD-11.0-RELEASE-amd64-memstick.img > root@x200:~ # gpart show -p md0 > => 3 1433741 md0 GPT (700M) > 3 1600 md0p1 efi (800k) > 1603 125 md0p2 freebsd-boot (62k) > 1728 1429968 md0p3 freebsd-ufs (698M) > 1431696 2048 md0p4 freebsd-swap (1.0M) > > What is the 1.0M swap partition for? Is it needed by bsdinstall? > > I have an MBR-scheme sliced memstick using boot0 with that md0p3 dd'd to > da0s2a which boots fine, but have only run it as 'Live CD' and have not > run the installer, but am wondering if a) that swap partition is really > needed and if so, b) what can usefully be done with 1MB of swap .. I tried again on freebsd-stable@ where Glen Barber pointed me towards https://svnweb.freebsd.org/base?view=revision&revision=265017 So that 'vestigial' 1M swap partition is a workaround for some BIOS/s that wouldn't boot under GPT with the UFS partition last. No worries. FTR, cheers, Ian