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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-19-2015, 09:05 AM
|
#1
|
Senior Member
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,304
Rep:
|
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.
|
|
|
05-19-2015, 10:00 AM
|
#2
|
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
|
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.
|
05-19-2015, 11:06 AM
|
#3
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
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.
|
05-19-2015, 11:30 AM
|
#4
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,359
|
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.
|
05-20-2015, 04:58 AM
|
#5
|
Senior Member
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,304
Original Poster
Rep:
|
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.
|
|
|
05-20-2015, 07:30 AM
|
#6
|
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
|
Quote:
Originally Posted by rblampain
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.
|
05-20-2015, 07:37 AM
|
#7
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,359
|
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.
|
All times are GMT -5. The time now is 03:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|