Bug 185449 - Installer creates multiple freebsd-boot partitions
Summary: Installer creates multiple freebsd-boot partitions
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2014-01-03 16:50 UTC by Peter
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2014-01-03 16:50:00 UTC
:#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.


Installer should detect if 'freebsd-boot' partition already exists and use that [?]
How-To-Repeat: Start install on an already existing system using GPT.
Delete only partition where you want to install, create new partition.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:24 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped