LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 02-12-2014, 08:29 AM   #1
DLG
LQ Newbie
 
Registered: Feb 2014
Location: Suffolk
Distribution: openSuse & Mint
Posts: 1

Rep: Reputation: Disabled
Dual Boot of openSuse 13.1 and Windows 7


Some time ago I installed Windows 7 on a new PC in order to be able to use some Windows-only programs not available in Linux. I then installed openSuse 12.2 in the remaining free space. All went well; on booting the PC I was presented with a menu which offered me both systems but which defaulted to Suse which I use predominantly. This situation remained on upgrade to openSuse 12.3. However, when I came to upgrade the Windows OS something went wrong and I lost the ability to boot either system. Fortunately this was at the time of the release of openSuse 13.1, and I used it's installation disk to try and rectify the situation. This was partially sucessful - the openSuse installer found the openSuse 12.3 system and correctly upgraded the system there, but no longer offers Windows on booting. Suse can see and mount the Windows NTFS partition on sda2.

I had hoped, via Yast, I could amend the boot process such that Windows could now be offered as a menu option as before, but I cannot see how to do this. Can you please give me some help/suggestions on how to restore my PC to its former dual-boot state? Needless to say I no longer wish to upgrade Windows; just get to use it when the (infrequent) need arises. Thanks and fingers crossed for an easy solution
 
Old 02-12-2014, 08:46 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,689

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
I would recover win7 with its recovery disk (you will be able boot win7 again) and after that with opensuse install disk you will be able to recover the dual boot.
 
1 members found this post helpful.
Old 02-13-2014, 12:46 PM   #3
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 293

Rep: Reputation: 36
Are you saying that the GRUB2 entry is missing, or that the entry is there, but Windows is unable to boot?

The Windows entry is usually detected by the GRUB os-prober script. I believe it's located in /etc/grub.d/30-osprober or something like that.

You can force GRUB to autoupdate the config and see if that fixes the situation.

As root:

Code:
# cd /boot/grub/
# cp ./grub.cfg ./grub.cfg.old
# grub2-mkconfig -o /boot/grub/grub.cfg
If that doesn't populate, you can manually specify the Windows 7 partition in one of the custom entry scripts (I think 40-custom or 41-custom in /etc/grub.d/). This only works if you didn't overwrite the Windows Bootloader since it relies on chainloading.

Edit: Post your results of running grub2-mkconfig, and if that isn't successful I'll post a custom entry
 
Old 02-13-2014, 04:32 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 14,009

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
i solved this issue by not getting into it in the firstplace
" the only way to win it not to play the game "

win7 is installed to sda1
sda2 is windows DATA
sda3 Scientificlinux /boot
sda4 sl6

sdb1 Opensuse / boot
sdb2 opensuse /

set the bios to boot in this order
sdb1
sda3
sda1

opensuse boots all three ( grub2)
chainloads to windows 7

if i remove the opensuse drive
SL6 ( grublegacy) is used to chainload to windows

windows is "HAPPY HAPPY JOY JOY" because the MBR on the FIRST drive is windows bootloader

opensuse chainloads to it

i can update win7 and HAVE NO !!! issues with it replacing grub
because windows bootloader IS ON THE MBR
 
  


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
Opensuse 12.2 dual boot, boot menu not seeing windows rayC Suse/Novell 1 02-01-2013 02:41 AM
How to dual boot opensuse 11.3 and windows xp (opensuse 11.3 is installed first) varunb Linux - Newbie 13 11-10-2011 03:10 AM
Partitioning for dual boot OpenSUSE and Windows 7 dunraven23 Linux - Newbie 11 01-26-2010 09:38 AM
Dual boot Windows XP and OpenSuse ggyyree Linux - Newbie 5 11-20-2009 12:53 PM
[Help] Windows Vista and OpenSuse 10.3 Dual Boot edgartech Suse/Novell 11 02-15-2008 11:23 AM


All times are GMT -5. The time now is 04:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration