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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-16-2015, 02:04 AM
|
#1
|
LQ Newbie
Registered: Aug 2015
Posts: 7
Rep:
|
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
|
|
|
08-16-2015, 02:09 AM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,238
|
From a terminal run this and reboot - it should add Win7 automatically.
|
|
|
08-16-2015, 10:52 AM
|
#3
|
LQ Newbie
Registered: Aug 2015
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
From a terminal run this and reboot - it should add Win7 automatically.
|
I gave that a try and am afraid it didn't work still only getting Linux Mint boot options
|
|
|
08-16-2015, 11:02 AM
|
#4
|
LQ Newbie
Registered: Aug 2015
Posts: 7
Original Poster
Rep:
|
|
|
|
08-16-2015, 11:29 AM
|
#5
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,255
|
Check your Links and uploads.
|
|
|
08-16-2015, 11:30 AM
|
#6
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794
|
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
|
|
|
08-16-2015, 12:32 PM
|
#7
|
LQ Newbie
Registered: Aug 2015
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
08-16-2015, 05:53 PM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794
|
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.
|
|
|
08-16-2015, 07:58 PM
|
#9
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,238
|
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
|
|
|
All times are GMT -5. The time now is 10:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|