[openbeos] Re: Problems compiling haiku in ubuntu

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 23 Feb 2007 13:56:55 +0100

On 2007-02-23 at 08:47:34 [+0100], Stefano Ceccherini 
<stefano.ceccherini@xxxxxxxxx> wrote:
> 2007/2/22, Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>:
> > Yep. And kids: DON'T EVEN THINK ABOUT DOING THAT AT HOME!
> >
> > It's actually quite simple. The build system allows you to alter the name
> > and location of the image file created. You just have to adjust those
> > variables (HAIKU_IMAGE_NAME, HAIKU_IMAGE_DIR) to point to the device for 
> > the
> > partition you want to install Haiku on. You best do that in your
> > UserBuildConfig (again, have a look at UserBuildConfig.sample for
> > inspiration). You naturally have to run the jam installing Haiku as root 
> > (I
> > used to run the build first as normal user, which built everything, but
> > failed installing, and then again as root, so I didn't end up with lots of
> > files in the generated tree owned by root). And if you pick the wrong
> > partition, the DATA on that partition ARE TOAST!
> >
> > I haven't done this for quite a while, but I think it should still work.
> 
> Interesting. I usually build the image and then use dd to copy it to
> the target partition, but I guess this method is faster.

Probably not if you run jam twice, as proposed. The main advantage of 
directly using the partition is that BFS volume will use the whole partition 
and is not limited to the size you specify for the image. IIRC, at least. :-)

CU,  Ingo

Other related posts: