Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4467 closed enhancement (invalid)

Building on Linux to partition does not set partition type to 'eb'

Reported by: PieterPanman Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All


When I use fedora (probably doesn't matter which linux I use) to build Haiku and install it to a partition ('disk' type in UserBuildConfig), the partition type does not get set. For example, I had created a fat32 partition to install haiku onto (so overwrite it), but the partition itself remains fat32 with a bfs filesystem.

In my case, partition sda6 and sda7 contain a bfs filesystem, but appear to be fat32 from the partition table.

[pieter@lappie trunk]$ fdisk -l /dev/sda

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x968f296b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       12000    96389968+   7  HPFS/NTFS
/dev/sda2           12001       26165   113780362+   7  HPFS/NTFS
/dev/sda3           26166       26191      204800   83  Linux
/dev/sda4   *       26192       38913   102189465    5  Extended
/dev/sda5           26192       33840    61440000   83  Linux
/dev/sda6           36901       37673     6209091    b  W95 FAT32
/dev/sda7           37674       37928     2048256    b  W95 FAT32
/dev/sda8           37929       38183     2048256    b  W95 FAT32
/dev/sda9           33841       36390    20482843+  83  Linux
/dev/sda10          36391       36900     4096543+  82  Linux swap / Solaris
/dev/sda11          38184       38209      204799+  83  Linux
/dev/sda12          38209       38913     5658623+  83  Linux

Change History (3)

comment:1 by bonefish, 11 years ago

Resolution: invalid
Status: newclosed

Won't change.

comment:2 by PieterPanman, 11 years ago

Ok, thanks anyway, I suppose you don't want to mess with the partition table more than necessary. :)

in reply to:  2 comment:3 by bonefish, 11 years ago

Replying to PieterPanman:

Ok, thanks anyway, I suppose you don't want to mess with the partition table more than necessary. :)

Yeah, not at all even. Currently we only touch the partition content. Haiku doesn't rely on the partition to have any particular type and other systems shouldn't bother either. So it's not really worth the hassle.

Note: See TracTickets for help on using tickets.