Skip to content

Document that GhostBSD and FreeBSD must not share a disk - #98

Merged
ericbsd merged 2 commits into
masterfrom
freebsd-ghostbsd-conflict
Sep 18, 2026
Merged

ericbsd merged 2 commits into
masterfrom
freebsd-ghostbsd-conflict

Conversation

@ericbsd

@ericbsd ericbsd commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

GhostBSD uses the FreeBSD UEFI loader. When both systems are installed on the same disk, that loader can boot the existing FreeBSD installation instead of GhostBSD, even when GhostBSD is selected in the firmware boot menu or in rEFInd.

Add warnings to the installation guide and custom installation guide, a troubleshooting entry for the "selecting GhostBSD boots FreeBSD" symptom with recovery steps, and an FAQ entry pointing to both. The Polish translations receive the same additions.

Related to ghostbsd/issues#247

Summary by Sourcery

Warn users to install GhostBSD and FreeBSD on separate disks and provide guidance for preventing and recovering from incorrect UEFI boots.

Enhancements:

  • Document that GhostBSD and FreeBSD must be installed on separate disks because their shared UEFI loader can boot the wrong system.
  • Add troubleshooting guidance for recovering systems where selecting GhostBSD boots FreeBSD, including data backup and boot-loader repair steps.

Documentation:

  • Add English and Polish warnings to the installation guides, a FAQ entry, and troubleshooting guidance covering GhostBSD and FreeBSD disk-sharing limitations.

GhostBSD uses the FreeBSD UEFI loader. When both systems are installed
on the same disk, that loader can boot the existing FreeBSD installation
instead of GhostBSD, even when GhostBSD is selected in the firmware boot
menu or in rEFInd.

Add warnings to the installation guide and custom installation guide,
a troubleshooting entry for the "selecting GhostBSD boots FreeBSD"
symptom with recovery steps, and an FAQ entry pointing to both. The
Polish translations receive the same additions.
@ericbsd
ericbsd requested review from a team as code owners September 18, 2026 21:19
@sourcery-ai

sourcery-ai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

The documentation now warns that GhostBSD and FreeBSD must be installed on separate disks because their shared FreeBSD UEFI loader can select the wrong system, provides recovery guidance for the resulting boot symptom, and extends the guidance to Polish documentation and the FAQ.

Flow diagram for shared-disk UEFI boot behavior

flowchart TD
    A["Firmware menu or rEFInd selects GhostBSD"] --> B["Shared FreeBSD UEFI loader starts"]
    B --> C["Loader searches the boot disk"]
    C --> D["Existing FreeBSD may boot instead"]
    D --> E["Install GhostBSD on a separate disk"]
    E --> F["Dual-boot with Windows or Linux remains supported"]
Loading

File-Level Changes

Change Details Files
Document the incompatibility of installing GhostBSD and FreeBSD on the same disk and recommend separate disks.
  • Add warnings to the main and custom installation guides.
  • Explain the shared UEFI loader and why rEFInd or firmware selection may still boot FreeBSD.
  • Clarify that Windows/Linux dual-boot remains supported and recommend ZFS boot environments for multiple GhostBSD versions.
user/installation-guide/installation-guide.md
user/installation-guide/installation-guide-pl.md
user/installation-guide/custom-installation.md
user/installation-guide/custom-installation-pl.md
Add troubleshooting guidance for installations where selecting GhostBSD boots FreeBSD.
  • Add English and Polish symptom-focused troubleshooting entries.
  • Describe the shared-loader behavior on UEFI systems.
  • Recommend using a live USB to retain one system or move GhostBSD to a separate disk.
user/installation-guide/troubleshooting.md
user/installation-guide/troubleshooting-pl.md
Add an FAQ entry linking users to the relevant installation and troubleshooting documentation.
  • State that GhostBSD and FreeBSD must not share a disk.
  • Summarize the loader limitation and supported alternatives.
  • Link to the custom installation and troubleshooting guides.
user/FAQ.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="user/installation-guide/troubleshooting.md" line_range="61" />
<code_context>
+
+Install GhostBSD on a separate disk. Dual-boot with Windows or Linux on the same disk is supported.
+
+If both are already on one disk, boot from the GhostBSD live USB and keep only one of the two systems on that disk, or move GhostBSD to its own disk.
</code_context>
<issue_to_address>
**issue:** The recovery guidance only tells users to “keep only one” system or move GhostBSD, without explaining how to identify and remove the conflicting installation, restore the GhostBSD loader, or preserve the desired system. A user who follows it still cannot recover an existing GhostBSD installation without guessing at destructive disk operations.

**Triggers:** When both systems are already installed on one disk and the user wants to retain GhostBSD or both installations.

**Suggested fix:** Provide concrete recovery steps, including backing up data, identifying the GhostBSD and FreeBSD partitions, removing or relocating one installation, and reinstalling or repairing the GhostBSD boot loader.

```suggestion
If both are already on one disk, boot from the GhostBSD live USB and back up all data from both installations to an external disk. Use `gpart show` and the partition labels and filesystems to identify the GhostBSD and FreeBSD partitions; mount candidate partitions read-only if necessary and verify their contents before making changes. Remove the FreeBSD installation by deleting only its partitions, or relocate one installation to another disk, while preserving the desired system and its data. Finally, use the GhostBSD installer to reinstall or repair the GhostBSD boot loader, then reboot and verify that GhostBSD starts.
```
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: user/installation-guide/troubleshooting.md:61


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread user/installation-guide/troubleshooting.md Outdated
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
@ericbsd
ericbsd merged commit facd050 into master Sep 18, 2026
1 check passed
@ericbsd
ericbsd deleted the freebsd-ghostbsd-conflict branch September 18, 2026 21:47
@github-project-automation github-project-automation Bot moved this from In Review to Done in Documentation Management Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants