Jump to content

Recommended Posts

Posted

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.

Posted

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..

Posted

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....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...