LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-19-2015, 09:05 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
Cannot boot Windows 7 under dual OS with Debian 8


I have recently installed Debian 8 (netinstall) to replace Debian 7 on a Windows 7/Debian 7 dual boot system. Exactly the same partitions have been used and Windows 7 has not been touched. The Installer detected Windows OS and asked if GRUB should be put in the MBR, after selecting a Yes answer it asked if this should be on SDA1 or on the USB stick containing the boot image, SDA1 was selected and at the completion, the USB stick was removed to reboot. UEFI was already disabled before install.

Now I am unable to boot in Windows 7, the only option is Debian 8 or Debian 8 Rescue. I suspect I need to change GRUB.

Can anyone suggest a solution? There must be one on the Internet but I cannot find it.

Just as a coincidence, I have exactly the same problem (installs done on the previous day) on another laptop purchased a few days ago which has Windows 8.1 but this does not really matter as Windows will never be used on that one, UEFI had to be disabled on this laptop and, if my recollection is correct, the Installer did not even detect Windows 8.1, I hope Bill will be happy to know 50G of HDD have been wasted for Windows on this laptop.

Thank you for your help

Last edited by rblampain; 05-19-2015 at 09:07 AM.
 
Old 05-19-2015, 10:00 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Try re-running the GRUB configuration (dpkg-reconfigure grub-efi-*), and carefully choosing your responses. Make sure what you think is highlighted is, etc. GRUB installed properly, or you wouldn't be getting any options. Something is going wrong with the Windows detection perhaps.

Way back long ago when I still dual booted (I haven't done so in a long time, however), on occasion my Windows partition had to be mounted in order for it to be properly added to GRUB's menu. I never figured out why. Try giving that a shot.
 
2 members found this post helpful.
Old 05-19-2015, 11:06 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,343

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Quote:
UEFI was already disabled before install.
If windows is booting in uefi mode, it would be better to install debian 8 in uefi mode.

Last edited by colorpurple21859; 05-19-2015 at 11:07 AM.
 
1 members found this post helpful.
Old 05-19-2015, 11:30 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,963
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
rblampain,

First try booting from your Debian 8 live DVD or USB flash drive and follow these instructions to repair Grub2:

http://www.howtogeek.com/114884/how-...ntu-wont-boot/

If that doesn't work, I would do as colorpurple21859 suggests, select UEFI and follow this guide:

Dual boot W8 (UEFI) & Ubuntu 14.04:

http://www.dedoimedo.com/computers/d...-8-ubuntu.html
 
1 members found this post helpful.
Old 05-20-2015, 04:58 AM   #5
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Thank you for your replies.

No, Windows has never booted in UEFI mode with Linux installed but it has without Linux and the laptop on which I need Windows has Windows 7 with BIOS enabled, not UEFI, I do not intend to upgrade Windows on that machine because the only Windows software I need is some Australian government software that works under Windows 7 but not under Debian.

I will try goumba's suggestion (dpkg-reconfigure grub-efi-*) but I do not have enough experience to figure out what "*" stand for and I do not want to proceed blindly.

Last edited by rblampain; 05-20-2015 at 05:01 AM.
 
Old 05-20-2015, 07:30 AM   #6
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by rblampain View Post
Thank you for your replies.
I will try goumba's suggestion (dpkg-reconfigure grub-efi-*) but I do not have enough experience to figure out what "*" stand for and I do not want to proceed blindly.
Run, as root:

Code:
dpkg-reconfigure grub-pc
When I was running in legacy mode on my Debian laptop, that was the package to be reconfigured.

If this doesn't work for you, run

Code:
dpkg -l | grep grub
to narrow down which package to reconfigure. It will not be either of the common packages.

Last edited by goumba; 05-20-2015 at 07:36 AM.
 
1 members found this post helpful.
Old 05-20-2015, 07:37 AM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,963
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
rblampain,

This W7 (non-UEFI) dual boot with Xubuntu guide should help you:

http://www.dedoimedo.com/computers/d...7-xubuntu.html

Last edited by beachboy2; 05-20-2015 at 07:38 AM.
 
1 members found this post helpful.
  


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
[SOLVED] Dual boot, debian and windows 8 orcaja Debian 4 07-01-2014 09:52 PM
Windows 7 and Linux (debian) dual boot how-to? fof3 Linux - Software 11 09-08-2010 10:01 PM
Windows XP and Debian Dual Boot Issue DarkenedHeart Debian 5 09-03-2008 06:45 PM
Dual boot (Debian, Windows) skinter Linux - Newbie 7 06-14-2005 12:06 PM
lilo windows xp debian dual boot chris3435 Linux - Newbie 1 03-18-2004 01:06 AM

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

All times are GMT -5. The time now is 02:10 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
Open Source Consulting | Domain Registration