Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Howto: Easy GRUB Bootloader Repair without external media

  1. #11
    Join Date
    Mar 2006
    Location
    Palo Alto, CA
    Beans
    1,226
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Easy GRUB Bootloader Repair without external media

    Note that the following 2 utilities are also available, which may work better than the outdated build used in this guide:

    UNetbootin (this will install Super Grub Disk by selecting it from the Distributions drop-down box)
    Auto Super Grub Disk

  2. #12
    Join Date
    Jan 2010
    Beans
    5

    Re: Howto: Easy GRUB Bootloader Repair without external media

    Help newbe struggling to get Ubuntu back after Xp install. When I install the grub fix program and select Unetbootin I get "Windows cannot start..... cannot read from selected boot disk."


    Xp boots ok if I select it.
    here is my drive info

    sda
    sda1 boot ntfs
    sda2 extended
    sda5 Linux Swap/Solaris

    sdb sdb1 boot ntfs

    I do not see the Linux partition for Ubuntu. Maybe I lost it when I installed XP. So if I re-install Ubuntu will I still have XP or do I need to start over... installing each OS to its own drive with the other one disconnected?

    wingryder

    Last edited by wingryder; January 18th, 2010 at 05:46 AM.

  3. #13
    Join Date
    Sep 2007
    Beans
    20

    Re: Howto: Easy GRUB Bootloader Repair without external media

    hey I need some help.

    I have had an error within vista that has caused my dvd rom to bonk out on me.

    I have fully installed and updated windows vista on a separate partition using a flash drive.
    I then ran unetbootin to fix the grub install, only to have it wipe out the vista boot ability all I get is a /boot/bcd error.

    I have tried to find a way to fix the error within /media/boot/bcd from within ubuntu as thats all I have working now. But no luck.

    Can anyone help here? with no DVD drive I have no way I can find to fix this within ubuntu.
    And to make matters worse, booting with a USB drive wont run the repair feature. I dont know why.
    Last edited by ydeardorff; January 31st, 2010 at 06:08 AM.

  4. #14
    Join Date
    Nov 2006
    Location
    Virginia
    Beans
    51
    Distro
    Kubuntu

    Exclamation Re: Howto: Easy GRUB Bootloader Repair without external media

    I am using a Aspire One with Windows 7 and Ubuntu 9.10. I guess something happened to my grub menu file and now it wont boot. It just boots to the grub command prompt. I tried to use the above method to make a bootable SD card so that I can install Super Grub Disk and fix it, but no matter what I install on any card and boot from it on my computer it throws the prompt:

    BOOTMGR is missing
    Press Ctrl+Alt+Del to restart

    What now? Anyone know why it is doing this? I installed 9.04 just fine with this program and same setup before with no problems

    Note: I am using the Windows version of UNetbootin from my wife's Windows 7 Aspire One.
    Last edited by NacIK; April 22nd, 2010 at 03:49 AM.

  5. #15
    Join Date
    Jul 2010
    Beans
    63

    Re: Howto: Easy GRUB Bootloader Repair without external media

    Quote Originally Posted by tuxcantfly View Post
    Purpose

    Let's say you've just reinstalled Windows, and are up and running fine, only you can't boot your Ubuntu install anymore because Windows has wiped out GRUB, the bootloader needed to boot Ubuntu. If you're a seasoned Linux guru, you'll instantly whip out your collection of recovery disks and hammer out a few commands to restore GRUB; however, if you're simply an average user who hasn't memorized the commands required to restore GRUB, don't have the necessary liveCDs or can't boot them, or simply want to avoid the command line, this guide will help you easily restore GRUB.

    Requirements

    A bootable Windows install; any version from 98 to Vista will work.
    Note: An existing install of a modern Linux distro (Ubuntu, Fedora, etc) will also work (same instructions, just use the deb/rpm/sh package on the download page), though this guide focuses on Windows.

    What this Does (technical details)

    When you run the .exe file, it modifies your Windows bootloader to provide an option to load GRLDR from GRUB4DOS. GRLDR, in turn, loads a floppy image containing the Super Grub Disk bootloader repair utility via Memdisk. This way, it loads the floppy image into RAM and boots from it, allowing you to start up the GRUB recovery tool and repair/restore your GRUB install. Afterwards, upon the next Windows bootup, the utility uninstalls itself and removes the extra menu entry for loading the Super Grub Disk image from Windows, thus leaving you with only a standard dual-boot GRUB configuration between Windows and Ubuntu.

    Instructions

    1. Download the latest Windows (.exe) version of UNetbootin

    2. Run the .exe file, select "Super Grub Disk" in the distribution selector box and press OK, wait as Super Grub Disk is downloaded and installed, then reboot:



    3. Upon the next bootup, you'll see 2 boot menu entries: One for Windows, and below it, one labeled UNetbootin-supergrubdisk.



    Select the UNetbootin-supergrubdisk boot option, press enter, and it will present you with the Super Grub Disk interface.

    4. Select the default options ("Super Grub Disk with Help" and "English Super Grub Disk") on the first 2 prompts, press enter a few times after that to accept the license terms and see the instructions, then you'll get to a page titled "English Super Grub Disk (Help)":



    Select the first option, "GNU/Linux".
    Press enter a few times again to scroll through the instructions, and you'll see a menu titled "GNU/Linux (Help)":



    Select the first option, "Fix Boot of GNU/Linux (GRUB)". Now it will ask you to specify which Ubuntu install's GRUB bootloader to restore. Given that you likely only have 1 install, select the first among the options; it should have an entry under "OS" titled either "Boot" or "Ubuntu":



    5. Now, you'll be presented with a success screen, and can now reboot. Do so, and upon the next reboot, the GRUB menu should now show up and you should again be able to dual-boot between Windows and Ubuntu.

    However, the next time you boot Windows, should you want to remove the second menu entry generated by UNetbootin for loading the Super Grub Disk, simply select yes when prompted "Are you sure you want to remove UNetbootin?" after logging in to remove UNetbootin, and that'll undo the Windows bootloader changes so you're left with only GRUB and a standard dual-boot setup.

    Credits/More

    The Super Grub Disk can also be used for various other purposes; for a description of its more advanced options and functionality see the documentation on the site. UNetbootin, which also supports liveUSB creation and no-CD installations of Ubuntu and various other distros, was created by me, the other tools used (Super Grub Disk, GRUB4DOS, Memdisk) were created by their respective authors. Feel free to post a question if you have issues with the loader (UNetbootin) itself, but if it's a general Super Grub Disk bug, make sure to report it on the Super Grub Disk site.


    I found a sgd file that was an executable and was about 5mb in size. Do i just use UNetbootin to boot with this like i would with any linux distro? My use of this would be to fix the boot grub after i wipe win7 partition and install xp on it; so i would then be able to boot xp and ubuntu without wiping all and starting over again.
    SGD will repair the grub?

  6. #16
    Join Date
    Mar 2006
    Location
    Palo Alto, CA
    Beans
    1,226
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Easy GRUB Bootloader Repair without external media

    Quote Originally Posted by bocaccio View Post
    I found a sgd file that was an executable and was about 5mb in size. Do i just use UNetbootin to boot with this like i would with any linux distro? My use of this would be to fix the boot grub after i wipe win7 partition and install xp on it; so i would then be able to boot xp and ubuntu without wiping all and starting over again.
    SGD will repair the grub?
    I assume the 5MB executable you're referring to is Auto Super Grub Disk from http://supergrubdisk.org/ ? That's actually an older, customized build of UNetbootin I built, that has the Super Grub Disk floppy disk image embedded inside, so you don't have to separately download it. You should be able to simply run the executable and follow the instructions at http://www.supergrubdisk.org/wiki/AutoSuperGrubDisk

    However, if you're simply following the instructions I have in my post, you will not need the Auto Super Grub Disk executable file; it will automatically download the latest Super Grub Disk floppy disk image file for you and use it.

  7. #17
    Join Date
    Jul 2010
    Beans
    63

    Re: Howto: Easy GRUB Bootloader Repair without external media

    So I have 7 and ubuntu now. And once if i do...get rid of 7 and put xp on my netbook; I just need to follow your instructions and then i'll repair the boot menu and be able to boot xp and ubuntu once again? I have UNetbootin too; that's what i use to boot all my distros. It has only failed on stuff like baktrak and anonymos os. Other than that its a lifesaver!!

  8. #18
    Join Date
    Oct 2010
    Beans
    1

    Re: Howto: Easy GRUB Bootloader Repair without external media

    Thanks for the step by step very nicely explained how to, was very helpful to me.
    __________________
    blog
    Last edited by 001aman; November 1st, 2010 at 05:15 AM.

  9. #19
    Join Date
    May 2011
    Beans
    14

    Re: Howto: Easy GRUB Bootloader Repair without external media

    This saved me from reinstall, thanks!

  10. #20
    Join Date
    Jul 2011
    Beans
    1

    Re: Howto: Easy GRUB Bootloader Repair without external media

    Quote Originally Posted by umpirsky View Post
    This saved me from reinstall, thanks!
    you and me both
    Last edited by smittyjones; July 26th, 2011 at 11:15 AM.

Page 2 of 3 FirstFirst 123 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
  •