Opened 16 years ago

Closed 16 years ago

#2035 closed enhancement (invalid)

Disk Images should contain a Partition Table

Reported by: laplace Owned by: bonefish
Priority: low Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

Both haiku.image and haiku-vmware-image do not contain a partition table. In order to install bootman on the disk a partition table is needed. The first partition (with the BFS image) should start at sector 63. So there is enough space for the bootman boot loader between the MBR and the first partition.

Change History (7)

comment:1 by laplace, 16 years ago

The partition table should be added to haiku-vmware-image only, otherwise haiku.image could not be copied as it is over a real partition.

in reply to:  1 comment:2 by bonefish, 16 years ago

Replying to laplace:

The partition table should be added to haiku-vmware-image only, otherwise haiku.image could not be copied as it is over a real partition.

On the other you could want to have partitions under qemu. The solution is obviously that it should be a build option. I've already extended the tools (fs_shell and makebootable) to be able to consider only part of the given file as the target partition. To actually create an image with partitions we need a few more things though: A tool that writes the partition table, an MBR and a tool that writes it (dd probably will do), and modifications to the build system to configure whether partitions shall be used at all and how big the Haiku partition shall be.

It would be nice to have that, but at the moment I don't consider it high priority. If you want to test partition related stuff, you can create a second disk under VMware and partition it to your likings.

comment:3 by bonefish, 16 years ago

Milestone: R1/alpha1R1
Priority: normallow

comment:4 by axeld, 16 years ago

Besides testing, I don't really see much use in this - am I missing something?

in reply to:  4 comment:5 by laplace, 16 years ago

Replying to axeld:

Besides testing, I don't really see much use in this - am I missing something?

It would be for testing only.

in reply to:  3 comment:6 by laplace, 16 years ago

Replying to bonefish:

Understood. Having a real partition table would be more comfortable. As I want to write the bootman boot loader to the start of the first disk. Doing that on the second disk and testing it requires more manual work.

comment:7 by laplace, 16 years ago

Resolution: invalid
Status: newclosed

Closed ticket. It would be just for my convenience to test bootman implementing the enhancement is not worth the effort.

Note: See TracTickets for help on using tickets.