Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse] Do we have anything similar to Debian's mbr package?
There is a package named master-boot-code. It includes the file
/usr/lib/boot/master-boot-code which is the DOS mbr boot code that can be used
by Windows. The file is 512 bytes, the length of the mbr including its
partition table; but the bytes where the table resides at the end are empty.
This is the file that YaST uses if the user selects the option to have "generic
boot code" installed to the mbr. All that is required is to copy the the first
440 bytes to the first sector of your target disk with a utility like dd.

The package also includes the program /usr/sbin/fixmbr. AFAICT it does that
copying for you, like the various Windows mbr fix programs. The syntax is
simply "fixmbr <disk>" (w/o quotes).

On Friday, October 05, 2012 11:35 PM j.e.perry@xxxxxxx wrote:
I'm trying to set up a Virtualbox VM that will run Windows in a raw
partition. After several readings of
nux and similar pages, I'm almost ready to try it, but I can't find
anything in the suse environment like the mbr package in Debian. Indeed,
one questioner gave up on mbr and hacked his own method -- which I'm
neither able nor willing to do.

Is anything available to me here at suse?

John Perry
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >