LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem installing debian 7.2 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-debian-7-2-a-4175486452/)

lemon09 12-01-2013 10:41 AM

problem installing debian 7.2
 
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????

ukiuki 12-01-2013 04:02 PM

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.

Regards

lemon09 12-02-2013 04:08 AM

I have never installed debian via usb drive. It is only through the dvd drive that I have tried to install.

berndbausch 12-02-2013 04:19 AM

Quote:

Originally Posted by lemon09 (Post 5073427)
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.

lemon09 12-07-2013 10:56 AM

Quote:

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.

berndbausch 12-07-2013 06:30 PM

Quote:

Originally Posted by lemon09 (Post 5076979)
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).

Fred Caro 12-09-2013 08:18 PM

grub/debian
 
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.

EDDY1 12-09-2013 10:46 PM

Quote:

Originally Posted by ukiuki (Post 5073538)
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.

lemon09 12-12-2013 12:26 AM

Quote:

Originally Posted by Fred Caro (Post 5078198)
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.

lemon09 12-12-2013 06:04 AM

ok, I have figuredit out. its running now.

berndbausch 12-12-2013 06:22 AM

Quote:

Originally Posted by lemon09 (Post 5079412)
ok, I have figuredit out. its running now.

Please share the details.

lemon09 12-12-2013 08:04 AM

Quote:

Please share the details.
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.


All times are GMT -5. The time now is 07:22 AM.