misc/185449: Installer creates multiple freebsd-boot partitions
Peter K
fbsdq at peterk.org
Fri Jan 3 16:50:00 UTC 2014
>Number: 185449
>Category: misc
>Synopsis: Installer creates multiple freebsd-boot partitions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 03 16:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Peter K
>Release: 10.0-RC4
>Organization:
>Environment:
10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec 31 17:10:01 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
:#gpart show ada0
=> 34 3907029101 ada0 GPT (1.8T)
34 128 1 freebsd-boot (64K)
162 8388608 2 freebsd-ufs (4.0G)
8388770 20971520 3 freebsd-swap (10G)
29360290 3877668844 4 freebsd-ufs (1.8T)
3907029134 1 - free - (512B)
ada0p2 had FreeBSD 9 amd64 on it, installing FreeBSD 10 RC4 amd64 to ada0p2
ada0p4 is my 'data' partition left untouched.
During install if I delete my OS partition [ada0p2], then create partition, the installer complains that I'm missing freebsd-boot even though ada0p1 is never touched - I have two options, let it create or "ignore";
If I say create, then I have two 'freebsd-boot' partitions
If I say ignore, I did not test of it will still use the original 'ada0p1' freebsd-boot partition, but there should still be no error.
I had to delete both ada0p1 and ada0p2, and then the installer correctly created freebsd-boot on ada0p1 and freebsd-ufs on ada0p2.
Any way to get the installer to detect an already existing freebsd-boot partition to use? This threw me off for a second only, but I can see where many will say 'create' and will have a new freebsd-boot partition created on each reinstall.
>How-To-Repeat:
Start install on an already existing system using GPT.
Delete only partition where you want to install, create new partition.
>Fix:
Installer should detect if 'freebsd-boot' partition already exists and use that [?]
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list