LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-26-2015, 03:58 PM   #1
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Rep: Reputation: Disabled
Bootloader issues


I'm having issues with my bootloaders (yes, it's plural). Here's what I have:
Windows 7 (Internal HDD w/ MBR)
Linux Mint 17.2 (Internal HDD)
Kali Linux (External HDD w/ MBR)

I cannot boot into windows, Grub has a listing for Windows 7 (Loader). It then goes exactly back where I came from. I like linux, but there are some things that I need Windows for.

I used the Paragon Rescue CD 14, and some how bypassed Kali's MBR, and it goes straight to the Windows 7 Loader. Here are the options on the Windows 7 Loader:
Code:
Linux Mint 17.2
Memtest
Windows 7 (Loader)
Kali Linux
When I select the Windows 7 option, it brings me right back to this menu. Is there any rescue CD that can let me recreate a bootloader (preferably free).
 
Old 09-26-2015, 06:11 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Try udating Grub that should help.

Boot into Linux Mint and run:
Code:
sudo update-grub
When you installed Kali on your external HDD did the bootloader install?
 
Old 09-26-2015, 06:18 PM   #3
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
The currently running bootloader is grub on windows. When I installed Kali, it added another bootloader. That's how I got two. When I used the Paragon Rescue disc, it bypassed Kali's bootloader. All I have left is Windows.

Last edited by techdude; 09-26-2015 at 06:19 PM.
 
Old 09-26-2015, 06:37 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I know you said all you have left is Windows.....
So can you confirm are you able to boot into Linux Mint or Kail at this point?

If you can't boot into your Linux os's than use the Linux Mint CD/DVD or the usb stick to run this command and post back what the output is. Run this as root-

Code:
fdisk -l  (small letter L)
 
Old 09-26-2015, 06:44 PM   #5
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
I'm currently in Mint, I can boot both Mint and Kali. The issue is that Grub is registering the bootloader on Windows and not the OS itself. Here's the output to that command:
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x07f2837e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      208844      104391   de  Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2   *      212992    41172991    20480000    7  HPFS/NTFS/exFAT
/dev/sda3        41172992   775002111   366914560    7  HPFS/NTFS/exFAT
/dev/sda4       775004158   976771071   100883457    5  Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5       775004160   964366335    94681088   83  Linux
/dev/sda6       964368384   976771071     6201344   82  Linux swap / Solaris
The external that has Kali is not plugged in right now.
 
Old 09-26-2015, 06:52 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Open the konsole in Mint and run sudo update-grub-

Reboot and see if you can boot into Windows:-

If not you may need boot repair for Windows.
What version of Windows are you running?
 
Old 09-26-2015, 06:54 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
http://ubuntuforums.org/showthread.php?t=1714705

Last edited by Ztcoracat; 09-26-2015 at 06:58 PM.
 
Old 09-26-2015, 08:20 PM   #8
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
I updated grub, and nothing happened. Grub sees itself, and I need it to see through itself to Windows 7. The bootloader is on Windows 7. Also, I don't have a repair disc for Windows. Isn't there something out there to completely redo the bootloader? All this is doing is looking at the current one and editing it. I need a NEW one.
 
Old 09-27-2015, 12:06 AM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by techdude View Post
I updated grub, and nothing happened. Grub sees itself, and I need it to see through itself to Windows 7. The bootloader is on Windows 7. Also, I don't have a repair disc for Windows. Isn't there something out there to completely redo the bootloader? All this is doing is looking at the current one and editing it. I need a NEW one.
Hi...

Would the instructions here be of help?

Regards...
 
Old 09-27-2015, 08:15 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
In your initial post, you indicate you have Mint and windows 7 on the internal drive with windows boot code in the MBR. Since a default installation of windows is not capable of booting Linux, did you install and are you using third party software such as EasyBCD or did you manually modify the windows boot files yourself? Or possibly when you say "windows loader", are you referring to the bootloader on the first drive on which you have windows 7 and Mint?

When you installed Kali, did you accept the default for the bootloader installation or did you install it to the MBR of the external drive?

Quote:
The currently running bootloader is grub on windows.
If you mean grub on the windows hard drive, it should be possible to fix. If you mean you installed grub code to the windows partition, that's another and bigger problem, especially if you don't have the windows installation medium.

Since you can boot Mint, in order for us to get detailed information, go to the site below and download and run the boot repair script. Make sure you select to 'Create BootInfo Summary" rather than try any repair. Post the file it outputs here so someone can review it.

https://help.ubuntu.com/community/Boot-Repair
 
Old 09-27-2015, 09:28 PM   #11
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
Here:
http://paste2.org/X9f9ek9e
Also, I used Easy BCD when I first installed Mint, only because I forgot to change where mint installed grub. It installed it on itself. When I installed Kali, it didn't give me an obvious place to install grub to, so, it became the new main one. On there was Windows 7 Loader (EasyBCD), and Mint. I tried to move Kali's bootloader off of my external, so I didn't need it to boot up. Instead, it created this mess. I used grub customizer to install it to the MBR. That is what made this mess.

Before you say anything, I screwed up big time.

Also, I had a USB with Linux Mint 17.2 Live on it, so that's sdc.

Last edited by techdude; 09-27-2015 at 09:30 PM.
 
Old 09-27-2015, 11:17 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
If you look at the very top of the boot repair output, you will see that you have windows code in the master boot record of sda and sdb, that is both the 500GB and 1TB drives. You could install Grub to the master boot record of sda where you have Mint and install Grub to the master boot record of sdb where you have Kali. I doubt that this would help as you say you can currently boot both but cannot boot windows. Did you notice in the boot repair that you have Grub installed on sda2 and sda3 and that BOTH of those partitions are windows partitions. Grub should never be installed on a windows partition and that would not have happened during an install. Most likely what happened is that you have overwritten the IPL with Grub code on the windows partitions. That would explain the continuous loop when you select windows and go back to the Grub menu, if I understand your initial post. Since you indicated you do not have a windows installation disk, you will need to find some other method to repair the windows boot code. I don't use windows so hopefully some member who does will come along with a suggestion.
 
1 members found this post helpful.
Old 09-27-2015, 11:58 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
You could try calling the manufacturer that made your pc with Windows on it and ask them to send you the Recovery Disc's.
Those disk's can be pricey.

Sorry I don't know how to repair the Windows boot code.
Maybe try here:

http://www.terabyteunlimited.com/kb/article.php?id=556
 
Old 09-28-2015, 09:02 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
The link below "had" repair iso files but was asked to remove them by microsoft, explained in detail at the link.

http://www.techfleece.com/2011/05/06...7-repair-disk/

Neosmart Technologies has an iso available for download which will do the job. Last I checked it was $20USD. It had been a free download but that changed when microsoft complained to them, see the second link below.

https://neosmart.net/blog/windows-recovery-discs/

https://neosmart.net/blog/2011/windo...ed-reinstated/

Most manufacturers with a pre-installed windows system will offer the installation medium for an additional cost at the time of purchase which considering the alternative, is the best option available. There might be some free download of a repair disk but I don't know of any.

Last edited by yancek; 09-28-2015 at 09:09 AM.
 
Old 09-28-2015, 04:48 PM   #15
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
I'm going to try the repair option with the Windows install disc. Just a quick question, would running the boot-repair possibly fix it, or would it make things worse?
 
  


Reply



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
bootloader/mbr issues in 10.1 metamaverick SUSE / openSUSE 8 07-19-2006 08:16 AM
Bootloader issues? Rayek Linux - Hardware 5 05-18-2006 02:49 AM
XP bootloader issues with grub Gweedo SUSE / openSUSE 5 09-02-2005 09:45 PM
FC3 Bootloader issues wreckingcru Linux - Newbie 6 04-25-2005 05:18 PM
Mandrake 9.2 Bootloader Issues dwessell Mandriva 1 05-08-2004 08:51 AM

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

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