LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2016, 04:40 PM   #1
Micik
Member
 
Registered: Dec 2004
Distribution: open suse
Posts: 137

Rep: Reputation: 15
Dual boot Win 7 / linux problem after setting active partition in Windows


Hello guys,

I have dual boot configuration on my computer for a few years now. The order of installation was the following:
1. first installation of windows 7
2. installation of open suse linux.

Since linux was second OS, it installed Grub loader so since then I have boot my computer via Grub loader where I had a menu to choose between linux and windows.

Because of this, it was not possible for me to install SP1 and I didn't care. However today I had to install SP1 since one third party software that I want to use under windows requires win7 SP1.

So, I have found one so called ]url=http://www.zdnet.com/article/quick-fix-for-windows-7-sp1-installation-errors/]quick fix[/utl] for my SP1 installation problem.

So I set my System reserved partition in Windows as active and after that after restart the computer, it now boots directly in windows without any menu or similar. Of course, this solved my original problem and I managed to install SP1 and the wanted software after that, but new problem emerged because now I have no option to bot into linux.

So my question now is how to create boot menu? I don't know where Grub was installed but I think I have overwritten it by setting system reserved partition in windows disk management as active one.

I know I have to be careful in order not to screw up my computer's boot.

Thank you for any advices.
 
Old 04-24-2016, 08:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,509
Blog Entries: 16

Rep: Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211
Running update-grub would likely help. This article explains how: http://howtoubuntu.org/how-to-repair...ubuntu-live-cd

Note that the article relates to Grub 2 and Ubuntu, but Grub instructions are generic. If by chance you have Grub 1 installed, a web search for "update-grub grub 1" should turn up the instructions.
 
Old 04-24-2016, 11:04 PM   #3
Micik
Member
 
Registered: Dec 2004
Distribution: open suse
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by frankbell View Post
Running update-grub would likely help. This article explains how: http://howtoubuntu.org/how-to-repair...ubuntu-live-cd

Note that the article relates to Grub 2 and Ubuntu, but Grub instructions are generic. If by chance you have Grub 1 installed, a web search for "update-grub grub 1" should turn up the instructions.

Thank you frankbell, but I was thinking about other solution such as to configure windows loader to give me option to boot linux. The real question is whether grub overwritten or placed somewhere else.
Becaue of dual boot I didn't have problem only with installing updates but also hibernation mode of windows didn't work.

I was thinking to use software like easy bcd but not sure whether my grub loader is deleted by seeting system reserved partition as aactive.
 
Old 04-24-2016, 11:35 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,809

Rep: Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168
When I used EasyBCD to do this, it required the Linux bootloader to be installed into the partition itself. In your case it will have been installed into the MBR which the SP1 install will have erased.
So I would expect you won't (easily) be able to setup the dual-boot under Windows - unless EasyBCD has been updated since I used it.

FWIW, I also did this primarily so I could use Windows hibernation, but I eventually stopped as I use Windows so rarely (I went back to grub on that laptop).
 
Old 04-25-2016, 03:17 PM   #5
Micik
Member
 
Registered: Dec 2004
Distribution: open suse
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
When I used EasyBCD to do this, it required the Linux bootloader to be installed into the partition itself. In your case it will have been installed into the MBR which the SP1 install will have erased.
So I would expect you won't (easily) be able to setup the dual-boot under Windows - unless EasyBCD has been updated since I used it.

FWIW, I also did this primarily so I could use Windows hibernation, but I eventually stopped as I use Windows so rarely (I went back to grub on that laptop).

So the best approach for me would be to find live boot suse CD and to install grub in order to access my for the time-being lost OS and its data? Could I try something with open suse installation DVD?
 
Old 04-25-2016, 04:58 PM   #6
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,690

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Quote:
Originally Posted by Micik View Post
Hello guys,

I have dual boot configuration on my computer for a few years now. The order of installation was the following:
1. first installation of windows 7
2. installation of open suse linux.

Since linux was second OS, it installed Grub loader so since then I have boot my computer via Grub loader where I had a menu to choose between linux and windows.

Because of this, it was not possible for me to install SP1 and I didn't care. However today I had to install SP1 since one third party software that I want to use under windows requires win7 SP1.

So, I have found one so called ]url=http://www.zdnet.com/article/quick-fix-for-windows-7-sp1-installation-errors/]quick fix[/utl] for my SP1 installation problem.

So I set my System reserved partition in Windows as active and after that after restart the computer, it now boots directly in windows without any menu or similar. Of course, this solved my original problem and I managed to install SP1 and the wanted software after that, but new problem emerged because now I have no option to bot into linux.

So my question now is how to create boot menu? I don't know where Grub was installed but I think I have overwritten it by setting system reserved partition in windows disk management as active one.

I know I have to be careful in order not to screw up my computer's boot.

Thank you for any advices.

download SuperGrub2 burn it to a USB stick it will save your life (almost) it will get you into Linux so you can re-install Grub and put things back the way they're suppose to be.

if you cannot burn it to usb stick in window, then get Linux Live usb and use dd method while you're running in that OS - that will require 2 USB Sticks

Last edited by BW-userx; 04-25-2016 at 05:00 PM.
 
Old 04-25-2016, 06:12 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,809

Rep: Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168
I think the OP wants to retain the Win loader in the MBR.
Quote:
Originally Posted by Micik View Post
So the best approach for me would be to find live boot suse CD and to install grub in order to access my for the time-being lost OS and its data? Could I try something with open suse installation DVD?
Either should work - you just need chroot access to the installed system. Run grub-install with --force specifying the partition rather than than the device node. You will get warnings re the use of blocklists. After that EasyBCD should find the code it needs to chain the SUSE install.
The issue with blocklist is that they are location dependant - if they move (say a defrag) grub will fail. Simple fix is to do likewise again. I haven't had any issue doing this - it was much more common using grub classic; the warning for grub2 puts people off.
 
  


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
In dual boot partition cant boot into linux after formatting the windows partition. SarahGurung Linux - General 9 08-27-2013 08:06 AM
HD partition dual boot with Win Xp windycity_linux Linux - Newbie 6 05-02-2006 06:11 PM
yoper install fail on dual boot win-linux system coz `linux partition not found` coolview210 Yoper 5 11-24-2004 02:04 PM
Dual booting with Win XP on a non active partition Creep General 3 05-31-2004 08:26 PM
Setting active partition back to /boot after XP reinstall fordsm Linux - General 3 04-28-2004 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration