Announcement

Collapse
No announcement yet.

help reinstalling MBR

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help reinstalling MBR

    I had to reinstall win2k since I messed up the registry. This, ofcource, rewrote the master boot record and didn't include Linux as a OS choice.
    Now I don't have any way to boot linux that I know about.
    What I need help for is to make a boot floppy or cd that gets me into linux. Then I need to set up a new mbr with lilo or grub.

    Can any of you help me with one or the other??

    #2
    Re: help reinstalling MBR

    Goto http://gag.sourceforge.net/ and download the gag boot loader - it fits on a floppy and has bailed me out of problems in the past. You can either use it iin place of GRUB or to you can use it on the floppy . Either way you should "be In like Flinn" to either O/S.

    Comment


      #3
      Re: help reinstalling MBR

      I think one way would be to start from install cd, then mount the root partition somewhere, just an example :
      Ctrl+Alt+F2 (after choosing the language and keyboard)
      Press Enter (to enter in console as a root)
      mkdir /toto
      mount /dev/hda? /toto
      if /boot/grub doesn't exist create it by mkdir /boot/grub
      ln -s /toto/boot/grub/menu.lst /boot/grub/menu.lst
      grub-install

      Not sure, if it would work, I would do like this...

      Comment


        #4
        Re: help reinstalling MBR

        Well it's very easy.
        insert your kubuntu CD in your CD drive and boot from it. When prompted to press enter type rescue and press enter. After it finish booting, it will ask you couple of questions and then ask you to choose the root partition of you kubuntu installation to mount, After mounting this, you can re-install grub.
        cheers!
        -=|From the desk of|=-
        «•´`•.(*•.¸(`•.¸ ¸.•´)¸.•*).•´`•»
        «•´¨*•.¸¸whoiam55.¸¸.•*¨`•»
        «•´`•.(¸.•´(¸.•* *•.¸)`•.¸).•´`•»
        Reg. Linux User # 400637

        Comment


          #5
          Re: help reinstalling MBR

          Thanks for the quick responce!

          - I'm now writing from inside linux!
          whoiam55 - thanks for the hint about the rescue mode
          the only thing I didn't find 'very easy' was re-installing grub
          I used 'mkboot' and got myself a working boot disk, and thats enougth for now.
          I think I'll check out GAG. If its reliable and easy to install, then it will be printed into my MBR.

          Comment

          Working...
          X