Bootloader install failed

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
videosgones
Level 1
Level 1
Posts: 1
Joined: Wed Dec 05, 2012 7:47 pm

Bootloader install failed

Postby videosgones » 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.

gnuuser
Level 1
Level 1
Posts: 17
Joined: Fri Nov 23, 2012 4:45 pm

Re: Bootloader install failed

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

grub should be installed to the mbr
grub loads to the bootable directory sda1

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

Re: Bootloader install failed

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

Which version of Linux Mint are you trying to install?

/Martin

User avatar
AlexVSharp
Level 1
Level 1
Posts: 5
Joined: Thu Nov 10, 2011 5:27 am
Location: Belgrade, Serbia
Contact:

Re: Bootloader install failed

Postby AlexVSharp » 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

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

Re: Bootloader install failed

Postby Clemmy Clem » 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.

User avatar
AlexVSharp
Level 1
Level 1
Posts: 5
Joined: Thu Nov 10, 2011 5:27 am
Location: Belgrade, Serbia
Contact:

Re: Bootloader install failed

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

Nevermind. I solved it... somehow... :roll:

User avatar
karlchen
Level 16
Level 16
Posts: 6573
Joined: Sat Dec 31, 2011 7:21 am

Re: Bootloader install failed

Postby karlchen » 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

User avatar
karlchen
Level 16
Level 16
Posts: 6573
Joined: Sat Dec 31, 2011 7:21 am

Re: Bootloader install failed

Postby karlchen » 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

gnuuser
Level 1
Level 1
Posts: 17
Joined: Fri Nov 23, 2012 4:45 pm

Re: Bootloader install failed

Postby gnuuser » 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)


Return to “Installation & Boot”

Who is online

Users browsing this forum: HugoNotte and 12 guests