Re: bugs in memstick GPT table, and in gpart(8)

2016-12-26 Thread Ian Smith
On Mon, 26 Dec 2016 19:39:23 -0800, Perry Hutchison wrote: > Ian Smith wrote: > > On Sun, 25 Dec 2016 17:03:46 -0800, Perry Hutchison wrote: > > > ... > > > The 10.3-RELEASE-i386-memstick has the smallest possible GPT table > > > (one sector), three GPT table entries

Re: bugs in memstick GPT table, and in gpart(8)

2016-12-26 Thread Perry Hutchison
Ian Smith wrote: > On Sun, 25 Dec 2016 17:03:46 -0800, Perry Hutchison wrote: > > ... > > The 10.3-RELEASE-i386-memstick has the smallest possible GPT table > > (one sector), three GPT table entries (boot, rootfs, & swap), and > > hdr_entries == 3 in the GPT header ... > >

Re: bugs in memstick GPT table, and in gpart(8)

2016-12-26 Thread Ian Smith
On Sun, 25 Dec 2016 17:03:46 -0800, Perry Hutchison wrote: > Some months ago: > > > I dd'd FreeBSD-10.3-RELEASE-i386-memstick.img to a 4GB flash drive, > > and booted it into single-user mode where it appeared as da0. Then, > > to resize the GPT to the media (to make space for another

bugs in memstick GPT table, and in gpart(8)

2016-12-25 Thread Perry Hutchison
Some months ago: > I dd'd FreeBSD-10.3-RELEASE-i386-memstick.img to a 4GB flash drive, > and booted it into single-user mode where it appeared as da0. Then, > to resize the GPT to the media (to make space for another partition): > > # gpart show da0 > # gpart recover da0 > # gpart show da0 > >