Is it possible? I want to quad boot but the other partitions are used by Windows FreeBSD and ArchLinux, I could ditch ArchLinux but if it is possible I could keep it.
In order for the Haiku bootloader to "discover" your Archlinux partition, grub needs to be istalled on the same partition on which Archlinux resides.
FreeBSD and I think Windows should be discovered. Alternatively, you can use grub to boot all four.
menuentry 'Peppermint, with Linux 3.2.0-33-generic' --class peppermint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root eae6bd75-158b-4556-9ea3-43e0bdd37bde
linux /boot/vmlinuz-3.2.0-33-generic root=UUID=eae6bd75-158b-4556-9ea3-43e0bdd37bde ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-33-generic
}
menuentry 'Peppermint, with Linux 3.2.0-33-generic (recovery mode)' --class peppermint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root eae6bd75-158b-4556-9ea3-43e0bdd37bde
echo 'Loading Linux 3.2.0-33-generic ...'
linux /boot/vmlinuz-3.2.0-33-generic root=UUID=eae6bd75-158b-4556-9ea3-43e0bdd37bde ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-33-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Fedora release 17 (Beefy Miracle) (on /dev/sda3)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 6249091b-7038-4dae-9e81-0fba4e67a595
linux /boot/vmlinuz-3.6.7-4.fc17.x86_64 root=/dev/sda3
initrd /boot/initramfs-3.6.7-4.fc17.x86_64.img
}
menuentry "Haiku (on /dev/sda4)" --class windows --class os {
insmod part_msdos
insmod befs
set root='(hd0,msdos4)'
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
EDIT
Quote:
In order for the Haiku bootloader to "discover" your Archlinux partition, grub needs to be istalled on the same partition on which Archlinux resides.
I should say that Haiku won't consider your Archlinux partition "bootable" even though it should discover it.
If you are using grub2 in Archlinux, you won't be able to install it on a partition, but if you first mount the Haiku partition then run "sudo update-grub" the Archlinux os-prober should add the Haiku menuentry to /boot/grub/grub.conf.
Comments
Re: Running Haiku from logical partition?
Just boot it from USB? Its plenty fast that way... and it doesn't write alot to the flash so its fairly safe.
Re: Running Haiku from logical partition?
yes, HAIKU is capable of running on a logical partition. I do it myself and use BootManager.
Re: Running Haiku from logical partition?
In order for the Haiku bootloader to "discover" your Archlinux partition, grub needs to be istalled on the same partition on which Archlinux resides.
FreeBSD and I think Windows should be discovered. Alternatively, you can use grub to boot all four.
menuentry 'Peppermint, with Linux 3.2.0-33-generic' --class peppermint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root eae6bd75-158b-4556-9ea3-43e0bdd37bde
linux /boot/vmlinuz-3.2.0-33-generic root=UUID=eae6bd75-158b-4556-9ea3-43e0bdd37bde ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-33-generic
}
menuentry 'Peppermint, with Linux 3.2.0-33-generic (recovery mode)' --class peppermint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root eae6bd75-158b-4556-9ea3-43e0bdd37bde
echo 'Loading Linux 3.2.0-33-generic ...'
linux /boot/vmlinuz-3.2.0-33-generic root=UUID=eae6bd75-158b-4556-9ea3-43e0bdd37bde ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-33-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Fedora release 17 (Beefy Miracle) (on /dev/sda3)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 6249091b-7038-4dae-9e81-0fba4e67a595
linux /boot/vmlinuz-3.6.7-4.fc17.x86_64 root=/dev/sda3
initrd /boot/initramfs-3.6.7-4.fc17.x86_64.img
}
menuentry "Haiku (on /dev/sda4)" --class windows --class os {
insmod part_msdos
insmod befs
set root='(hd0,msdos4)'
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
EDIT
In order for the Haiku bootloader to "discover" your Archlinux partition, grub needs to be istalled on the same partition on which Archlinux resides.
I should say that Haiku won't consider your Archlinux partition "bootable" even though it should discover it.
If you are using grub2 in Archlinux, you won't be able to install it on a partition, but if you first mount the Haiku partition then run "sudo update-grub" the Archlinux os-prober should add the Haiku menuentry to /boot/grub/grub.conf.
Re: Running Haiku from logical partition?
THANK YOU ALL! It was actually simpler than I tough: