LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-11-2017, 11:18 AM   #1
Elcee
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Rep: Reputation: Disabled
Unable to install grub


Trying to instal linux mint 18.1 dual booting with Win10. Grub not installing . Tried mounting partition and load from live Dvd but get error message cannonical error cannot find path and a reference to farmyard animal! What now?

Last edited by Elcee; 03-11-2017 at 11:24 AM. Reason: Specifying mint version
 
Old 03-11-2017, 12:00 PM   #2
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Is your Windows 10 installed in UEFI mode? (That is likely - but not always the case.)
Review these tutorials:
[TUTORIAL] Installing Mint on a Windows 8/8.1 UEFI Computer
How to configure your Windows 8 or 10 computer for dual boot with Linux - Easy Linux Tips Project
 
Old 03-11-2017, 01:58 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,906

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
Quote:
Tried mounting partition and load from live Dvd but get error message cannonical error cannot find path and a reference to farmyard animal! What now?
Post the exact command you used. The 'cow' error message means you tried to install Grub to the DVD you are booting from which won't work. More details needed if you want help. UEFI or not? Did you download the Mint iso from the Mint site? Did you do an md5 sha checksum on the download to verify it? Did you boot Mint UEFI and install Mint UEFI?
 
Old 03-23-2017, 07:17 AM   #4
Elcee
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Unable to restore grub

Firstly i am 80 years old so please don't be too technical
I tried (after mounting the partition in a terminal) entering the following commands

sudo grub-install --root-directory=/mnt/ /dev/sda
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done

Ithen get error message no BIOS in partition. Is this because WINDOWS 10 is UEFI
If so can you help with commands to use?
My live DVD - downloaded from the Linux site is Linux Mint Cinnamon 18.1 64 bit

Last edited by Elcee; 03-23-2017 at 07:22 AM.
 
Old 03-23-2017, 09:37 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,906

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
The section below gives an example of a correct command to use to re-insall Grub2 on newer versions of Grub such as you have with Mint18. This output example would be for a system which has Mint installed on partition 'sda5' so you would have to change that to the correct entry. If you don't know what that is you can run either of the commands below from a terminal on the Mint DVD after booting it. The output from these commands should tell us whether you are using UEFI.

Quote:
sudo fdisk -l
OR
Quote:
sudo gdisk -l
That's a lower case Letter L in both commands.

Quote:
sudo mount /dev/sdXY /mnt # Example: sudo mount /dev/sda5 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sdX # Example: sudo grub-install --boot-directory=/mnt/boot /dev/sda
The link below has detailed information on re-installing Grub2 by various methods.

https://help.ubuntu.com/community/Gr..._Broken_System

If you have problems understanding this, you could go to the site below and download boot repair using the Mint DVD per the instructions on the page or download it to another system and burn it as an image to a CD, then either run it from Mint or boot the computer with the CD set to first boot priority. When boot repair starts, follow the instructions on the page. I would suggest you select the option to "Create BootInfo Summary" and post the link you get after running it here at the forums as this will provide details on your system which should help someone to help you.

https://help.ubuntu.com/community/Boot-Repair
 
Old 03-25-2017, 12:19 PM   #6
Elcee
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Smile Unable to install grub

Quote:
Originally Posted by yancek View Post
The section below gives an example of a correct command to use to re-insall Grub2 on newer versions of Grub such as you have with Mint18. This output example would be for a system which has Mint installed on partition 'sda5' so you would have to change that to the correct entry. If you don't know what that is you can run either of the commands below from a terminal on the Mint DVD after booting it. The output from these commands should tell us whether you are using UEFI.


OR


That's a lower case Letter L in both commands

The link below has detailed information on re-installing Grub2 by various methods.

https://help.ubuntu.com/community/Gr..._Broken_System

If you have problems understanding this, you could go to the site below and download boot repair using the Mint DVD per the instructions on the page or download it to another system and burn it as an image to a CD, then either run it from Mint or boot the computer with the CD set to first boot priority. When boot repair starts, follow the instructions on the page. I would suggest you select the option to "Create BootInfo Summary" and post the link you get after running it here at the forums as this will provide details on your system which should help someone to help you.

https://help.ubuntu.com/community/Boot-Repair

Thanks for all your help. I managed to prepare a flash drive with boot repair installed using Universal USB installer. This programme solved the problem in about 2 minutes and I can now boot into Linux or Windows as required.

Last edited by Elcee; 03-25-2017 at 12:22 PM.
 
Old 03-25-2017, 12:41 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,906

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
Quote:
I managed to prepare a flash drive with boot repair installed using Universal USB installer.
It would probably be a good idea to keep the flash drive with boot repair on it until you are familiar with the process. You could also install it on the Mint partition per the instructions at the boot repair site. Of course, if you run into some problem and you can't boot Mint, that won't help. Glad you got it working.
 
1 members found this post helpful.
  


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
[SOLVED] unable to install grub 2 in ubuntu 14.04? Carl_cj Linux - Newbie 2 12-24-2015 11:38 AM
Unable to re-install grub in centos 6.4 john aka jondi Red Hat 3 11-26-2013 01:32 PM
install unubtu 12.04 show"unable to install grub in /dev/mapper. my patition tomli21228 Linux - Server 2 09-20-2012 02:45 PM
unable to install grub.. mahi Debian 4 11-02-2008 10:09 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 03:01 PM

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

All times are GMT -5. The time now is 05:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration