Add Windows 10 to GRUB for Dual Boot

General support questions
kop524
Posts: 5
Joined: 2017/03/21 13:37:25

Add Windows 10 to GRUB for Dual Boot

Post by kop524 » 2017/03/21 13:46:47

Hi I just installed CENTOS 7 beside my win 10 x64 but even though I have os-prober installed it won't even add Windows 10 x64 which is needed for my college.
Here is lsblk cmd output attached as didks.txt.

What do I have to do to add and boot into windows??

Regards, Horacy.

Here lsblk and blkid logs: http://pastebin.com/eHWQWtuz
disks.txt
(403 Bytes) Downloaded 173 times
Last edited by kop524 on 2017/03/21 14:46:20, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Add Windows 10 to GRUB for Dual Boot

Post by TrevorH » 2017/03/21 14:45:42

Do you have the ntfs-3g package from EPEL installed? The system won't understand ntfs formated filesystems without that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

kop524
Posts: 5
Joined: 2017/03/21 13:37:25

Re: Add Windows 10 to GRUB for Dual Boot

Post by kop524 » 2017/03/21 14:47:20

Hi yes ntfs-3g, ntfsprogs and os-prober are installed. Just check link I gave to all logs.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Add Windows 10 to GRUB for Dual Boot

Post by tunk » 2017/03/21 15:03:10

Can you list the output of fdisk -l?

kop524
Posts: 5
Joined: 2017/03/21 13:37:25

Re: Add Windows 10 to GRUB for Dual Boot

Post by kop524 » 2017/03/21 15:07:20

fdidk -l output:
Dysk /dev/sda: 1000.2 GB, bajtów: 1000204886016, sektorów: 1953525168
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 4096
Rozmiar we/wy (minimalny/optymalny) w bajtach: 4096 / 4096
Typ etykiety dysku: gpt


# Start End Size Type Name
1 534528 567295 16M Microsoft reser Microsoft reserved partition
2 567296 1488895 450M Windows recover Basic data partition
3 1488896 1693695 100M EFI System EFI System Partition
4 1693696 1452466175 691,8G Microsoft basic Basic data partition
5 1452466176 1871896575 200G Microsoft basic
6 1871896576 1924325375 25G Linux filesyste
7 1924325376 1926373375 1000M Windows recover Basic data partition
9 1934761984 1951475711 8G Linux swap

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Add Windows 10 to GRUB for Dual Boot

Post by tunk » 2017/03/21 15:15:12

And the output from df and parted -l?

kop524
Posts: 5
Joined: 2017/03/21 13:37:25

Re: Add Windows 10 to GRUB for Dual Boot

Post by kop524 » 2017/03/21 15:24:23

df:
System plików 1K-bl użyte dostępne %uż. zamont. na
/dev/sda5 209715200 6480672 201788160 4% /
devtmpfs 3674336 0 3674336 0% /dev
tmpfs 3690172 18928 3671244 1% /dev/shm
tmpfs 3690172 9284 3680888 1% /run
tmpfs 3690172 0 3690172 0% /sys/fs/cgroup
/dev/sda6 25671996 239172 24105720 1% /boot
/dev/sda3 102182 9644 92538 10% /boot/efi
tmpfs 738036 28 738008 1% /run/user/1000
tmpfs 738036 0 738036 0% /run/user/0


parted -l:

Model: ATA WDC WD10JPCX-24U (scsi)
Dysk /dev/sda: 1000GB
Rozmiar sektora (logiczny/fizyczny): 512B/4096B
Tablica partycji: gpt
Flagi dysku:

Numer Początek Koniec Rozmiar System plików Nazwa Flaga
1 274MB 290MB 16,8MB Microsoft reserved partition msftres
2 290MB 762MB 472MB ntfs Basic data partition ukryta, diag
3 762MB 867MB 105MB fat16 EFI System Partition ładowalna
4 867MB 744GB 743GB ntfs Basic data partition
5 744GB 958GB 215GB btrfs
6 958GB 985GB 26,8GB ext4
7 985GB 986GB 1049MB ntfs Basic data partition ukryta, diag
9 991GB 999GB 8557MB linux-swap(v1)

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Add Windows 10 to GRUB for Dual Boot

Post by tunk » 2017/03/21 15:51:54

It looks like you're using UEFI/GPT partitions and it may be that os-prober only works with MBR.
You have to look into how to setup GRUB to include windows.

kop524
Posts: 5
Joined: 2017/03/21 13:37:25

Re: Add Windows 10 to GRUB for Dual Boot

Post by kop524 » 2017/03/21 16:13:56

Well it's first time with such problem cause same windows 10 installation was found by manjaro and mint with no problem and there were no problems. Both use Grub/Grub2.

ancientnoise
Posts: 58
Joined: 2017/02/20 01:36:15

Re: Add Windows 10 to GRUB for Dual Boot

Post by ancientnoise » 2017/03/22 02:38:29

*aside* You could always just pop your Windows into a VM. Is this an option?

Post Reply