LinuxQuestions.org
Visit Jeremy's Blog.
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 04-26-2012, 06:53 PM   #1
spwnt
Member
 
Registered: Jun 2006
Distribution: Linux Mint/Debian/Arch
Posts: 78

Rep: Reputation: 12
Grub not installing


First I tried installing ubuntu 11.10 on my home server using the alternate cd. Everything worked fine until i got to the part where it tries to install grub, and it failed. i gave up and figured it would work in 12.04, so I just installed the gui-desktop version which worked fine. now 12.04 rolls around and i tried again, and it still failed. i'm running a 6 disk raid 5 raid. /dev/sda is part of the raid, so that seems to be why. the hard drive i'm using to install the os on is /dev/sde, so i went back through and tried to install grub to /dev/sde and it still didn't work.

i need to use the alternate cd to encrypt everything other than /boot, so i need to make it work. any ideas?
 
Old 04-26-2012, 07:25 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,386

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
Are you installing the Ubuntu Grub bootloader to the root partition on sde? or to the master boot record of sde? and do you then have sde set to first boot priority when trying to boot Ubuntu? If you have another system on the computer, are you using its bootloader to try to boot Ubuntu? How did you configure it? Without more information on your system, there will be no practical advice just guessing.
 
Old 04-26-2012, 11:26 PM   #3
spwnt
Member
 
Registered: Jun 2006
Distribution: Linux Mint/Debian/Arch
Posts: 78

Original Poster
Rep: Reputation: 12
the thing is it isn't installing at all. it just fails, and no it's the only os running on the computer. i'm using it as a home server. so right now I have the os installed, but no bootloader installed, and as far as I'm aware there isn't even a grub config file made, unless that is done independant of the grub installer.

and i dunno it just asks me where i want to install it and i put in /dev/sde and it said it failed, but it also failed with the default location too.

i'm probably going to have to install the bootloader seperate from the os, which is fine but I don't really know how to do that.
 
Old 04-27-2012, 12:00 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Try to install bootloader on / partition of /dev/sde.
 
Old 04-27-2012, 09:37 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,386

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
I'm having a little difficulty understanding what you are trying to do. In your initial post, you say that you have a home server with a 6 disk raid setup. In your last post, you say Ubuntu is the only OS running on the computer but you don't have a bootloader installed and therefore it cannot boot so, how can it be running? Could you clarify your set up?

Do you get any message when the grub install fails?
You might try running the bootinfoscript from the site below and posting it here. It will give a lot of detailed information on your boot files which may help resolve your problem:

http://sourceforge.net/projects/bootinfoscript/

Last edited by yancek; 04-27-2012 at 09:39 AM.
 
Old 04-28-2012, 12:10 AM   #6
spwnt
Member
 
Registered: Jun 2006
Distribution: Linux Mint/Debian/Arch
Posts: 78

Original Poster
Rep: Reputation: 12
Well, I had it up and running. First it was running 10.04, then after a while I upgraded it to 11.10 and then I upgraded it to 12.04 beta. All of those times I installed it using the GUI desktop version.

This time I want to have everything encrypted except for /boot, so I have to use the alternate edition of ubuntu. And that's where the problem starts. I've tried multiple versions of ubuntu alternate version (12.04, 12.04 beta, 11.10 etc) and no matter what the bootloader won't install properly, so currently the server is not running, though it has the os installed. There is no bootloader, and I've never actually gotten into the OS. So that is what the problem is.

Quote:
Try to install bootloader on / partition of /dev/sde.
Well I have /dev/sde partitioned. it's a 500 gb hd with 4 partitions

/
/home
/boot
swap

so how would I put that in when it asks me where I want it?

/dev/sde/

or /dev/sde3/ ?

Every single parition/drive is encrypted except for /boot (including the raid)

Quote:
You might try running the bootinfoscript from the site below and posting it here. It will give a lot of detailed information on your boot files which may help resolve your problem:

http://sourceforge.net/projects/bootinfoscript/
I'll try running that from a live environment. thanks for showing that to me.
 
Old 04-28-2012, 09:29 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,386

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
Quote:
so how would I put that in when it asks me where I want it?
To the master boot record of whichever hard drive you set to first boot priority in the BIOS. If that is sde, then select sde. You can get detailed information on reinstalling Grub2 in Ubuntu at the site below in Section 12. I would suggest you read through all of the various optins before doing anything, especially the part under copying Live CD files when you have a separate /boot partition!

https://help.ubuntu.com/community/Grub2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Installing GRUB in another disk problem, GRUB Hangs in boot caosxxi Linux - General 7 08-26-2009 01:55 PM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Re-installing Grub q.sa Linux - General 2 12-20-2005 11:50 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM

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

All times are GMT -5. The time now is 01:50 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