Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Dual booting

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
sfa1976
Posts: 3
Joined: 2017-04-19 15:42

Dual booting

#1 Post by sfa1976 »

I just installed debian along side windows 8.1. I can't boot into windows now. I googled and read everything and tried it all but I think the problem is that I can't find anything that works is because everything is written for ubuntu. I've tried os-prober and update-grub with no luck. I'd post links but I've tried so many things I don't know where to start. I'm sorry I can't give more information but I really am stumped.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

#2 Post by phenest »

What version of Debian? And also, please post the output of:
fdisk -l
(run as root)
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

sfa1976
Posts: 3
Joined: 2017-04-19 15:42

Re: Dual booting

#3 Post by sfa1976 »

Jessie

Code: Select all

/dev/sda1       2048   1026047   1024000   500M EFI System
/dev/sda2    1026048   1107967     81920    40M unknown
/dev/sda3    1107968   1370111    262144   128M Linux filesystem
/dev/sda4    1370112   2394111   1024000   500M Windows recovery environment
/dev/sda5    2394112 868732927 866338816 413.1G Microsoft basic data
/dev/sda6  868732928 919932927  51200000  24.4G Linux root (x86-64)
/dev/sda7  919932928 940412927  20480000   9.8G Linux filesystem
/dev/sda8  940412928 950652927  10240000   4.9G Linux swap
/dev/sda9  950652928 951574527    921600   450M Windows recovery environment
/dev/sda10 951574528 952291327    716800   350M Windows recovery environment
/dev/sda11 952291328 976771119  24479792  11.7G Windows recovery environment
Sorry I'm pretty new to this and it's the first time I've dual booted with windows,

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

#4 Post by phenest »

What is the output of:

Code: Select all

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

millpond
Posts: 698
Joined: 2014-06-25 04:56

Re: Dual booting

#5 Post by millpond »

If memory serves me right, there has been a long standing problem with Win8.x and dual booting.

The best way to dual boot is if your mobo BIOS will permit you to choose boot device. My Intel mobo does.

Then disable with Win drive, and Install Linux on another drive. So that it never sees the Win drive during install.

When all is working, reconnect the Win drive - and choose whatever you want to boot to in BIOS. Just be sure to note what drive type is booting what.

And do not ever, ever 'update grub'.

There is also a USB stick util whose name escapes me that will handle multiboots. But beware - it does use grub.
The problem with grub is that it will take out the master Boot Record on a Win drive, requiring a 'fixmbr' from an external boot device.
Even if you remove Linux, the Win drive will be unbootable, until repaired.

I personally regard grub as evil.

sfa1976
Posts: 3
Joined: 2017-04-19 15:42

Re: Dual booting

#6 Post by sfa1976 »

okay thanks for all the infornation

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

#7 Post by phenest »

millpond wrote:The problem with grub is that it will take out the master Boot Record on a Win drive
The OP has an EFI partition. Therefore no MBR.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Dual booting

#8 Post by Dai_trying »

phenest wrote:
millpond wrote:The problem with grub is that it will take out the master Boot Record on a Win drive
The OP has an EFI partition. Therefore no MBR.
The OP may have enabled legacy boot to install Debian, therefore causing the boot failure of Windows (it still wants UEFI) as the system could be booting from MBR now, but unless OP gives requested information we can all just keep guessing and I'm sure somebody will be right if we all have a guess.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

#9 Post by phenest »

I did ask the OP to show us the output of a command so we would know how it was installed. But they failed to submit that.

As for Windows: There is no way to know how it was installed, and which OS is using the EFI. if Windows is booted via EFI then it will continue to be perfectly bootable without need for repair, providing Debian is also installed via EFI. If Debian is installed via Legacy, then that would be why Windows isn't even detectable.

This was the OP's last reply:
sfa1976 wrote:okay thanks for all the infornation
Wish I could say the same.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Post Reply