Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-27-2013, 11:09 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Not able to install Grub on sda (Redhat)

Hello. I m a new linux user and chose Redhat as my first distribution to try.

I made a bootable USB stick with UltraISO and was able to install redhat successfully on my system.
But there is some issue with the grub installtion. Bootloader was installed on sdb (USB stick) hence my system would show an error message (Could not load operating system) if USB drive is not connected, and would boot fine if USB is connected and kept as first booting preference.

I tried the installtion again and tried to review the partitioning layout. I found out that it doesnt even give me an option to install grub on sda, instead of sdb. It just gives two radio buttoned options as-
  • Grub will be installed on /dev/sdb
  • No grub will be installed

How do I installed it on sda? Please help.

Re: I have also tried booting in rescue mode and executing following:
#chroot /mnt/sysimage
#grub-install /dev/sda

But of no use. It says it installed properly, the previous error message is removed, but it just shows the boot screen again and again and doesnt boot the system.

Please tell me what to do at partioning time so that it gives option "Grub will be installed on /dev/sda"

Thank you.
Old 04-27-2013, 11:21 AM   #2
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173

Rep: Reputation: 28
Okay, the redhat setup clearly installed GRUB on the MBR of the first possible drive. You need to specify manually which disk to install the MBR to, so unless you have anything important on the OS, try reinstalling and see if you can do a manual or advanced config when it comes to boot loader setup.
Old 04-27-2013, 02:04 PM   #3
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

Rep: Reputation: 83
This is a very common problem with installations from USB, on many of the RedHat-based distros, it's an issue in Oracle, too. There should be an option to select which device to install grub to, even if it's not obvious. The Anaconda installer gives the option of which device to choose.


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
Question about one command - grub-install --root-directory=/mnt/ /dev/sda miros84 Linux - Software 8 01-28-2010 01:26 PM
[SOLVED] Install grub for a filesystem on sdb from a rescue system on sda simonb Linux - General 4 08-28-2009 12:39 AM
Executing 'grub-install /dev/sda' failed. This is a fatal error. Melhisedek Linux - Newbie 17 07-03-2009 10:07 AM
Grub: works on hda, but not sda mattd7591 Linux - General 1 04-01-2007 04:38 PM
vmware - grub install doesnt recognise device sda - why?? flipwhy Linux - Newbie 1 09-12-2006 01:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 AM.

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