Problems with makebootable

Hello,
I’m trying to install Haiku to a partition of an IDE drive from Linux and got some problems :

sudo jam -q
[...]
AddDirectoryToContainerCopyFilesScript beos/etc/licenses/-/data/etc/licenses 
InitScript1 generated/haiku.image-unzip-files 
BuildHaikuImage1 /dev/hda6 

Creating image ...
Partition::SetTo(): active: 80
Partition::SetTo(): active: 0
intel: _ParsePrimary(): partition 1: bad location, ignoring
Partition::SetTo(): active: 0
intel: _ParsePrimary(): partition 2: bad location, ignoring
Partition::SetTo(): active: 0
Error: Invalid partition index 6.
Populating image ...
Deleting old MIME database ...
Installing MIME database ...
Unmounting ...
...updated 309 target(s)...

So makebootable doesn’t seems to work (I tried to run “makebootable /dev/hda6” (after setting correctly LD_LIBRARY_PATH so it can find the required libs) and I got the same error message).
The hard drive was partitioned with fdisk v2.12r. (2 primary partitions + 2 logical)

Disk /dev/hda: 76.8 GB, 76869918720 bytes
255 heads, 63 sectors/track, 9345 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1868    15004678+   7  HPFS/NTFS
/dev/hda2            1869        7820    47809440   83  Linux
/dev/hda3            7821        9345    12249562+   5  Extended
/dev/hda5            7821        8319     4008186   82  Linux swap / Solaris
/dev/hda6            8320        9345     8241313+   b  W95 FAT32

(I also have some SCSI drives inside.)