How to install Haiku into my physical hard drive?

Submitted by Artur on Tue, 2008-07-01 19:25.   Tags: 

Hi! I have download a hard disk image with Haiku and tried to run it in QEMU.But it was extremely slow on my old computer (Pentium II with 256 MB RAM), and even caused my Windows to stop responding. Is it possible to install Haiku from Linux by command: dd if=haiku.img of=/dev/hda4 and then chainload it from GRUB or NT Loader?

cb88
Submitted by cb88 on Sun, 2008-07-06 01:41.

Also for qemu make sure you have modprobed kqemu (only applies to linux for windows just install kqemu) or else it may not activate the acceleration layer for qemu and non of the code will run at native speed

i have a dual pentium 2 that will run haiku in qemu with only one cpu enabled in qemu and as far as i know it is not threaded but it does have 512mb ram as well.... natively it runs quite well on that PC

tonestone57
Submitted by tonestone57 on Sun, 2008-07-06 01:50.

Well, not quite.

If you dd to the entire drive, then yes, it'll work but since you dd to a partition you'll need to run BeOS or Haiku's makebootable command. Otherwise you can't boot the partition.

Check this out for some extra info:
http://www.haiku-os.org/community/forum/boot_haiku_natively

Edit:
It's better if you can get Haiku to run natively but if you can't then maybe these tips will help it run better in Qemu.

Try running qemu -m 96 ( Haiku itself takes about 70MB for me, so you really can't go less than 96MB; Qemu defaults to 128MB ) - that should help a little by leaving 160MB for Linux to run in - hopefully you have a Linux swap file too.

Also, make sure kqemu is working because that'll help speed it up.

256MB system RAM is really not enough memory to run virtual machines in :-)

Shagron
Submitted by Artur on Tue, 2008-07-08 15:58.

But if dd it to flash drive? But my bios can not boot from USB media, is it possible to start bootloader and load kernel from cd disk, and then mount a flash drive as root?

tonestone57
Submitted by tonestone57 on Tue, 2008-07-08 16:27.

Read this thread for installing Haiku to USB Flash Drive:
http://www.haiku-os.org/community/forum/how_to_install_haiku_to_usb_flas...

It also tells you how to boot from USB with PLoP Boot Manager. Doesn't matter if your BIOS does not support USB booting.