Bootloader install failed

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Bootloader install failed

Postby videosgones on Wed Dec 05, 2012 7:52 pm

Total Linux noob here. So I'm installing from a live USB drive that I made a while ago, and at the end of installation, I got this message:

"Unable to install GRUB in /dev/sda1"
"Executing 'grub-install /dev/sda1' failed.

This is a fatal error."

In case this could have any bearing on the success of the installation (like I said, I'm clueless), I was browsing our internet webs with the included Firefox while it was installing.

Thanks,
Video Gone.

EDIT: I'll also note that a lot of the questions involving failed bootloader installation on Ubuntu that have come up in my Googling also mention installing from a flash drive.
videosgones
Level 1
Level 1
 
Posts: 1
Joined: Wed Dec 05, 2012 7:47 pm

Linux Mint is funded by ads and donations.
 

Re: Bootloader install failed

Postby gnuuser on Wed Dec 05, 2012 8:52 pm

grub should be installed to the mbr
grub loads to the bootable directory sda1
gnuuser
Level 1
Level 1
 
Posts: 17
Joined: Fri Nov 23, 2012 4:45 pm

Re: Bootloader install failed

Postby MartinRF on Fri Dec 07, 2012 2:19 pm

Which version of Linux Mint are you trying to install?

/Martin
User avatar
MartinRF
Level 1
Level 1
 
Posts: 42
Joined: Wed Jun 20, 2007 12:16 pm
Location: Sweden

Re: Bootloader install failed

Postby AlexVSharp on Sun Dec 09, 2012 8:39 pm

Well I'm having the exact same issue, so might as well post here.
I'm trying to get Mint14 Cinnamon installed on RAID0, and the bootloader keeps failing to install.

Tried a bunch of guides I've found here and there, however most seem to be outdated.
Otherwise they just didn't work because I'm still stuck on a LiveUSB without a working OS. :x
User avatar
AlexVSharp
Level 1
Level 1
 
Posts: 5
Joined: Thu Nov 10, 2011 5:27 am
Location: Belgrade, Serbia

Re: Bootloader install failed

Postby Clemmy Clem on Tue Dec 11, 2012 12:37 pm

I'm also having the same issue trying to install Mint 14 on a SSD.

Does anyone know if the SSD (or any drive you install to for that matter) have to be the 1st available drive? I'm thinking that this may be the problem but I could be wrong.

Thanks.
Clemmy Clem
Level 1
Level 1
 
Posts: 1
Joined: Tue Dec 11, 2012 12:28 pm

Re: Bootloader install failed

Postby AlexVSharp on Tue Dec 11, 2012 12:55 pm

Nevermind. I solved it... somehow... :roll:
User avatar
AlexVSharp
Level 1
Level 1
 
Posts: 5
Joined: Thu Nov 10, 2011 5:27 am
Location: Belgrade, Serbia

Re: Bootloader install failed

Postby karlchen on Tue Dec 11, 2012 1:05 pm

Hi, folks.

What gnuuser tried to tell the thread starter was that he should install Grub to /dev/sda, not to /dev/sda1.
Wherever possible Grub should be installed into the MBR of a disk. The MBR of /dev/sda1 lives in /dev/sda.
If the device were /dev/sdd1, then the appropriate location for Grub would be /dev/sdd.

Hope this helps.

Kind regards,
Karl
Image
Endless legions of bigoted, brutal, bloodthirsty Orcs from the dark land of Mordor are bringing desolation, despair and death to the poor inhabitants of the Middle East. [1]
User avatar
karlchen
Level 10
Level 10
 
Posts: 3128
Joined: Sat Dec 31, 2011 7:21 am

Re: Bootloader install failed

Postby karlchen on Tue Dec 11, 2012 1:10 pm

Hello, Clemmy Clem.

Does anyone know if the SSD (or any drive you install to for that matter) have to be the 1st available drive?

It should be the drive which the Bios wants to boot from. I.e. if you have got 2 separate disks in your machine, assuming they are /dev/sda and /dev/sdb, and you have instructed your Bios to boot your machine from /dev/sdb, then /dev/sdb would be the right location for Grub.
As a rule, however, the first drive in a machine will be the drive where the Bios looks for a bootable system.

Kind regards,
Karl
Image
Endless legions of bigoted, brutal, bloodthirsty Orcs from the dark land of Mordor are bringing desolation, despair and death to the poor inhabitants of the Middle East. [1]
User avatar
karlchen
Level 10
Level 10
 
Posts: 3128
Joined: Sat Dec 31, 2011 7:21 am

Re: Bootloader install failed

Postby gnuuser on Tue Dec 11, 2012 4:17 pm

karlchen wrote:Hello, Clemmy Clem.

Does anyone know if the SSD (or any drive you install to for that matter) have to be the 1st available drive?

It should be the drive which the Bios wants to boot from. I.e. if you have got 2 separate disks in your machine, assuming they are /dev/sda and /dev/sdb, and you have instructed your Bios to boot your machine from /dev/sdb, then /dev/sdb would be the right location for Grub.
As a rule, however, the first drive in a machine will be the drive where the Bios looks for a bootable system.

Kind regards,
Karl

correct you can chose the boot device in bios by using the boot order.
when you install the drives in the system the interface is usually numbered as well on the motherboard or color coded
your manual should have the connection order listed.
i should have clarified the drive number (doh! smacking forehead)
gnuuser
Level 1
Level 1
 
Posts: 17
Joined: Fri Nov 23, 2012 4:45 pm

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Google Adsense [Bot] and 19 guests