LinuxQuestions.org
Review your favorite Linux distribution.
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-22-2014, 10:50 AM   #1
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Rep: Reputation: Disabled
Exclamation Windows 7 & Linux Mint Bootloaded Problem


Hey, I have Windows 7 and Linux Mint on one laptop. I installed EasyBCD on the Windows side so I could boot Linux. When I did that, the boot menu had Linux Mint twice and no windows. When I selected Linux Mint (they are both the same), I got the Grub2 menu. That had the usual Linux stuff & Mem test, but at the bottom, it had "Windows 7 (bootloader)". The windows 7 bootloader option just brought me back to the double Linux Mint option. I cannot get back to windows. Can you help me configure Grub2 to get access to Windows 7?

Thanks
 
Old 08-22-2014, 11:57 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
From what you have done, I don't think there is any way to "configure Grub2" to get access to Windows 7.

The problem is in the way you installed EasyBCD.

I don't know details of EasyBCD, so I don't know how practical it is to reconfigure that after having installed it wrong.

Do you have ntfs-3g installed in mint (can you mount the Windows partition in Mint and examine the directories and files there)?

I just looked at some EasyBCD documentation online and that appears to indicate its configuration is kept in files in the directory C:\NST and the most important file is C:\NST\menu.lst

If you mount your Windows partition within Mint and post a directory list of that directory and the contents of that file, that may help us give you more specific advice for fixing things. It would also help to have a list of partitions and the contents of your grub config file (I'm not sure of the location of that in Mint, but maybe /boot/grub/grub.cfg)

Last edited by johnsfine; 08-22-2014 at 12:11 PM.
 
Old 08-22-2014, 03:38 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,564

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
You did something wrong with EasyBCD or something went wrong. I've used it in the past and that is not the way it should work. It should show your windows option(s) first then Linux. One thing you can do is boot Mint and run: sudo update-grub and see if that adds anything to the Grub2 menu which is bootable.
 
Old 08-22-2014, 05:52 PM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by yancek View Post
One thing you can do is boot Mint and run: sudo update-grub and see if that adds anything to the Grub2 menu which is bootable.
One important detail from the first post is that the grub2 choice for Windows 7 brings the OP back to the EasyBCD menu. That makes it very unlikely that the first sector of the Windows boot code is located anywhere that update-grub could find to set up a chainload for Windows.

What I saw online about EasyBCD included details of what goes in its config file to boot XP bypassing the first sector of Windows boot code. But for Windows 7, it only showed how to make the GUI put the right thing in the config file. It did not show what that right thing would look like if you can't run the GUI and need to manually edit the config.

Maybe that GUI could be run inside Wine, but I wouldn't bet on it.
 
Old 08-22-2014, 08:14 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,564

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
One important detail from the first post is that the grub2 choice for Windows 7 brings the OP back to the EasyBCD menu.
And why would there even be an entry in Grub for windows and how did it get there. There should be a windows entry on the EasyBCD and probably before the Mint entries, that's my recollection of it. I had it installed on windows seven for a brief time about five years ago. It's still there but not used. There is an NST directory in the root of the C drive and there are also a number of folders/files in Program Files(x86), NeoSmart Technologies, EasyBCD which include a bcdedit file. The only logical thing is that the OP did not create an entry for his windows install in EasyBCD. I think that was necessary but it's been a while. The video at the link below shows an install and setup of a dual-boot windows 7 and Ubuntu and looks like windows needs to be selected in EasyBCD. I'll stick to Grub.

http://www.youtube.com/watch?v=nNVIvVUwaf4

Last edited by yancek; 08-22-2014 at 08:29 PM.
 
Old 08-23-2014, 06:54 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by yancek View Post
I had it installed on windows seven for a brief time about five years ago. It's still there but not used.
If it is still there, can you look at your
C:\NST\menu.lst

Your Windows 7 menu entry in that file should tell us what the OP's missing Windows 7 entry ought to look like.
 
Old 08-23-2014, 08:18 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,564

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
Your Windows 7 menu entry in that file should tell us what the OP's missing Windows 7 entry ought to look like.
It would but, unfortunately there is no menu.lst file just one file with an .mbr extension. I might try testing it later today if I get time but since the OP hasn't been back? I think the problem is he didn't put a windows entry in EasyBCD which is why when he selects windows from Grub, he just comes back to the same EasyBCD menu which chainloads him back to the Mint Grub.

Last edited by yancek; 08-23-2014 at 08:21 AM.
 
Old 08-24-2014, 02:54 PM   #8
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
Ok, here's what I got:
* Inside the NST Folder in the root of C, is the .mbr file.
* I found the menu.lst. It is for the Grub2 menu that comes after the Windows Bootloader (EasyBCD). Here is what it says:
Code:
timeout 10

title Windows at (hd0,0)
root (hd0,0)
chainloader +1
Is there a way to get Windows 7 onto the grub2 menu?
 
Old 08-24-2014, 05:33 PM   #9
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Does the .mbr file contain text? If so, its contents would help.
 
Old 08-24-2014, 06:56 PM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,564

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
techdude.

The entry you posted above is not from the Mint Grub2 configuration file. There is no menu.lst file in Grub2 that is only from Grub Legacy. It's been a while since I used EasyBCD so I don't know if it still uses a modified Grub Legacy but I don't know where else you would get that. You did say you found it in the NST folder on windows, correct. It indicates an entry to boot windows from the first partition of the first hard drive.

When you set up EasyBCD on windows 7, did you select the option to write to mbr?
Did you create an entry for windows 7 in EasyBCD?

It would be logical for you to see what you do, that infinite loop if you have no entry for windows in EasyBCD, you just get the Mint entries and if you select windows, you go back to the EasyBCD menu which only has the mint and memtest entries. Since you seem to have a windows entry in the EasyBCD menu.lst which you posted above, that doesn't seem right either.
Did you find the menu.lst file in the NST folder or was it in the .mbr file?

EasyBCD is just a front end (according to their forums) for boot.ini (xp) or bcd files (vista, 7) and does modify those files. Do you have a windows 7 installation medium you could use to repair the mbr. Your problem is on windows and not Mint Grub.

Last edited by yancek; 08-24-2014 at 10:45 PM.
 
Old 08-24-2014, 07:07 PM   #11
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
It does. It has to be opened my notepad via wine or windows. When I changed it from .mbr to .txt, Gedit wouldn't read it, and notepad had a bunch of hoopla characters and handful of readable lines:

Code:
Press space bar 
Press to start GRUB, any other key to boot previous MBR ...  to boot previous MBR, any other key to start GRUB ... 
Timeout: (A Set of 3 characters)
Invalid previous MBR. Press any key to start GRUB ...  to hold the screen, any other key to boot previous MBR ... 
Error while reading MBR of   in partition table of drive (hd0 )  
Error
Cannot find   in all drives. Press Ctrl+Alt+Del to restart. 
Try (hd0,0 ) :  EXT2:  NTFS5:  FAT32:  FAT16:  FAT12:  non-MS: skip  Extended:  invalid or null (lots of spaces) hot-key
There are 3 symbols after the timeout that look like "III".
A little down farther:
Code:
BIOS: Drive=0x%X, H=%d, S=%d
TUNE: Drive=0x%X, H=%d, S=%d
While scanning through the file, I noticed that "GRUB" was mentioned a couple of times and I ran into this on the third line:
Code:
Missing MBR-helper.
and this on another line:
Code:
NO NAME    FAT12
and this on another line:
Code:
error No ANG0
This one was in the middle of random symbols.

I have attached the .txt document if you want to look at it. You need to use windows' notepad. It won't open any other way.

Hope this helps.
Attached Files
File Type: txt AutoNeoGrub0.txt (9.0 KB, 34 views)
 
Old 08-24-2014, 10:54 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,564

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
In your initial post, you indicated you installed EasyBCD on windows 7. I take that to mean that you wrote it to the master boot record, is that correct? You see the EasyBCD menu on boot and select Mint and are taken to the Mint Grub menu and can boot Mint, is that correct? You also have an entry for windows in Grub and when you select that it takes you back to the EasyBCD menu with the dual Mint and memtest entries. You don't have an entry for windows in EasyBCD. You should see windows 7 on the first boot menu screen along with Mint.

When you select windows from the Grub menu, it chainloads to the windows partition boot sector. In other words, as soon as you click on the windows entry from Grub, the booting is turned over to windows. Your windows boot files are incorrect in some way and nothing you do on Mint or with Grub is going to help. You need to repair the windows boot files which you can do with a windows installation medium or possibly with your Recovery CD using the Repair function. There may be other software to use for this purpose. Since this is a windows problem, you might be better off going to a windows forum or the microsoft support site for help. Although my Desktop computer has windows 7 on it, I rarely use it so don't have any other suggestions. The neosmart site previously had an iso you could download which was basically EasyBCD on a CD which seems like it would be a lot more useful. Unfortunately, although it is still available, they charge $20.00USD.
 
Old 08-29-2014, 08:33 PM   #13
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
Well, I got it fixed. That you for all your help. Here is what I did:

1. I downloaded the Paragon Rescue Kit 9.
2. I ran the installer on another computer to get the .iso file it creates.
3. Burned it onto a CD (not a dvd, it's small enough)
4. Put it into my laptop
5. restarted and booted via DVD/CD Drive
6. Ran the boot repair thing
7. Done Windows 7 appeared at the bottom of the EasyBCD menu. And here I am writing this.
 
  


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
How to transfer from old computer of Windows 7 & Linux Mint files to new computer Socrates2 Linux Mint 12 07-02-2014 01:20 PM
Linux [Mint 13] & Windows 7 Transfer to SSD ? steak1987 Linux - Newbie 1 09-21-2012 06:19 AM
Mint Linux - Black X - Windows manager problem jim.thornton Linux - Newbie 3 11-10-2011 08:37 AM
LXer: SABnzbd+ Install, Setup, & Configuration Guide for Ubuntu & Linux Mint! LXer Syndicated Linux News 0 07-25-2011 04:40 AM
LXer: XBMC Install, Setup, & Configuration Guide for Ubuntu & Linux Mint LXer Syndicated Linux News 0 03-05-2011 10:00 AM

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

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