• How do I remove grub?
    9 replies, posted
Hey guys, I am in a bit of a problem here. Today I wanted to install Ubuntu Netbook remix onto my USB flash drive. I installed the boot loader [i]on[/i] the flasg drive, because I figured that otherwise, it wouldn't work on other computers than the one I used. The installation finished, and I restarted the computer. As the computer was POSTing I pressed F10 to go to the boot selection menu. I selected the flash drive, and got an error. I then restarted the computer without pressing F10. It then came with the grub menu where I could select Ubuntu and windows 7 and all that. I shut down the computer and removed the flash drive and turned the computer on, just to see if the computer would be able to boot normally. It couldn't. It came up with some "grub rescue" console, which I am totally unfamiliar with. So now, I can't boot my computer without the flash drive. Halp?
Huh. Go get a live CD of SUPERGrub and I'm pretty sure that has some sort of restoration thing. Before that though, if I FUBAR'd GRUB, I would just reinstall the distro (ubuntu for you). That always fixes the bootloader. If you want to boot into windows after though, and there isn't an entry for it, but I'm almost positive there will be, use this: [code]chainloader +1 rootnoverify (hd0,1) boot (hd0,1)[/code] That should boot you in to windows unless you overwrote the windows partition. If you want to plain get rid of it, go download EasyBCD and restore the XP, Vista, or 7 bootloader. :smile:
Find a windows repair/install disk for your version of windows. Enter the repair console. run: [code] fixmbr [/code] If that doesn't work there's another command to do it. I think it's: [code] fdisk /fixmbr [/code] If you can't get a disk / don't have one you might be able to boot into windows and run those commands from a console window but I'm not sure. Pretty much what Muffin explained. (FYI, you only need to use one of the two commands (they do the same thing))
If you can get back in the linux terminal, do this as root and it should work. It rewrites your MBR so that GRUB will work again. [code] grub setup (hd0) [/code]
[QUOTE=Niteshifter;26257335]If you can get back in the linux terminal, do this as root and it should work. It rewrites your MBR so that GRUB will work again. [code] grub setup (hd0) [/code][/QUOTE] the problem is that the /boot is located on a USB stick. Ubuntu decided to be retarded and put it on the hard-drive instead. He simply cannot use GRUB on is main computer.
[QUOTE=Boris-B;26257597]the problem is that the /boot is located on a USB stick. Ubuntu decided to be retarded and put it on the hard-drive instead. He simply cannot use GRUB on is main computer.[/QUOTE] Oh, I see. I skipped over the second sentence :S
Actually, both the part of the boot loader and Ubuntu itself is on the flash drive. I will try if I can find the Windows installation disc today. [editline]24th November 2010[/editline] Wait, the /boot folder is located on the "system reserved" drive that Windows created, but for some reason it still won't boot without the flash drive.
If you installed ubuntu, you don't have a /boot partition. you only have a / partition. Which contains /boot which is on your USB stick. It's not on the system reserved partition. The reason it won't boot without the flash drive is because it's trying to find /boot which is located on the USB stick. If you can boot in windows using the USB stick, then the EasyBCD solution is the best.
Unless he really screwed up the partition tables. But yeah, do what Boris was talking about. Use the USB to boot then EasyBCD it.
[QUOTE=Boris-B;26266981]then the EasyBCD solution is the best.[/QUOTE] K, will try that. Thanks.
Sorry, you need to Log In to post a reply to this thread.