[haiku-bugs] Re: [Haiku] #9916: DriveSetup does not see other hard drives so cannot setup Haiku partitions

  • From: "HAL" <trac@xxxxxxxxxxxx>
  • Date: Thu, 15 Aug 2013 23:35:55 -0000

#9916: DriveSetup does not see other hard drives so cannot setup Haiku 
partitions
-------------------------------------+-------------------------------------
   Reporter:  HAL                    |      Owner:  bonefish
       Type:  bug                    |     Status:  new
   Priority:  blocker                |  Milestone:  R1
  Component:  Partitioning           |    Version:  R1/Development
  Systems/Intel                      |   Keywords:  DriveSetup drives
 Resolution:                         |  absent missing
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+-------------------------------------

Comment (by HAL):

 Replying to [comment:9 starsseed]:
 > The haiku's installer wrote the '''partition''' boot record, however it
 never touches the MBR.
 > When you (re)installed an intel partition map on your disk, the disk
 manager didn't wrote the "MBR Boot code" because the firsts sectors of
 your disk were not completely blank. (we don't want to overwrite an
 existing one if any)
 >
 > it seems that your MBR boot code is a M$Mindows specific one, and you
 need a standard one to be able to boot Haiku.
 > You can find a small tool here (here)
 > [http://starsseed.free.fr/fixmbr.zip]
 I tried that. It functioned without giving any errors but when I rebooted
 into the Haiku partition it gave a different error from before: "Invalid
 signature"

 >
 > alternatively, You can copy the Haiku's MBR from the anyboot image with
 a command like:
 >
 > {{{
 > dd if=/anyboot.img of=/dev/disk/usb/…/…/raw bs=440 count=1
 > }}}
 >
 > NB : adapt the « if » and « of » parameter to your file/drives.
 I trired that command aswell, it gave the same error.
 >
 > PS : your partition must be flagged "active" in the partition table
 because the MBR boot code need to know where is the bootable volume.
 In DriveSetup the Haiku partition is marked as active.
 Anyway thanks for the help.
 ps: I used Mint Linux before when I wrote the Haiku entry into the grub
 menu. I did this with the file /etc/grubd/40_custom. The entry I put in
 there was:
 menuentry "Haiku {
 set root=(hd2,1)
 chainloader +1
 }

 This is the path to the disk and partition in DriveSetup:
 /dev/disk/ata/2/slave/raw and /dev/disk/ata/2/slave/0
 In gparted it is /dev/sdc1

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

Other related posts: