[haiku-bugs] Re: [Haiku] #4028: Hybrid GPT/MBR Initial Program Loader

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 06 Jun 2011 01:39:40 -0000

#4028: Hybrid GPT/MBR Initial Program Loader
   Reporter:  meianoite     |      Owner:  axeld
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  File Systems  |    Version:  R1/pre-alpha1
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All

Comment (by bonefish):

 Replying to [comment:14 meianoite]:
 > The compiled file generates a 512-byte long binary, of which we must
 take only 432 bytes. Is there a facility to clip the file size?

 In place: `truncate`, copy: `dd`

 > I can't really modify the source to stop at 432 bytes as Anyboot needs
 the whole file as a MBR template.

 It's not like the `anyboot` tool is closed source and couldn't be

Ticket URL: <http://dev.haiku-os.org/ticket/4028#comment:15>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: