Difference between revisions of "How to Build Haiku in Haiku"
From Richard's Wiki
Line 1: | Line 1: | ||
− | To follow these instructions you will need a USB key you are willing to destroy, and a USB Disk drive with a few tens of Gig storage. | + | To follow these instructions you will need a USB key you are willing to destroy, and a USB Disk drive with a few tens of Gig storage, that you are also willing to destroy. |
Assumptions: | Assumptions: |
Revision as of 18:57, 1 August 2009
To follow these instructions you will need a USB key you are willing to destroy, and a USB Disk drive with a few tens of Gig storage, that you are also willing to destroy.
Assumptions:
- You are running Windows
- You can burn a CRDROM
- Your machine can boot from USB
- You have a dedicated USB key that can be dedicated to Haiku
- You have a dedicated USB disk drive with a few 10's of Gig you can use for Haiku
Strategy: The idea is to first create a bootable USB key with a nightly Haiku bootable image on it. Use this to create a bootable USB disk drive, with separate partitions for Haiku system, and Haiku source code. As more functional nightly builds appear over time, the idea is to install the latest nightly build of Haikuu onto the system partition on the disk drive, leaving the Haiku source code partition intact.
Instructions:
- Follow these instructions to create a bootable USB key, by downloading the latest nightly build (I use the pre-alpha GCC4 images), and using flashnul to write it to your USB key. How to install Haiku to USB Flash Drive from Windows
- Create a bootable CDROM with GParted (linux partition editor) on it. Easiest way is to get it from http://gparted.sourceforge.net/livecd.php
- Boot your GParted live CD and partition up your USB hard disk. I created three primary partitions (unformatted) - a boot partition of 128Meg, then two partitions of 5 Gig each, and left the rest of the drive unallocated (to allow for an extended partition later). The idea will be to put the Haiku boot manager bootman onto the boot partition, the first 5 Gig partition will be the system partition, and the second 5 Gig partition will be used to contain the source code and build Haiku.