Bug 105828 - provide fixmbr command
Summary: provide fixmbr command
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: PC All
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Torsten Duwe
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 13:06 UTC by Ludwig Nussel
Modified: 2016-04-15 09:01 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2005-08-19 13:06:48 UTC
AFAIK windows has a fixmbr command which just replaces the mbr with a generic   
one (like fdisk /mbr in DOS), in case some other os has overwritten it. It  
would be nice if we had a similar simple way to do that in a default  
installation/rescue system.
Comment 1 Alexander Graf 2007-09-25 12:23:50 UTC
Wouldn't master-boot-code be like this? You could simply do a

dd if=/usr/lib/boot/master-boot-code of=/dev/sda

and should have a working generic mbr again.
Comment 2 Ludwig Nussel 2007-10-01 11:28:27 UTC
If that's all that's needed the wrapper script would be quite simple then :)
Comment 3 Christoph Thiel 2008-04-18 11:49:58 UTC
*ping*?
Comment 4 Torsten Duwe 2010-04-13 12:41:48 UTC
1.22 submitted to OBS.
Comment 5 Bernhard Wiedemann 2016-04-15 09:01:53 UTC
This is an autogenerated message for OBS integration:
This bug (105828) was mentioned in
https://build.opensuse.org/request/show/37861 Factory / master-boot-code