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 08-03-2015, 11:02 AM   #1
shmu26
LQ Newbie
 
Registered: Aug 2015
Posts: 29

Rep: Reputation: Disabled
fix linux boot, multiple hard drives


I have windows 10 installed on my primary hard drive, which is a SSD with limited storage.

I then installed linux mint by unplugging the SSD, and letting the installer just do its thing. On the remaining hard drive, there was already a windows 7 installation. Linux is now installed alongside with Windows 7.

Then, using easyBCD, I added the linux installation as a boot option, along with the existing windows 10 and 7.

But the boot doesn't work. when I choose linux, it just restarts the PC and brings me back to the multiple boot options.

I assume this is because grub is installed on a different hard drive.
how to fix?
 
Old 08-03-2015, 11:35 AM   #2
shmu26
LQ Newbie
 
Registered: Aug 2015
Posts: 29

Original Poster
Rep: Reputation: Disabled
just to clarify:
I did boot successfully to linux, before I reconnected the SSD.

the problem is only when I try to do it from the multiple boot menu that I set up with EasyBCD: I can boot to windows, but not to linux.

I know that I could boot to linux by going into BIOS and setting the second hard drive as primary, but I prefer to have linux as a regular boot option, alongside with windows.

Last edited by shmu26; 08-03-2015 at 11:37 AM.
 
Old 08-03-2015, 01:09 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,722

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Did you install windows 10 as UEFI? Did you then install Mint using UEFI? If not, that could be part of the problem. You could try going to the site below and downloading the boot repair iso and burning it as a bootable image to a CD. After booting it, there should be an option to "Create Bootinfo summary" and if you select that, it should output a text file with detailed information on your drives/partitions and boot files.

http://sourceforge.net/projects/boot-repair-cd/files/

I'm not sure I'm clear but if I understand your post, if you set the secondary drive with Mint to first boot priority, you can boot it?
If you try to boot with EasyBCD from the primary drive, it fails?
 
Old 08-03-2015, 01:37 PM   #4
shmu26
LQ Newbie
 
Registered: Aug 2015
Posts: 29

Original Poster
Rep: Reputation: Disabled
Hi,
I did not install anything with uefi. I have an old-style bios mobo. everything is without uefi.

if I go into the bios settings and choose the HDD, then it will boot to linux.
if I leave it alone and it boots from the SSD, then I get to the multiple boot menu of EasyBCD. If I choose linux from the list, it will not boot.

Last edited by shmu26; 08-03-2015 at 01:38 PM.
 
Old 08-03-2015, 02:20 PM   #5
shmu26
LQ Newbie
 
Registered: Aug 2015
Posts: 29

Original Poster
Rep: Reputation: Disabled
fixed!
I went back into easybcd, I chose grub2 instead of grub legacy. And probably more important, instead of letting it find the boot partition automatically, I selected it from the list.
now it works like a charm.
 
Old 08-04-2015, 02:04 PM   #6
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 191

Rep: Reputation: 102Reputation: 102
Multiple MBRs

What probably happened:

You ran your dual boot install with your SSD removed, so grub wrote its info to /boot/grub and to the mbr (master boot record - 1st small part of disk where the bootstrap loader gets saved) on the secondary drive.

When you connected your SSD again, it became recognized as the 1st drive and was used to bootstrap the computer, but you had not modified it at all because it was disconnected.

Now when you ran grub again, it found your second drive and the new OS partition on it and added it to the boot menu and wrote it to /boot/grub on the SSD.

Upon rebooting, your system used the updated menu from your SSD, so the new OS was found.

Most likely it didn't have anything to do with the version of grub you used, just about where grub wrote the information and where your system subsequently looked for it when rebooted.
 
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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 08:01 AM
[Puppy Linux 2.12] Volume spanning multiple hard drives? faron_young Linux - Newbie 3 01-14-2007 12:08 PM
Linux on Multiple Hard Drives apocolpse Linux - Newbie 5 08-06-2005 07:17 PM
multiple booting two hard drives with linux distros slim case Linux - Newbie 3 07-04-2005 10:02 PM
Multiple Hard Drives in one Linux server jeucken Linux - Hardware 1 11-01-2002 10:51 AM

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

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

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