Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've installed Fedora (dev/sda1) and Ubuntu (dev/sda2) on my system. Now, I've formatted dev/sda2 from Fedora. After rebooting,
Quote:
grub rescue
is shown. I've researched every bit of information available on internet but I couldn't find anything that will sove this problem. The real problem is that when I write
Did you isntall in that order; Fedora then Ubuntu? If so, did you accept the defaults for Ubuntu? That would have installed the Ubuntu Grub2 bootloader to the mbr pointing to the Grub files on the Ubuntu partition (sda2) which you then formatted making them inaccessible. Do you now just have Fedora? Can you boot anything? Do you have a Live CD of either FEdora or Ubuntu? If so, boot one of them and google "bootinfoscript", go to the site read the instructions and download and run the script. If you can't figure out the solution, post the results.txt file which the bootinfoscript outputs.
Did you isntall in that order; Fedora then Ubuntu?
> Yes, I installed Fedora and then Ubuntu.
If so, did you accept the defaults for Ubuntu?
> Yes, Ubuntu bootloader was installed at MBR pointing to sda2.
That would have installed the Ubuntu Grub2 bootloader to the mbr pointing to the Grub files on the Ubuntu partition (sda2) which you then formatted making them inaccessible.
Do you now just have Fedora?
> Yes, I have only Fedora on sda1.
Can you boot anything?
> No. Just 'grub rescue' is displayed when I turn on my machine.
Do you have a Live CD of either FEdora or Ubuntu?
> Yes, I've both.
If so, boot one of them and google "bootinfoscript", go to the site read the instructions and download and run the script. If you can't figure out the solution, post the results.txt file which the bootinfoscript outputs.
> bootinfoscript is great but I had already installed ubuntu yesterday. Thanks you guys for info. Long live Freedom!
Grub rescue is most of the time enough to get a system boot again. See here http://www.it-muecke.de/node/463. Also in german you might get your system up and running again. If not post question or I translate it.
Grub rescue is most of the time enough to get a system boot again. See here http://www.it-muecke.de/node/463. Also in german you might get your system up and running again. If not post question or I translate it.
Thanks for sharing that link but as I've mentioned before 'insmod normal' is not working. From the link you mentioned, I have one more question. Why is 'insmod linux' mentioned before 'insmod normal'? Almost all forums or tutorials I checked, everyone mentioned only 'insmod normal'.
You probably installed the grub from ubuntu over the mbr on the disk where fedora is installed, so now grub stage 1 is pointing to the wrong device and you formatted that device... The best way to fix this is to boot from a livecd/boot disk, chroot into the system and reinstall grub.
Thanks for sharing that link but as I've mentioned before 'insmod normal' is not working. From the link you mentioned, I have one more question. Why is 'insmod linux' mentioned before 'insmod normal'? Almost all forums or tutorials I checked, everyone mentioned only 'insmod normal'.
Maybe if you give the path to the normal module maybe it gets loaded. I know that this contradicts with what is written in the link i provided but who knows. ls in grub normaly has tab completion don't know if its the same with rescue. Else you just have to traverse the dirs and ls them on your way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.