Installing Haiku to a partition and updating

Hi!

Has anyone managed to install Haiku to a partition from Linux and update it now and then (i.e. keeping settings and maybe files)?

My UserBuildConfig currently looks like this (comments are in Germany, ignore them if you don’t understand them ^.^):

## Installiert Haiku auf /dev/sdb2 HAIKU_IMAGE_NAME = sdb2 ; HAIKU_IMAGE_DIR = /dev ;

Loescht vorhandene Installation nicht; noch zu testen

#HAIKU_DONT_CLEAR_IMAGE = 1 ;

Alle verfuegbaren Pakete einbinden

#HAIKU_ADD_ALL_OPTIONAL_PACKAGES= 1 ;

As far as I know I tried all available jam-options, including update-image, and update-install, but either the system has been initialized freshly or it hasn’t been touched.

It maybe not possible since Linux isn’t able to read/write BeFS, but I don’t know if that matters…

A solution would be very appreciated. :slight_smile:

Same problem to me.
So I just use “dd” and “makebootable”.

Actually, you can just mount bfs in linux (it is called befs in linux because something else was already called bfs)

mkdir /haikuvol
mount -t befs /dev/sd?? /haikuvol

It is read only and probably not 100% stable. However, I was able to copy a syslog from a bfs partition from ubuntu.

http://www.mjmwired.net/kernel/Documentation/filesystems/befs.txt

What you could do is mount it, copy some files from it, zip them and have them restored as a copy action in the build process. Not sure what might happen with attributes though…