Page 24 of 26 FirstFirst ... 142223242526 LastLast
Results 231 to 240 of 255

Thread: HOWTO: Restore GRUB (if your MBR is messed up)

  1. #231
    Join Date
    Dec 2006
    Beans
    Hidden!

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    using this you boot live cd and then you can become root of the os and reinstall, update grub.
    start wiht number 4 as the others have to do with reinstalling the os.


    http://ubuntuforums.org/showthread.php?t=1326412&page=7

    Why not just install legacy grub?

    I just did one today like this:

    (1) Using the Live CD installer at the last step click on Advanced and choose not to install grub at all!

    (2) When installation is done don't choose to restart, rather choose to keep using the Live CD.

    (3) Since you just installed you should know the drive/partition # of your Karmic (or Lucid) so keep that in mind. If you have no idea the Boot Info Script should be helpful:

    http://ubuntuforums.org/showthread.php?t=1291280

    (4) From the Live Desktop run:

    Code:

    sudo mount /dev/sdXY /mnt

    (of course XY must represent your drive and partition #'s!)

    Then:

    Code:

    sudo mount --bind /dev /mnt/dev && sudo mount --bind /proc /mnt/proc && sudo mount --bind /dev/pts /mnt/dev/pts && sudo cp /etc/resolv.conf /mnt/etc/resolv.conf && sudo chroot /mnt

    You should notice that the command prompt changes from ubuntu@ubuntu$ to # which means you're now root in that OS. I like to be sure I am where I want to be with "cat /etc/issue" and "df -H".

    Then revert:

    http://ubuntuforums.org/showthread.php?t=1298932

    And when you're done:

    Code:

    sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt/proc && sudo umount /mnt

  2. #232
    Join Date
    Nov 2009
    Location
    Chennai, India
    Beans
    504
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    i jus get bootmbr missing, press ctrl+alt+del to restart no matter how much i play with the boot order... so i can hardly get to the live installation part
    I like to keep it respectful with OpenRespect
    I write at The Void Ghost and 2buntu

  3. #233
    Join Date
    Oct 2009
    Beans
    276

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Hi:

    I have a Dell duo-core with 2 gb of ram and a 500 gb hd.
    I was messing around with the partition copy in Puppy Linux and thought it would just create a file on a partition, instead it locked the partition.

    My machine has [had?} XP on the first partition then Ubuntu on the other three . Ubuntu 9.04 still works but I cannot open XP. Is there any way to fix that?

  4. #234
    Join Date
    Apr 2009
    Beans
    39
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Quote Originally Posted by nitstorm View Post
    i jus get bootmbr missing, press ctrl+alt+del to restart no matter how much i play with the boot order... so i can hardly get to the live installation part

    Have you tried to fix the MBR using a windows installation cd ? with the fixmbr dos command ? this is only a guess since i never had this problem before and each time i had any problems with the MBR while running Windows XP i've boot the machine into dos and use the "fixmbr" command available.

  5. #235
    Join Date
    Apr 2009
    Beans
    39
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Quote Originally Posted by frank cox View Post
    Hi:

    I have a Dell duo-core with 2 gb of ram and a 500 gb hd.
    I was messing around with the partition copy in Puppy Linux and thought it would just create a file on a partition, instead it locked the partition.

    My machine has [had?} XP on the first partition then Ubuntu on the other three . Ubuntu 9.04 still works but I cannot open XP. Is there any way to fix that?

    maybe try Puppy Linux to unlock it ?, this has nothing to do with Ubuntu, your problem is with Puppy Linux and Windows.

  6. #236
    Join Date
    Oct 2009
    Beans
    276

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Quote Originally Posted by _mikec_ View Post
    maybe try Puppy Linux to unlock it ?, this has nothing to do with Ubuntu, your problem is with Puppy Linux and Windows.
    Well it does have something to do with Ubuntu, it is the grub that is corrupt and the grub is in Ubuntu.

  7. #237
    Join Date
    Apr 2009
    Beans
    39
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    please post /etc/grub/grub.cfg

  8. #238
    Join Date
    Mar 2007
    Location
    Outer Milky Way
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Quote Originally Posted by RonKZ View Post
    avoid? hell, for a newbie prior to actually being booted into whatever distro, commandline is virtually impossible, it's plain wilderness stuff.
    These are cut and paste instructions, mate. Perhaps you should join Hare Krishna. They'll take care of you if you've had too many drugs to cut and paste.

    UbuntuGuide/KubuntuGuide

    Right now the killer is being surrounded by a web of deduction, forensic science,
    and the latest in technology such as two-way radios and e-mail.

  9. #239
    Join Date
    Aug 2008
    Beans
    45

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    This thread is too long and I cannot go through all posts. So I don't know if someone has already posted the fix.

    Anyway, I changed hard drives a few times and that gave me this error:

    error: biosdisk read error

    Inserting a floppy disk into the floppy drive made this error gone upon reboot but I could not boot from the boot menu (if everything works fine this boot menu should not have shown up) as it mis-identifies drives.

    The simplest fix is this...

    I booted from the Ubuntu 9.10 live CD and then chose the last item on the list - "Rescue a broken system" to repair the GRUB. It just tried to "Reinstall GRUB boot loader" although it failed to reinstall.

    Anyway, after this I could access the boot menu without the liveCD. I then picked to boot in rescue mode and then picked to update grub.

    Then I have no problem booting normally! So 9.10 liveCD does repair GRUB when you encounter booting problems. That is great!

    Ooops, I have problem rebooting again! Got to look for a fix

    Hmmm... I download Super Grub Disk iso file, burn it on a CD and boot from this Super Grub CD. I tried a few things with it and then I can boot again in the rescue mode and fixed the problem. Now I am OK now - Thanks to Super Grub!
    Last edited by margazhang; December 17th, 2009 at 11:33 AM.
    Aubrey @
    gain4you.net

  10. #240
    Join Date
    Dec 2009
    Beans
    1

    Unhappy Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Hi everyone, I think I'm having a similar problem. I need Help!! I had a triple boot (Vista/XP/Ubuntu) prior to 9.10 Update. Now my Vista desktop fails to load (solid blue screen) beyond password prompt since 9.10. My Ubuntu 9.10 & XP boots perfectly fine. XP is on secondary IDE HD. Vista & Ubuntu are on Primary 500GB SATA HD. Boot table appears to be normal. This setup was done by my brother who is now deployed overseas & I am a complete linux noob. Please help someone?? Anyone ???

Page 24 of 26 FirstFirst ... 142223242526 LastLast

Bookmarks

Posting Permissions

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