Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


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

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
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,683

Rep: Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177
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
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
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:

# 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
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,332

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
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

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
1 members found this post helpful.


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 / openSUSE 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 / openSUSE 11 02-15-2008 11:23 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration