HAIKU (Alpha) - Tips and Tricks

System: BeOS, Haiku, Zeta

HAIKU is the try to develop a BeOS r5 from ground up new. The project starts past Be.Inc get bankruptcy with the work title Open BeOS and is like ZETA a try to get BeOS alive. Differently than ZETA, which is developed and driven out on commercial way, Haiku is Open Source.

 

Index

- Change size of HAIKU Test Image - Make HAIKU Image bootable
- Copy HAIKU from Imagefile to a
  harddisk
 



 

Change size of HAIKU Test Image

Everyone who dont want to see the development status of HAIKU only, get the problem that the image size is to small to include other files.

To do this under BeOS or Zeta is a little bit pedantically but easy. Download a Haiku image file and unpack it. Past this open the terminal and mount the image file using following commands:

mkdir /Haiku

mount /path/to/Imagefile  /Haiku


- With "mkdir /Haiku" we create a imaginary folder in order to mount the image file into it.

- With "mount /path/to/Imagefile /Haiku" we mount the image file into the imaginary folder /Haiku.

At the Desktop you see a new icon named HAIKU (this is the imagefile). Open the Imagefile and copy all files into a folder on your system.



Use a empty folder, because so you dont mix any other files with the haiku system files.

Unmounten the image file like a real harddrive, right click on the mouse and selecting unmount.

Now we creating a bigger imagefile as the haiku one. You can use a tool like BFS Image Creator (Zeta) or the terminal.

We want to explain you the terminal solution. Open the Terminal and type following commands:

dd  if=/dev/zero of="Pfad/Zur/Imagedatei/Dateiname"  bs=1024  count="Dateigröße"


- With the command dd and the informations if=/dev/zero we create a imagefile at position (of) "Path/to/Imagefile/fileame".

With bs we set the blocksize, here the standard size 1024. At count we enter the size we want to have for the new imagefile (size in kb).

Finaly we inizialice the image file with the BFS filesystem:

mkbfs 2048  "Pfad/Zur/Imagedatei"

sync


- We use the command mkbfs (make BFS) to inizialice the image file with the BFS filesystem and set the blocksize to 2048.

- Then we use the command sync to finalize the image file.

So we have created a bigger image file as the HAIKU one. We mount the new imagefile like the image file of HAIKU before.

Open the folder with the HAIKU files and the image file and copy all file into the new image file.



When all files copied into the imagefile, unmount it.

If you want to burn the image file on a cd, in order to start the system from it, you need to make the image file bootable.

Back to Index


 

Make HAIKU Image bootable

If you need to make a Haiku imagefile bootable, open the terminal and type following commands:

makebootable "Path/to/Imagefile/Filename"


- With the command makebootable we make a BFS image bootable.

- With "Path/to/Imagefile/filename" you declare the target image file.

Back to Index


 

Copy HAIKU from Imagefile to a harddisk

To test HAIKU with a emulator is easy, but you get some problems if you want to test anything directly on the hardware. A second problem is that you never get the real speed of the system.

We want to show you, how you can copy HAIKU to a harddisk using BeOS or ZETA.

First we need to create a partition with a partitions manager. You can use DriveSetup that is included in BeOS or ZETA. If you dont want to use DriveSetup you can use other Software for this (some of them are Paragon Partition Manager for Windows or GParted for Linux).

If you need to resize a used partition, dont use DriveSetup, because you will lost all data from that partition or harddisk.


You need for the HAIKU system the BFS filesystem. To initialice that partition you can use DriveSetup too. This will be declare in the DriveSetup Tutorial too, but this one is only in german.

If you named the new partition "Haiku" you need to unmount it, because you dont can mount several drives with the same name. We named the partition for this tutorial "Haiku OS".

Download a Haiku imagefile and unpack it. If you have done this open the Terminal and enter following command:

mkdir /Haiku

mount /path/to/Imagefile /Haiku


- With "mkdir /Haiku" we create a imaginary folder in order to mount the image file into it.

- With "mount /pfad/zur/Imagedatei /Haiku" we mount the image file into the imaginary folder.

Now you can see the icon of the mounted haiku image on the Desktop. Open the image file and copy all files into a folder on you system (here: /boot/home/Desktop/Haiku).



If you have copied all files, "unmount" the imagefile.

Finally mount the Haiku partition, or if you have already mount it, open it. Copy all files from the folder with the haiku files to the partition.



To start Haiku you need to install a bootmanager. If you have a bootmanager, add the haiku partition into it. If you dont have a bootmanager installed, use the Bootman (terminal: bootman). Here you can find a tutorial about it: (Tutorial (german)).

Restart your system and run Haiku.

Back to Index


Translation by Christian Albrecht (Lelldorin) November 2007
Tutorial by Christian Albrecht (Lelldorin) March 2007
Made available by BeSly, the BeOS, Haiku and Zeta knowledgebase.