I’ve seen many strange things yet but this one was quite new for me: I have installed Fedora with an additional partition for Haiku. Hinting my ThinkPad x270 at boot-time to the Haiku partition shows the (usually optional) screen for selecting safe-mode and related options.
The bootloader can’t find any Haiku volume, but after navigating through the dialog and manual selection of the partition, i can continue the boot process and everything is working fine …
Did i missed something when i have prepared the drive and the partitions?
That’s the typical issue you get if your Haiku partition type isn’t set to BFS.
Formatting and the type that’s set in the partition table are two different things and both need to be set to BFS,but many people only format as BFS without taking care of the partition type.
The issue typically appears if you’re reusing a existing partition and format it as BFS.
Instead,delete the partition in DriveSetup and create a new one of type BFS if you don’t have much data stored there yet.
Unfortunately,changing the type of a existing partition isn’t supported by Haiku yet.
You can,however,change the partition type on Linux using fdisk, gdisk or a similar tool.
Thank you, nipos. Usually i take care of it in DriveSetup but this time i prepared the drive via Fedora to continue in Haiku/DriveSetup second. I’ll take a look!
Example for a GPT disk:
sudo gdisk /dev/nvme0n1
Then enter the following commands inside gdisk:
p
This displays the partition table. Note the number of the Haiku partition.
t
Select the partition whose type should be changed.
When asked for the partition number, enter the number of the Haiku partition, for example:
5
When asked for the new partition type code, enter:
EB00
EB00 is the GPT partition type for Haiku BFS.
Then enter:
w
This writes the modified partition table to disk.
Finally confirm the write operation with:
Y
Complete example, assuming Haiku is installed on partition 5:
sudo gdisk /dev/nvme0n1
p
t
5
EB00
w
Y
Be sure to replace /dev/nvme0n1 and partition number 5 with the correct disk and Haiku partition on your system. Changing only the partition type does not reformat the BFS filesystem.
WOW, massive thanks. You both hit the nail on the head. Lacking a BEFS option in Fedoras drive tool, I went with a different, incorrect one. It’s working perfectly now!