Dual booting

New to Debian (Or Linux in general)? Ask your questions here!

Dual booting

Postby sfa1976 » 2017-04-19 15:52

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.
sfa1976
 
Posts: 3
Joined: 2017-04-19 15:42

Re: Dual booting

Postby phenest » 2017-04-19 17:33

What version of Debian? And also, please post the output of:
fdisk -l

(run as root)
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

Postby sfa1976 » 2017-04-19 19:31

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,
sfa1976
 
Posts: 3
Joined: 2017-04-19 15:42

Re: Dual booting

Postby phenest » 2017-04-19 20:13

What is the output of:
Code: Select all
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

Postby millpond » 2017-04-20 06:34

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.
millpond
 
Posts: 582
Joined: 2014-06-25 04:56

Re: Dual booting

Postby sfa1976 » 2017-04-20 09:10

okay thanks for all the infornation
sfa1976
 
Posts: 3
Joined: 2017-04-19 15:42

Re: Dual booting

Postby phenest » 2017-04-20 14:48

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Dual booting

Postby Dai_trying » 2017-04-20 14:56

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.
Dai_trying
 
Posts: 288
Joined: 2016-01-07 12:25

Re: Dual booting

Postby phenest » 2017-04-20 18:10

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable