LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 06-09-2016, 04:07 PM   #1
edpaschall1
LQ Newbie
 
Registered: Jun 2016
Posts: 7

Rep: Reputation: Disabled
Repair Boot Loader on External Hard Drive


I have Mint Linux installed on an external hard. My Dell laptop has Win7 OS. I have a dual boot setup via easyBCD with Mint as the default OS. Recently, my external hard drive has failed to boot into Mint and instead I boot into the grub> command line. How do I repair the grub boot loader? I'm not aware of anything that I did that
precipitated the change. I've had this dual boot setup in operation for a substantial period of time before this problem developed and Mint failed to boot. I have tried a few suggestions in various posts to no avail.

Thanks
 
Old 06-09-2016, 04:56 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
EasyBCD is windows software which basically chainloads to another OS. Where did you install Grub2 when you installed Mint? It might be as simple as setting the external to first boot priority in the BIOS. Do you get just the grub prompt immediately upon selecting Mint in EasyBCD? Either your entry in EasyBCD got messed up or some problem with the Grub configuration file and with the information you posted, we would just be guessing. Best thing is to post more details such as the output from the boot repair script which you can get from the link below. Us your Mint DVD to boot and download and run it and make sure you select to Create BootInfo Summary rather than try any repairs. Post a link to the output here.

https://help.ubuntu.com/community/Boot-Repair
 
Old 06-09-2016, 07:22 PM   #3
edpaschall1
LQ Newbie
 
Registered: Jun 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank for your reply, link is:

http://paste2.org/HsgOAe7b
 
Old 06-09-2016, 10:44 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Your boot repair shows Mint on sdb1, the first partition of the second (1TB) drive. It is pointing to the core.img file on sdb5 which shows as an Ubuntu installation?? Do you have a bootable installation of Ubuntu? If you do, just boot that and run sudo update-grub from it and see if you get an entry for Mint on reboot with the 1TB drive set to first boot priority. Did you make any changes to EasyBCD? Any reason you neglected to mention the Ubuntu install? When was that and how did you try to boot it?
 
Old 06-09-2016, 10:51 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Mint often shows its roots/heritage - even the UEFI boot entry from memory.
I haven't used EasyBCD in a while, but it used to require the loader to be chainloaded (grub in this case) be in the partition record rather than MBR - which grub[2] objects to and has to be forced. May have changed - like I said, was a while ago.
 
Old 06-10-2016, 06:14 AM   #6
edpaschall1
LQ Newbie
 
Registered: Jun 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
I do not have a bootable installation of Ubuntu. Yes, I did try a few things with easyBCD before seeking help.

mint@mint ~ $ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
 
Old 06-10-2016, 08:26 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
So where is Mint, sdb1 or sdb5. I'm wondering how the Grub code in the MBR of the external got to point to sdb5? Did you try to install something to sdb5 or is that actually where the Mint install is? How are you running sudo update-grub? The message you posted would indicate you are running it from a Live CD. That won't work. The link below gives a number of methods to try including using the boot repair.

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

Your Grub code in the mbr of the external drive is looking for a grub.cfg file on sdb5 which according to the boot repair output does not exist. Whatever you did with EasyBCD needs to be undone.
 
Old 06-10-2016, 12:19 PM   #8
edpaschall1
LQ Newbie
 
Registered: Jun 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Back story: Most forums ask that you do a search before posting. After searching a number of posts, I made several efforts to correct the problem based on the posts. Obviously, these efforts were unsuccessful and I cannot specifically say whether they exacerbated the original problem or not. I still do not know what precipitated the problem.

To make a long story short, I downloaded and ran the Boot Repair disk which fixed the problem. I changed the bios to boot from the usb drive and will now use the linux boot loader in lieu of easyBCD.

Thank you yancek and syg00 for your support!

Note: Do I need to close the post?
 
Old 06-10-2016, 04:03 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Glad you got it working. The standard boot repair will install Grub code to the MBR of all drives so remember that. If you decide to remove Mint and keep windows, you need to repair the MBR on windows first or you will have an unbootable machine. If you don't have the windows installation media, you should be able to download some type repair disk. I think Hirens has the necessary software. Make sure you always have something available to make this type repair. The boot repair is pretty handy so you should keep it on a CD or flash drive.
 
Old 06-11-2016, 07:50 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Moderator response

Moved: This thread is more suitable in <Linux Mint> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



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] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 08:36 AM
grub boot loader with external SATA hard drive james2b Linux - Newbie 1 03-24-2008 05:27 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
Which boot loader for an external USB drive aikempshall Slackware 2 04-06-2005 06:53 PM
boot loader on different hard drive verify_reality Linux - Newbie 1 05-25-2004 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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