LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-01-2014, 01:04 PM   #1
Stoned_Pancake
LQ Newbie
 
Registered: Aug 2014
Location: Belgium
Distribution: Debian
Posts: 4

Rep: Reputation: Disabled
Adding Windows 8.1 to Grub


Hello I'm a Linux noob

I just installed Debian 7.6.0 without any issues. However, I can't seem to boot into Windows 8 anymore (don't worry I didn't format the Windows partition). In Grub I have two OS options Debian 7.6.0 and Debian 7.6.0 (recovery), but no Windows 8. How do I add Windows 8 to Grub?

Some additional information; both Debian and Windows are on the same HDD, but on different partitions.

-SP
 
Old 08-01-2014, 02:07 PM   #2
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
You will have to do it as root through the terminal. I dont know what version of grub you have so you can start by becoming root in your terminal then as root type the command
Code:
update-grub
hit enter and let it run then reboot and see if the windows entry appears.
If it doesnt appear then you can try again a different command, as root ofcourse type
Code:
 grub-mkconfig -o /boot/grub/grub.cfg
and hit enter, let it run and reboot once is done.

good luck to you
 
Old 08-01-2014, 08:10 PM   #3
Stoned_Pancake
LQ Newbie
 
Registered: Aug 2014
Location: Belgium
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
I tried both solutions you gave, but neither was succesful :/
 
Old 08-01-2014, 08:24 PM   #4
Goobers
Member
 
Registered: Jul 2014
Posts: 56

Rep: Reputation: Disabled
Is this a UEFI system? Can you call up the boot menu during post? The key the call it is a usually a function key that varies between BIOS companies. Mine is F7 on my laptop, F8 on my desktop... Another member has F11, etc, so... Try spamming the F-keys to find yours, if you don't have an owner's manual for it. An option to boot to windows should show if it isn't corrupted or wiped out. If it shows up, try installing rEFInd. While grub/grub2 (not grub legacy) support UEFI, I find rEFInd very simple to install and use. Another way to check is to actually go into BIOS itself to the screen that shows boot order... Windows should be an option.

If you don't have UEFI... Well, i dunno then. It would be well over a decade since I last attempted installing Linux, dual boot at that, prior to my recent Slackware install in a UEFI system. I do remember needing to do quite a bit of work to get it to dual boot.

Last edited by Goobers; 08-01-2014 at 08:26 PM.
 
Old 08-01-2014, 08:36 PM   #5
Stoned_Pancake
LQ Newbie
 
Registered: Aug 2014
Location: Belgium
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes it is a UEFI system. And I do know how to get in my BIOS, luckily I'm not that much of a noob (only when it comes to linux). I am able to boot into windows, but it ask me to remove bootable media (before windows start loading), eventhough I don't have any bootable USB's or CD/DVD's in my pc

Last edited by Stoned_Pancake; 08-01-2014 at 08:39 PM.
 
Old 08-01-2014, 08:50 PM   #6
Goobers
Member
 
Registered: Jul 2014
Posts: 56

Rep: Reputation: Disabled
Quote:
Originally Posted by Stoned_Pancake View Post
Yes it is a UEFI system. And I do know how to get in my BIOS, luckily I'm not that much of a noob (only when it comes to linux). I am able to boot into windows, but it ask me to remove bootable media (before windows start loading), eventhough I don't have any bootable USB's or CD/DVD's in my pc
No, i meant there's an actual menu that you can use directly without going into BIOS itself.

Asking you to remove bootable sounds like it is either a corrupt or swapped bootloader. Even though you say it is a UEFI system, is it in UEFI mode? Some howtos talking about swapping UEFI mode into BIOS mode... But thats usually for systems that plan on single booting Linux, which i find pointless, since BIOS-MBR mode offers little to nothing over UEFI, beyond support for older bootloaders. Though, UEFI doesn't offer much over BIOS-MBR either, in single booting Linux.
 
Old 08-02-2014, 05:33 AM   #7
Stoned_Pancake
LQ Newbie
 
Registered: Aug 2014
Location: Belgium
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes I do too believe that the Windows bootloader is corrupted (that's the reason I want to add windows to Grub).
Also this is pic of the menu you were refering to: https://db.tt/aQRgpB8x
And this a pic of what happens when choosing notebook harddrive: https://db.tt/SLszaSpO
When choosing boot from EFI file it goes to Grub.
EDIT: I don't have any windows/recovery disks (it's a recovery partition on the second HDD), when choosing system recovery in the post-menu I get the same please remove bootable media message.
Also what effect would reinstalling/repairing Windows have, I would just try doing it, but I'm afraid I'll screw this situation up even more

Last edited by Stoned_Pancake; 08-02-2014 at 07:39 AM.
 
  


Reply



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
Adding windows os to grub neelaykulkarni Linux - Newbie 2 06-16-2009 02:43 PM
Adding Windows to GRUB admanb Red Hat 14 05-21-2005 10:35 PM
Adding Windows XP to Grub CAL Fedora 5 08-11-2004 01:44 AM
grub+adding windows option gonus Debian 3 08-01-2004 03:43 PM
Adding Windows XP to Grub.conf RoaCh Of DisCor Linux - Software 2 07-18-2004 11:14 PM

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

All times are GMT -5. The time now is 06:36 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