redxine Posted August 3, 2009 Posted August 3, 2009 So I was experimenting trying to get grub on a flash drive from ubuntu 8.10 when I accidentally ran: install-mbr /dev/sda instead of on /dev/sdb. Now when I boot up all I get is a 'prompt' that reads 'MBR' initially and then changes to 'MBR: FA:' a few seconds later. Does anyone know how I can restore the original boot record? Grub seems to be fine and isn't really the problem here - just the master boot record needs to be pointed in the right direction. Anyways if I can't get it I'll probably reinstall. Thanks in advance. Quote
Myk3 Posted August 3, 2009 Posted August 3, 2009 I would just boot off a linux disk (ubuntu) and just re-install the MBR from it.. it will automatically detect the OSs you have installed and might even see your grub config.. Quote
redxine Posted August 3, 2009 Author Posted August 3, 2009 Never mind - I guess I just thought about it wrong. Never really thought that grub was part of the master boot record; I imagined it was the thing that was booted by the boot record. A simple '# grub-install --root-directory=/media/disk /dev/sda' fixed the problem. I thought It was just the MBR that changed.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.