[haiku-bugs] [Haiku] #5980: [DriveSetup] add a "FixMBR" command

  • From: "starsseed" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 May 2010 19:04:10 -0000

#5980: [DriveSetup] add a "FixMBR" command
-------------------------------------+--------------------------------------
 Reporter:  starsseed                |       Owner:  stippi   
     Type:  enhancement              |      Status:  new      
 Priority:  normal                   |   Milestone:  R1       
Component:  Applications/DriveSetup  |     Version:  R1/alpha2
 Keywords:  MBR                      |   Blockedby:           
 Platform:  x86                      |    Blocking:           
-------------------------------------+--------------------------------------
 When a disk already contains an Intel partition table, you can't write the
 boot code in the MBR (except to play with "dd" and a 'good' MBR)

 As a workaround, you must :[[BR]]
 -clean the MBR with DiskProbe ( write zeros to replace all the MBR
 content, especially the last 2 bytes).[[BR]]
 -reboot[[BR]]
 -create the partition table, create and format the partition.

 Since USB flash drives rarely have a working MBR boot code, the
 installation is very difficult for unexperienced users.

 [http://www.haiku-os.org/community/forum/bootable_usb]

 It's also a problem if you have multiple partitions on your disk.

 Then DriveSetup need a command "FixMBR" to write the boot code.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5980>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: