Fixing grub to show Windows 7 on separate hard drive
Linux - SoftwareThis 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.
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.
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
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.