Grub Error In Ubuntu 11.10
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Grub installation fatal error in Ubuntu 11.10 installation up vote 0 down vote favorite 1 I have winxp and win7 on my HD and have just installed the Ubuntu 11.10 Desktop on the HD too.I decided to install boot files on a /boot partition and also install grub not at the MBR and install EasyBCD as a bootloader manager in win7. Here's my hard disk partitions: /dev/sda1 winxp(ntfs) /dev/sda5 win7(ntfs) /dev/sda6 my other ntfs partition /dev/sda7 /boot /dev/sda8 swap /dev/sda9 / an i select /dev/sda7 as device for boot loader installation. I followed steps from this article: http://www.linuxbsdos.com/2011/05/22/how-to-dual-boot-windows-7-and-ubuntu-11-04/ but i get a fatal error on installing grub at the final step of ubuntu installation that said: Unable to install GRUB in /dev/sda7 Executing 'grub-install/dev/sda7' failed This is fatal error how can i solve it? should i reinstall ubuntu or just reinstall grub? is it a bug of ubuntu 11.10 ? can i reinstall grub from a knoppix live cd? I don't have ubuntu live cd. thank you for helping. 11.10 grub2 share|improve this question asked Dec 21 '11 at 16:14 hd. 807499 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote I got the same error message when I accidentally specified a partition (like you did, /dev/sda7) instead of the drive (/dev/sda). The bottom line is that you may have to install Grub in the MBR of /dev/sda and let Grub manage the booting of Linux and Windows. The article you referenced mentions this at the bottom. To do this: sudo grub-install /dev/sda I don't think you'll have to update grub, but it can't hurt, since it will simply rebuild grub.cfg and ensure that the Windows OSes are in the Grub menu. sudo update-grub I hope this helps, Randy share|improve this answer answered Jan 10 '12 at 17:46 Randy Stegbauer 1263 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign
The terminal way Using the Ubuntu Alternate CD See also This page documents how to restore or recover the boot-loader (GRUB) after installing Windows. Some reasons to repair your boot-loader might include installing Microsoft Windows after you have installed Ubuntu, adding or removing a hard drive, or changing hard drive settings. Note: this tutorial does not apply if you had installed Ubuntu inside Windows (via the Wubi installer). In this case, please read this page. Using the Ubuntu CD (Recommended) The graphical way Insert your Ubuntu CD, reboot your computer and set it to boot from CD in the BIOS and boot into a live session. You can also use a LiveUSB if you have created one in the past. Install and run Boot-Repair Click "Recommended Repair". Now reboot your system. http://askubuntu.com/questions/89522/grub-installation-fatal-error-in-ubuntu-11-10-installation The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows. The terminal way * Open a terminal. As of Ubuntu 11.10 and 11.04, this can be done by opening the Unity Dash (you can click the Ubuntu logo in the top panel or use the Windows key on your keyboard) and typing in "Terminal", and clicking what comes up. On earlier versions, you https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows can achieve this by going to Applications -> Accessories -> Terminal. Alternately use the Keyboard Shortcut: CTRL + ALT + T. For full details on using terminal to fix grub on hard drive from Live Installer DVD or Flash: https://help.ubuntu.com/community/Grub2/Installing#via_the_LiveCD_terminal You are then presented with a standard bash prompt, type - this only works to reinstall to MBR of a working system: sudo grub-install /dev/XXXwhere XXX is the device of your Ubuntu install. (eg: grub-install /dev/sdb). Hint: You can also use /dev/disk/by-label/ if the partition you installed on has a label. You can determine the /dev node for such a device by running: ls -l /dev/disk/by-label/This will give the output of something like: lrwxrwxrwx 1 root root 10 Oct 16 10:27 data -> ../../sdb2 lrwxrwxrwx 1 root root 10 Oct 16 10:27 data2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Oct 16 10:27 fat -> ../../sda6 lrwxrwxrwx 1 root root 10 Oct 16 10:27 home -> ../../sda7 lrwxrwxrwx 1 root root 10 Oct 16 10:27 root -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 16 10:27 swap -> ../../sda5 lrwxrwxrwx 1 root root 10 Oct 16 10:27 windows -> ../../sdb1You can also use fdisk if you do not see the /dev/disk/by-label: $ sudo fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes
Apr 18, 2014 | Linux | 59 comments This is the common problem which is faced, when you try for dual boot. Easily Recover http://www.howopensource.com/2012/05/reinstall-recover-grub-from-ubuntu-12-04-live-cd-usb/ / Re-Install Grub in Ubuntu using Boot-Repair from live cd / usb. Boot Repair is the simple graphical tool used to repair, restore or reinstall the grub bootloader on Ubuntu. Now this tools has been updated with some new features in advanced option, using boot- repair you can also restore the MBR on Windows.Advertisements grub error On dual boot once you update your Ubuntu OS, Windows / Fedora will not be listed on your grub. After installing Windows / Fedora your Ubuntu will not boot anymore and its grub may be wiped out. To restore it follow the steps belowTo Reinstall GrubYou need to have Ubuntu Live CD or Live USB. grub error in Normal session can be used to repair the grub. Boot using your Ubuntu Live CD or Live USB, while booting choose Try Ubuntu.Advertisements Once booted then open a terminal, and run the following command one by one to install the boot repair.To add boot-repair to the repositorysudo add-apt-repository ppa:yannubuntu/boot-repairTo Update your repositorysudo apt-get updateTo install boot-repairsudo apt-get install -y boot-repairOnce Installation complete run boot-repair on terminal by typing the following command or select it by System->Aministration->Boot Repair.boot-repairNOTE: Update the Boot Repair if its newer version is available.It will scan the System for few seconds and will show you the options Recommended repair and Create a BootInfo summary. By clicking the Recommended Repair it will start repair the grub. Check the screen shots below.Once done click ok and restart your system, your grub should work now. If not run the boot-repair again using live cd / usb. Then follow the steps below.Select the Advanced options, In Main options tab check whether the following options are selected or n