On 2010-02-17 at 14:11:55 [+0100], PulkoMandy <pulkomandy@xxxxxxxxx> wrote: > >> More and more BIOs are looking for a partition table on usb sticks > >> instead > >> of just reading the MBR. So, it would be nice if Haiku On a Stick > >> allowed > >> to set such an MBR+partition on the disk as an option. > > Think that would be harder, Haiku On a Stick only takes a raw image and > > writes it on the disk with Flashnul, its' also written in C# so no low > > level access > > It's actually just a matter of prependig some bytes to the image and > changing some offsets as makebootable do. You can do it all before running > flashnul. To be precise, those bytes would be an MBR (boot code and partition table) and possibly some padding. I guess the best option is to extend the build system to optionally create images containing a partition table. CU, Ingo