LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2015, 02:04 AM   #1
MrCanadianMenace
LQ Newbie
 
Registered: Aug 2015
Posts: 7

Rep: Reputation: Disabled
Question Fixing grub to show Windows 7 on separate hard drive


Hi all, I recently installed Linux Mint Cinnamon 17.2 on a secondary hard drive on my Dad's computer to try and open him up to the idea of Linux. The OS installed just fine and both looks and runs great. The only problem is that now I can't boot into the Windows 7 Partition on the primary hard drive. I can tell that partition has not been erased yet because I checked in GParted and the sda primary hard drive is still written with two ntfs partitions and the sdd secondary hard drive contains the partitions for linux mint. I know that this is something that I will need to change in GRUB but I am unsure of how to add this partition to GRUB. It's late now so I cannot post the exact directory of the filesystem for Windows 7 but it is on sda. Any help with this situation would be very much appreciated.

**********
Great news!! I found my solution through this guide and I used the sudo nano command to make the edits. Thank you so much again everyone for all of your help!

Last edited by MrCanadianMenace; 08-16-2015 at 10:50 PM. Reason: Solution found
 
Old 08-16-2015, 02:09 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,238

Rep: Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150
From a terminal run this and reboot - it should add Win7 automatically.
Code:
sudo update-grub
 
Old 08-16-2015, 10:52 AM   #3
MrCanadianMenace
LQ Newbie
 
Registered: Aug 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
From a terminal run this and reboot - it should add Win7 automatically.
Code:
sudo update-grub
I gave that a try and am afraid it didn't work still only getting Linux Mint boot options
 
Old 08-16-2015, 11:02 AM   #4
MrCanadianMenace
LQ Newbie
 
Registered: Aug 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
In case these help make the situation more clear
Windows Hard Drive in Gparted
Linux Mint Hard Drive in Gparted
 
Old 08-16-2015, 11:29 AM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,255
Blog Entries: 21

Rep: Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499
Check your Links and uploads.
 
Old 08-16-2015, 11:30 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
Your link to the GParted info on windows is broken. Check it and post again.
Did you check the /boot/grub/grub.cfg file to see if you have an entry for windows there and if so, what it is?

You might also boot Mint and go to the site below, download and run boot repair. Make sure you only select the option to Create BoofInfo Summary and post it or a link to it here. It will provide more details and someone should be able to help.

https://help.ubuntu.com/community/Boot-Repair
 
Old 08-16-2015, 12:32 PM   #7
MrCanadianMenace
LQ Newbie
 
Registered: Aug 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Whoops sorry about that, that's what I get for using Dropbox for links :P
Here they are on Imgur:
http://i.imgur.com/TdiqtJA.pngWindows 7 Hard Drive in Gparted
http://i.imgur.com/CLervBx.pngLinux Mint Hard Drive in Gparted

Last edited by MrCanadianMenace; 08-16-2015 at 12:34 PM.
 
Old 08-16-2015, 05:53 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
Again, "Did you check the /boot/grub/grub.cfg file to see if you have an entry for windows there and if so, what it is?"

If you don't see an entry for windows, it obviously won't boot. Most of the time Grub will detect a windows partition as long as the windows drive is attached during the install. If not, the suggestion above to run update-grub will usually do the job. Since that doesn't work, more information will be needed which is why I suggested you run the boot repair selecting the Create Bootinfo Summary option. This will output a file you can link to this site or post here and will have more detailed information and someone should then be able to advise you.

Your link to the GParted image for the windows drive does show the windows boot and system partitions.

Last edited by yancek; 08-16-2015 at 05:54 PM.
 
Old 08-16-2015, 07:58 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,238

Rep: Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150Reputation: 4150
Strictly speaking, grub doesn't care - but it will use os-prober to do the job if it's installed. Which it should be on a default Mint system. In addition to the above, what does this get
Code:
dpkg -s os-prober
 
  


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
GRUB error on windows-only drive after ubuntu install on separate drive Pappou Linux - Newbie 4 03-22-2009 07:00 PM
Booting Windows on secondary hard drive with Grub on primary drive mpmackenna Linux - General 1 11-09-2008 06:16 PM
Windows grub hard drive issue! Ubumby Linux - Newbie 12 04-28-2008 06:31 PM
Transfering hard drive w/ linux from separate computer to dual boot with Windows comp SonicGT Linux - Newbie 1 03-18-2006 02:56 PM
grub wont boot windows on second hard drive ryan00davis Linux - General 12 05-19-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:20 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
Open Source Consulting | Domain Registration