Grub Rescue Error In Ubuntu 12.04
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 Tried to boot Ubuntu, but the GRUB rescue shows up instead up vote 6 down vote favorite 1 Tried to boot Ubuntu, but something like this shows up instead: 12.04 grub2 share|improve this question edited Jul 14 '12 at 13:49 Eliah Kagan 56.1k15162255 asked Jul 5 '12 at 6:56 KalebNoobMaster 38114 did you installed Ubuntu correctly? Have you ever booted your system after installation –Anwar Jul 5 '12 at 6:59 Please indicate your BootInfo URL to provide more information about your system. –LovinBuntu Jul 5 '12 at 21:33 1 Possible duplicate of How can I repair grub? (How to get Ubuntu back after installing Windows?) –David Foerster May 12 at 22:07 add a comment| 4 Answers 4 active oldest votes up vote 13 down vote If you were able to boot Ubuntu in past, but not Now, Do this steps to solve the problem. First type ls command and Press Enter to see all the available partitions. The entries will be shown as (hd0,msdos1) (hd0,msdos2) (hd0,msdos5) etc. Then type ls (hd0,msdos1)/ to see the content of the drive. if you see entries like vmliuz or initrd, it is your Linux partition. If y
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 http://askubuntu.com/questions/159846/tried-to-boot-ubuntu-but-the-grub-rescue-shows-up-instead ask a question Anybody can answer The best answers are voted up and rise to the top unknown filesystem, grub rescue up vote 2 down vote favorite When I try to boot I get this message: error: unknown filesystem. grub rescue> _ results of: grub rescue> ls are as follows: (hd0) (hd0,msdos5) (hd0,msdos1) (hd1) (fd0) 12.04 boot server grub2 grubrescue share|improve this http://askubuntu.com/questions/375801/unknown-filesystem-grub-rescue question asked Nov 12 '13 at 7:04 Chandler R. 25118 Hey I am having the same problem as you had of grub rescue how did you fixed it? can you explain me. –user2014111 May 22 '14 at 7:33 Honestly, user2014111, I actually had to copy the files off of the HDD, and then I re-installed the whole OS. Sorry I couldn't be of more help... -Chandler –Chandler R. May 22 '14 at 14:43 add a comment| 3 Answers 3 active oldest votes up vote 7 down vote If you don't know your Ubuntu boot partition, check them one by one: ls (hd0,msdos5)/ ls (hd0,msdos1)/ When you hit the right one, you'll get a line mentioning "lost+found" and so on. Assuming (hd0,msdos5) is the right partition: set root=(hd0,msdos5) set prefix=(hd0,msdos5)/boot/grub insmod normal normal Now you'll be able to boot into Ubuntu. Once you do, reinstall GRUB: sudo update-grub sudo grub-install /dev/sda share|improve this answer edited Oct 1 '14 at 5:51 Kaz Wolfe 13.4k53973 answered Nov 12 '13 at 8:58 Pavel 735719 I ran the first two commands with (hd0,1) in p
a low-end PC. I resized partitions and it finally messed up the grub settings and I finally ended up getting a grub rescue > prompt on reboot: I could finally resolve it but still I http://insane-on-linux.blogspot.com/2013/05/grub-rescue-on-ubuntu-1204.html am not sure if it is the right method. If you know a better method, please let me know. I basically followed the instructions given here. Step 1. It is necessary to identify and locate the partitions where the boot images of your distribution is available. grub rescue> ls (hd0) (hd0,msdos3) (hd0,msdos7) (hd0, msdos2) (hd0,msdos1) grub rescue> ls (hd0,msdos1)/boot ... grub .. initrd.img-3.2.0-43-generic-pae ... vmlinuz-3.2.0-43-generic-pae ... This is the right partition where we would like the grub grub rescue to boot into Step 2. It is necessary to find "linux.mod" file which usually lies inside /boot/grub folder. Do the following: grub rescue> set prefix=(hd0,msdos1)/boot/grub grub rescue> insmod (hd0,msdos1)/boot/grub/linux.mod grub rescue> insmod part_msdos grub rescue> insmod ext2 grub rescue> insmod gzio Last two may or may not be necessary. At least I don't get any errors so far. Step 3. Now its time to tell grub to find the boot images. grub rescue> set root=(hd0,msdos1) grub rescue> grub rescue error linux /boot/vmlinuz-3.2.0-43-generic-pae root=/dev/sda1 ro grub rescue> initrd /boot/initrd.img-3.2.0-43-generic-pae no partition found grub rescue> boot The initrd command does not work for me. However, the system boots properly and I get back the login page of my distribution. Once I log into the system, I open a terminal and install the 'boot-repair' package as follows: sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update sudo apt-get install -y boot-repair && boot-repair I go for the 'recommended step' and everything gets into its place. When I reboot, I get the usual grub menu. If you have a live CD or Live USB, then you can boot into the system and install & run boot-repair as explained above to restore your grub. Posted by Swagat Kumar at 5:30 AM Labels: grub, rescue, Ubuntu 2 comments: Horus Velada said... This comment has been removed by the author. March 3, 2016 at 1:54 AM Horus Velada said... Perfect muy friend. The only method that really worked for me. It was hard to solve, but thanks to you I got it!!I really appreciate your help.Thank you March 3, 2016 at 1:57 AM Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Followers Subscribe To Swagat's Linux Blog Posts Atom Posts Comments Atom Comments Labels APT bash Basics C++ Chrome cmake Communication computing cygwin Data backup Debian Desktop display Fedora File Synchronization Fing