Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: about mbr

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    about mbr


    two years ago i install for the first time linux on a slave hd, in the master hd i had windows, in a few months i was using only linux but , thanks to the flexibility of the system i just gave proper format to the master disk and use it as my /home. i didn't take in account the fact tat the mbr in the master disk was just redirecting the booth process to the mbr of the slave disk, yesterday i lend my linux disk, and the system at startup just showed a message saying that there were no grub. of course there were no grub it left with my disk!!.
    i am going to overwrite the mbr with the windows loader ntldr, what i want to know is : once my linux disk is back, how can i restore the former mbr to use grub?.
    Thanks in advance

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,879
    So now the hard drive that was a slave is now the master?
    Do you have a linux install disk?
    With that you should be able to boot into your system and do this as root

    grub-install /dev/hda

    Don't do the fixmbr thing, if you do it will be much harder to get grub back.

    http://new.linuxforums.org/tutorials...ial-19999.html
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  3. #3
    no, the slave disk was always slave, but it is the disk where i have linux on. if i don't do the fixmbr thing, how can i temporary use the windows loader while i get back my linux hd?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,879
    The slave disk where you have linux on, why don't you just make it the Master and then install Grub to the mbr from there.

    What distro is this?

    The instructions for putting grub back on the mbr depend on what distro this is.
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •