Dual boot with Devuan Linux, patitioning, Grub2 bootloader


#1

Hi there!
I show you my new “project” and would be very glad for every shred of advice… :slight_smile:
First: I’m completely new to Haiku. I was intrigued, downloaded a Nightly Build for x86_64 and it
just worked out of the box when using the live-cd!
So the computer I want to install Haiku to has the following layout:
There are two hds, the first one with an installation of Windows Vista (therefore NFTS-filesystem) and
also a installation of Grub2 in the MBR to start my main OS on the second hd: Devuan Linux.
I don’t need Vista any longer, my plan is to use the first harddisk for a fresh install of Haiku.
Point is: from what I read, it is recommended to do the partitioning BEFORE the actual installation
of Haiku. How would I do that??? Using Gparted, ok; but what patitions do I need for Haiku?
Also I don’t want to corrupt my Grub2 in the MBR of the first hd… :unamused: Any suggestions?
Thank you! :stuck_out_tongue_winking_eye:


#2

Haiku only needs a single partition. Just use gparted to format it as FAT32, then when you install Haiku, reformat it to BFS.

Your grub2 should be left alone if you don’t install the Haiku bootmanager, but it is a topic that others have commented on. Just search for “grub” in this forum. Make sure you have another way to boot linux, just in case!


#3

Hello,

you can look at the besly.de.
There is a Tutorial for Grub2 in English and german.
http://besly.de/menu/search/archiv/sys/haiku_grub2_eng.html
http://besly.de/menu/search/archiv/sys/haiku_grub2_de.html

lorglas


#4

Hi @michel,
thank you for your information! I will post, when it´s done… :grin:


#5

Thank you, @lorglas,
looks like a tutorial even I could follow… :relieved:
Greetings


#6

Hi there,
It’s a old post but didnt see any clear answer and both links provided bt the otehr users are not avilable anymore.
Did you manager somehow to dual boot devuan & haiku?I’m actually trying the same with debian

cheers


#7

those links have been moved to an archive

http://old.besly.de/index.html?/menu/search/archiv/sys/haiku_grub2_eng.html
http://old.besly.de/index.html?/menu/search/archiv/sys/haiku_grub2_de.html


#8

Thanks but it didnt fix my problem, unable to dual boot haiku over a debian linux which is what i’m intending
I tried to look for some post but they are either too old or not exactly what i need


#9

The instructions are in Haiku installer welcome text. Or you can just follow the instructions for dual booting windows, the process is the same


#10

Grub Legacy (aka Grub 1) configuration:

title Haiku
root (hdX,Y) # Replace X and Y with relevant values of disk and partition number (both start with 0).
chainloader +1

Grub 2 configuration

menuentry Haiku {
set root=’(hdX,msdosY)’ # X starts with 0, Y with 1
chainloader +1
}


#11

The instructions didnt work for me unfo. Pls ee attached my partition scheme, unable to guess what im doing wrong


#12

Can you try keep your things in one thread please?


#13

my things are covered by both therads someone startup time ago, actually as I’m requesting help for DUAL BOOT LINUX and GRUB2. You can just disregard them


#14

(I modified my previous comment - missed a line).

Your configuration for GRUB2 would be:

menuentry Haiku {
set root=’(hd0,msdos4)’
chainloader +1
}

Additionally, you can use GRUB2 interactively as a shell. When you are presented with GRUB2 menu, just press ‘c’ button to enter the shell. After that, you can manually write all the commands between braces one by one and see GRUB2 answers to ensure you selected BFS partition to boot. You can also press TAB key for autocomplete. This is useful to see what partitions exist on the selected disk. After the last command, just issue one more command to go on:

boot