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.
This problem is not new to me. When I first started using linux I tried installing debian. It was in the year 2009 I guess and am not quite sure about the version. To my surprise it never installed properly. Every time it gave the same failure that installation of grub failed. The whole system otherwise was installed properly except for that grub.
So, is there any solution to the problem????
If you are installing from a usb pendrive, Debian pick the pendrive as sda1 where it usually install grub, so you have to unplug the pendrive when it ask if you want to install grub in the master boot record. The same thing can maybe happen with usb cd drive as well, I have not installed any through that so not sure about it.
Could you please describe how exactly are you installing, and in what kind of computer and media, how are you setting the partitions and type or is the installer doing it?
There is a way to install the missing grub through chroot, here you can find a howto about how to install just grub, the settings of your system may be different and you will have to adjust/adapt to get it to work.
This problem is not new to me. When I first started using linux I tried installing debian. It was in the year 2009 I guess and am not quite sure about the version. To my surprise it never installed properly. Every time it gave the same failure that installation of grub failed. The whole system otherwise was installed properly except for that grub.
So, is there any solution to the problem????
Do you have an error message or any other indication that grub could not be installed? Please provide details.
Do you have an error message or any other indication that grub could not be installed? Please provide details.
Yes, indeed it did. It gave an error message stating that GRUB was not installed properly on your system but I do not know how to take a screenshot of that screen.
Yes, indeed it did. It gave an error message stating that GRUB was not installed properly on your system but I do not know how to take a screenshot of that screen.
You could use a digital camera if the message stays on the screen long enough.
To repair the problem, you should boot from a live DVD, reinstall grub in the Master Boot Record and rebuild the GRUB configuration file (/boot/grub/menu.lst on Debian, I believe).
lemon09,
Deb7 uses grub2, "...menu.list" is "legacy" grub.At the end of the deb istallation it gives you options on where to install grub, it is possible you have put it in the wrong place. On a one system HDD you can install it on the MBR but, I think the best option is to install on /dev/sda, literally.
you could use a deb disk(live one) to install grub to the HDD (/dev/sda) but use grub2 commands.
Fred.
If you are installing from a usb pendrive, Debian pick the pendrive as sda1 where it usually install grub, so you have to unplug the pendrive when it ask if you want to install grub in the master boot record.
Debian gives options of which hdd to install to now.
The OP needs to look at the grub-install options. OP needs to know size of drive as options include the size of the drive to be installed to.
Deb7 uses grub2, "...menu.list" is "legacy" grub.At the end of the deb istallation it gives you options on where to install grub, it is possible you have put it in the wrong place. On a one system HDD you can install it on the MBR but, I think the best option is to install on /dev/sda, literally.
you could use a deb disk(live one) to install grub to the HDD (/dev/sda) but use grub2 commands.
Fred.
Look. The Grub failed to install completely. Hence, do you think the commands would work at all? Alternatively it did not give me an option of where to install either.
Well, I install it from the initial boot menu from the option "Graphical installer". Previously I used to run the live media first and installed it from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.