Opened 9 years ago

Last modified 6 years ago

#5980 assigned enhancement

[DriveSetup] add a "FixMBR" command

Reported by: starsseed Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/DriveSetup Version: R1/alpha2
Keywords: MBR Cc: planche2k@…
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

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 :
-clean the MBR with DiskProbe ( write zeros to replace all the MBR content, especially the last 2 bytes).
-reboot
-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.

Change History (4)

comment:1 by andreasf, 9 years ago

Cc: planche2k@… added

comment:2 by mmadia, 9 years ago

#5595 "implement cli application : writembr" is somewhat related.

comment:3 by siarzhuk, 6 years ago

Owner: changed from stippi to siarzhuk
Status: newassigned

Going to publish this as GCI 2013 task.

comment:4 by siarzhuk, 6 years ago

Owner: changed from siarzhuk to nobody

It looks like too hot for GCI teens. Sorry. :-\

Note: See TracTickets for help on using tickets.