You are not logged in.

#1 2017-04-11 23:24:22

skipper
Member
Registered: 2017-04-09
Posts: 2

[Solved] Can't add Windows 10 dual boot in GRUB

Hi all,

I previously had Win10 and decided to install Arch on another partition. Now I'm trying to add win10 to the GRUB menu list but I'm struggling with it.

Following the wiki, I have to run

 grub-probe --target=fs_uuid /media/SYSTEM_RESERVED/bootmgr 

to get the UUID code and then

 grub-probe --target=hints_string /media/SYSTEM_RESERVED/bootmgr 

before adding the entry in /etc/grub.d/40_custom but this is already a problem. The error says:

grub-probe --target=fs_uuid /media/SYSTEM_RESERVED/bootmgr
grub-probe: error: failed to get canonical path of `/media/SYSTEM_RESERVED/bootmgr'.

The output of these commands might be useful to understand the situation:

blkid
/dev/sda1: LABEL="SYSTEM_DRV" UUID="D6C0A4CDC0A4B561" TYPE="ntfs" PARTUUID="b91c7be3-01"
/dev/sda2: UUID="B00848150847D94C" TYPE="ntfs" PARTUUID="b91c7be3-02"
/dev/sda3: UUID="af0a8443-4a0c-4c06-a712-9b50d393b226" TYPE="ext4" PARTUUID="b91c7be3-03"

lsblk -fs
NAME  FSTYPE LABEL      UUID                                 MOUNTPOINT
sda1  ntfs   SYSTEM_DRV D6C0A4CDC0A4B561                     
└─sda                                                        
sda2  ntfs              B00848150847D94C                     
└─sda                                                        
sda3  ext4              af0a8443-4a0c-4c06-a712-9b50d393b226 /
└─sda                                                        
sr0    


sudo parted --list

Model: --------------------
Disk /dev/sda: ---GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1574MB  1573MB  primary  ntfs         boot
 2      1574MB  139GB   137GB   primary  ntfs
 3      139GB   192GB   53.1GB  primary  ext4

Thanks in advance smile

Last edited by skipper (2017-04-12 00:21:30)

Offline

#2 2017-04-11 23:29:06

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [Solved] Can't add Windows 10 dual boot in GRUB

Perhaps you should just omit hints_string and use D6C0A4CDC0A4B561 as fs_uuid...

Offline

#3 2017-04-12 00:09:43

rogervn
Member
Registered: 2017-04-09
Posts: 21

Re: [Solved] Can't add Windows 10 dual boot in GRUB

Have you tried installing os-prober and redoing the config file?

https://wiki.archlinux.org/index.php/GR … ation_file

Offline

#4 2017-04-12 00:20:24

skipper
Member
Registered: 2017-04-09
Posts: 2

Re: [Solved] Can't add Windows 10 dual boot in GRUB

Just by installing os-prober and redoing the config file win10 was detected and automatically added to the menu entry.

I can't believe it was that easy. The wiki should make that more explicit in my opinion.

Thanks guys smile

Offline

#5 2017-04-13 13:55:26

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [Solved] Can't add Windows 10 dual boot in GRUB

There is a tip in a green callout box telling you to use os-prober in the Wiki:

https://wiki.archlinux.org/index.php/GR … ation_file


Matt

"It is very difficult to educate the educated."

Offline

Board footer

Powered by FluxBB