linux fix grub

How to fix grub after removing linux partition

location: linuxquestions.com - date: November 19, 2004
Before you guys yell at me "why not linux?", let me explain my situation first:
I have two PC's and both are set to dual boot mandrake 10 official/win xp. I have decided to erase the mandrake partition on my AMD 3000+ machine so that I can install more PC games (say hi to half life 2!) to it. If I want to use Mandrake, I can always go back to the slower P4 1.6G.
My question is: how do I fix grub (better yet, erase it) after Mandrake is erased? I know there are several possible solutions:
1. boot with mandrake cd 1 and fix MBR;
2. boot with win xp cd and fix MBR;
3. boot with win98 floppy and fix MBR.
I dont know which one really works and since I have too much data on my hd to back up, I need a CORRECT answer, not an educated guess. Can somebody help me please?
TIA...

Problem using Linux mint console at all... Need it to fix grub.

location: linuxquestions.com - date: August 13, 2013
I asked a question about fixing grub as I'd deleted a Linux partition which means I can't access windows now because I've deleted some of the grub files. I was given this link http://ubuntuforums.org/showthread.php?t=622828 and told to follow those instructions however I open the console and it just says command not found when I enter the commands? I am connected to the Internet but the console just won't work.
I also see that in Linux mint now there is an application involving grub and I was wondering if it could've fixed through there?
I also wanted to know how I know for sure which partition is the windows one, I opened one "sda3" which had the windows files in, I.e. I found my user files etc. but it said that it couldn't be mounted because it was read only - is it supposed to be or do I need to change that and is that definitely the correct partition?
Please help soon, I'm very stressed out and I'm taking over the living room since in hooked directly into the r

How to fix Grub rescue "exception Emask" error?

location: linuxquestions.com - date: October 18, 2011
Hi everyone!
Recently I installed ubuntu 11.04 (sda3) alongside Windows XP (sda1), on my ThinkPad T60.
However, last Saturday, while I was surfing on the Internet (youtube video), the computer suddenly crashed (it turned off, as if I had just plugged it off). When I tried to reboot, all I got was a ”error: unknown filesystem”, and the ”grub rescue” prompt. Navigating through grub rescue is impossible (for me at least!), since anything I do is followed by ”unknown filesystem”. All I can do is ”ls”, even ”ls /boot” won’t work.
After very little research I found out that I could use ubuntu on a cd/usb and replace/update grub from there.
So I prepared a USB key and started the computer. And here’s the error I get when booting from the USB:
ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata3.00: irq_stat 0x40000008
ata3.00: failed command: READ FPDMA QUEUED
ata3.00: cmd 60/00:08:00:78:8e/00:00:06:00:00/40 tag 0 ncq 4096 in
res 41/40:00:00:78:8e/00:00:06:0

New Linux User, GRUB error 17

location: linuxquestions.com - date: August 2, 2013
Hi,
Just installed Linux on an external hardrive on my laptop. All went well until attempting to access Windows XP on my internal HD and got the the following msg: GRUB loading, please wait...
Error 17. My fear is it overwrote my XP. Also once on the Ubuntu, was unable to access to the internet with my WIFI. any help would be greatly appreciated.
Paulie

[SOLVED] Lenovo s205 Linux mint Grub problem.

location: linuxquestions.com - date: July 29, 2011
Hello. I recently bought a new laptop and since I love Linux the first thing I did was to create a linux mint bootable usb with UNetbootin. Then wiped the hdd and installed mint without any trouble. But when I rebooted the computer got stuck at Grub loading and then reboot in an infinite loop.
Then I boot it up from the live-usb and tries to find an answer with google. And I finds this.
https://help.ubuntu.com/community/Grub2#ChRoot
I follow the instructions but the computer is still stuck at a loop at bootup.
I suspect that it may has something to do with my grub configuration.
Code:

How do I fix GRUB Error 15

location: linuxquestions.com - date: October 29, 2012
Where do I go to fix this Error ??
If I use the CD Puppy 4.21 I have no troubles...

location: linuxquestions.com - date: January 8, 2009
Hello, i have a laptop that has windows on one partition, puppy linux on another and then a small third for linux swap space,
after the puppy install, you are given instructions about adding lines to the 'menu.lst' file, i dont understand this part.
and when i reboot the computer says grub error 22
can someone help me out
the goal is a dual boot between windows and puppy.
thanks

Windows 8.1 cannot fix grub

location: ubuntuforums.com - date: October 26, 2013
Hi all,
I have a Gigabyte laptop that came with secure boot and windows 8.
After a bit of battling, I managed to get my dual boot with Ubuntu 13.10..
Anyway, I upgraded zindows to 8.1, now grub is gone.
I restarted from a live CD and chrooted to my drive. I used boot-repair multiple times (with successful output) both in default and with some advanced options; also reinstalled grub manually... Each time it tries once to boot to grub but gives a message for a very short amount of time. I recorded it and it is a regular bios message "Rebbot and Select proper Boot device of Insert Boot media in selected boot device and press a key"
I even tried something called EasyBCD under winblows, it shows the correct boot options, but same there, it is unable to make the linux partition fire up.
Anyway, no way to boot my linux box. Does anyone have an idea how to fix this? No need to redirect me to another post with grub reinstall or boot-repair, seen them all...
I am think

Fix Grub in Windows 7 dual boot with Ubuntu

location: ubuntuforums.com - date: August 14, 2011
I have Ubuntu 11.04 installed and dual boot with Windows 7. I had some problems at one time and when i reninstalled linux, I made sure only the Windows 7 hdd and the Linux hdd were attached.
I want to remove the extra Windows 7 bootloaders. When I am in Windows 7, only one bootloader shows in BCDedit, yet in linux it shows as below.
I have Windows 7 installed on /dev/sdb 750GB hdd, and LInux on dev/sdd 320GB hdd.
I have no issues booting at all, just would like to clean the grub loader up and remove the extra Windows 7 bootloader as I only have the one Windows 7 OS installed.
I am fairly new to Linux and not quite sure how to go about it.
Code:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this