Re: Boot Sector virus

On Sun, 24 Sep 2006 12:01:28 +0200, Runlevel0 <runlevel0@xxxxxxxxxxx>
Marek Kalisz wrote:

Recently during booting I discovered a momentary message: MBR Error 2.

First of all try repairing the MBR from the recovery console:


This will repair the MBR.

Yes... as long as you don't need a non-standard MBR to live...

YOu can also use FIXBOOT first, so that you ensure the MBR is actually
erased and rewritten.

No, that's not what FixBoot does.

MBR = Master Boot Record, which is system- rather than OS-level code
(i.e. it's an extension of the BIOS, rather than part of any OS). It
contains the partition table, and is expected to locate an active
primary partition and jump into it to start that OS.

PBR = Partition Boot Record, which is the start of the OS. It is
this, not the MBR, that FixBoot will rebuild.

MBR should be the same for a given system, irrespective of what OS you
use. Most systems use standard MBR code, but some may not - e.g. boot
managers, code that replaces capacity-limited BIOS HD code, etc.

PBR should be the same for a given OS, irrespective of the system,
save for some data values. The PBR for NT-based OSs will look for and
load NTLDR from FATxx or NTFS; the PBR for DOS and Win9x will look for
and load IO.SYS from the FATxx file systems it can understand.

------------ ----- --- -- - - - -
Drugs are usually safe. Inject? (Y/n)
------------ ----- --- -- - - - -

Relevant Pages

  • Re: bios - Re: GRUB problem (long, description of BOOT)
    ... No longer done by the disc controller. ... >>a BR, not an MBR. ... In the IBM PC architecture the master boot record, ...
  • Re: Boot Sector virus
    ... One of its option is Acronis Startup Recovery Manager ... master boot record with its own boot code. ... as long as you don't need a non-standard MBR to live... ...
  • Re: "Hard disk boot sector invalid"
    ... Compaq wanted to get around the fact that the "MBR" only allows 4 partitions on a drive, period (which has been the case from the original IBM PC-XT in 1982 to this day). ... You have some options when you do an install; you can use an existing partition or you can delete and/or create new partitions. ... But NONE of those actions replaces the MBR, which is a portion of the drive itself and not of any one particular partition (each partition has it's own boot record, but those are separate from the MASTER boot record). ...
  • Re: LILO with root-raid nightmare - please help.
    ... mbr of each disc in the raid1 array and not to the first sector of the raid1 partition. ... The default since version 22.0 has been to only write a boot record to the first sector of the raid1 partition, which for some reason didn't work for me. ... I still don't know why lilo wouldn't write a boot record to my raid partition, but things seem to work ok like this. ...
  • Re: [SLE] Grub loading Stage2 read error
    ... likely villain is the stage1 file, since that file sets up the reading for ... The stage 1.5 file can be in the sectors immediately following the MBR ... or in the boot record of the root partition. ... See "info grub", section on grub images for more detail. ...