Author Topic: Redo-mbr..  (Read 792 times)

Offline OleWilly

  • Hero Member
  • *****
  • Posts: 911
  • Nothing endures but change.
Redo-mbr..
« on: June 26, 2011, 01:56:18 PM »
Hi

What would indicate that the command redo-mbr ought to be given or should be given ?

OW
Avoid the Gates of Hell. Use Linux.

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1889
  • MLU and BLU (Bacon lovin' user)
Re: Redo-mbr..
« Reply #1 on: June 26, 2011, 02:08:23 PM »
This usually happens on a dual-boot machine, when Windoze is (re-)installed after Linux. This overwrites the Grub entry and only lets you boot into W$. Or your boot information is screwed up so that you don't get your usual boot screen.

redo-mbr corrects this and rewrites the boot information into the mbr and everything is back to normal  ;)

Hope this helps!

Torsten
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11537
  • ----IOFLU----
Re: Redo-mbr..
« Reply #2 on: June 26, 2011, 02:21:41 PM »
Hi

What would indicate that the command redo-mbr ought to be given or should be given ?

OW

Once installed grub should not need to be reinstalled to the MBR unless another OS is installed and the PCLinuxOS grub is overwritten. This can be avoided by having subsequent Linux OS install their grub to the boot sector of their own / partition. One can then either copy the first stanza of the new OS's menu.lst to the PCLinuxOS's menu.lst, or create a chainloader stanza in the PCLinuxOS menu.lst as follows;

title <new OS>
root (hdn,n)
chainloader +1


Replace n with the hard drive number, and n with the partition number, remembering that grub starts counting at 0.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...