Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2016 17:55:38 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: 1MB swap partition on 11.0 memstick (SOLVED)
Message-ID:  <20161105174914.T41537@sola.nimnet.asn.au>
In-Reply-To: <20161029034143.M13445@sola.nimnet.asn.au>
References:  <20161029034143.M13445@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161105174914.T41537>