LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-01-2013, 10:41 AM   #1
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
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????
 
Old 12-01-2013, 04:02 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
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
 
Old 12-02-2013, 04:08 AM   #3
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285

Original Poster
Blog Entries: 1

Rep: Reputation: 37
I have never installed debian via usb drive. It is only through the dvd drive that I have tried to install.
 
Old 12-02-2013, 04:19 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by lemon09 View Post
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.
 
Old 12-07-2013, 10:56 AM   #5
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285

Original Poster
Blog Entries: 1

Rep: Reputation: 37
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.
 
Old 12-07-2013, 06:30 PM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by lemon09 View Post
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).
 
Old 12-09-2013, 08:18 PM   #7
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
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.
 
Old 12-09-2013, 10:46 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by ukiuki View Post
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.
 
Old 12-12-2013, 12:26 AM   #9
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285

Original Poster
Blog Entries: 1

Rep: Reputation: 37
Quote:
Originally Posted by Fred Caro View Post
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.
 
Old 12-12-2013, 06:04 AM   #10
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285

Original Poster
Blog Entries: 1

Rep: Reputation: 37
ok, I have figuredit out. its running now.
 
Old 12-12-2013, 06:22 AM   #11
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by lemon09 View Post
ok, I have figuredit out. its running now.
Please share the details.
 
Old 12-12-2013, 08:04 AM   #12
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285

Original Poster
Blog Entries: 1

Rep: Reputation: 37
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing debian package ashmita04 Debian 2 07-19-2007 09:50 AM
Problem with X after installing Debian 4.0 kaplan71 Debian 6 04-24-2007 10:06 PM
problem with installing java on debian nédée Linux - Software 7 12-16-2005 11:18 PM
problem with installing debian on my new pc anjani.78 Linux - Distributions 7 04-16-2005 04:08 AM
Problem installing Debian Louis_Carole Debian 3 04-04-2004 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration