Duel Boot Problems

Help with issues regarding installation of Debian

Duel Boot Problems

Postby 0x7DEB » 2018-05-18 04:30

Hi there,

I'm having problems with duel boot, I even did what the Debian wiki said "Install Windows in GPT".

I installed windows 10 first in GPT then I duel booted Debian with 16GB swap space and rest for /ext4 (256 for Debian and 256 for windows) it auto partitioned for me. I have 512GB HDD. I can see in fdisk -l that windows is there but cant boot into it.

Then I rebooted and there was no grub or debian it went str8 to windows, so I ran a command
Code: Select all
bcdedit /set {bootmgr} path \EFI\debian\grubx64.efi

as shown in some forums.

Now I cant boot into windows, only boots into debian, I can see grub but no option for windows 10, please help all my work is in windows :( I love Debian.

I have also tried

menuentry "WIndows" {
insmod chain
insmod ntfs
set root={hd0,1}
chainloader +1
}

There was also another way to do with UUID but not sure how that works and cant find correct UUID

Also btw secure boot and fast boot is off.
0x7DEB
 
Posts: 3
Joined: 2018-02-02 02:21

Re: Duel Boot Problems

Postby Head_on_a_Stick » 2018-05-18 05:16

0x7DEB wrote:I have also tried

menuentry "WIndows" {
insmod chain
insmod ntfs
set root={hd0,1}
chainloader +1
}

^ That's for non-UEFI Windows systems, for UEFI systems point the chainloader to /EFI/Microsoft/Boot/bootmgfw.efi with the EFI system partition set as the root.

EDIT: and drop the insmod stuff, I never need those lines.
"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher."
— Antoine de Saint Exupéry, Terre des Hommes (1939).
User avatar
Head_on_a_Stick
 
Posts: 7551
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Duel Boot Problems

Postby p.H » 2018-05-18 07:59

You may need to adjust the partition numbers to match the EFI partition.
The proper menu entry should be added automatically by update-grub if os-prober is installed and not disabled /etc/default/grub.
p.H
 
Posts: 394
Joined: 2017-09-17 07:12


Return to Installation

Who is online

Users browsing this forum: cristianoub and 4 guests

fashionable