Answer the question
In order to leave comments, you need to log in
How to add windows 10 to grub boot menu?
There was windows 10 on the ssd.
I broke the hdd for installing linux mint, but after installing it, only windows 10 was loaded. I solved this with a clean installation of Linux, the installer partitioned the disk as he needed. As a result, linux is loaded, windows 10 is not, and besides, I can’t enter the bios settings: the boot menu is empty there, the bios setup does not open.
There is only linux in the grub boot menu.
Is there a way to add windows to the grub bootloader menu, how to make sure it can start and it doesn't kill a running linux?
Grub looks like this:
With the lsblk command, the result is:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 465,3G 0 part /
sdb 8:16 0 118G 0 disk
├─sdb1 8:17 0 117,2G 0 part
└─sdb2 8:18 0 790M 0 part
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 245839254 245837207 117,2G 7 HPFS/NTFS/exFAT
/dev/sdb2 245839872 247457791 1617920 790M 27 Hidden NTFS WinRE
/dev/sdb1: LABEL="M-PM-^TM-PM-8M-QM-^AM-PM-:" UUID="2EE6EE17E6EDDF59" TYPE="ntfs" PARTUUID="d7209484-01"
menuentry "Windows 10" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 2EE6EE17E6EDDF59
chainloader +1
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question