#sudovi /boot/grub/grub.cfg
After the export Linux_gfx_mode, add
Menuentry"Windows Ten (loader)"--class Windows--class OS {Insmodpart_gptInsmodNTFS Set root='Hd0,gpt4' if[x$feature_platform_search_hint = xy]; ThenSearch--no-floppy--fs-uuid--set=root--hint-bios=hd0,msdos1--hint-efi=hd0,msdos1--hint-baremetal=AHCI0,MSDOS1 The UUID of the Windows partitionElseSearch--no-floppy--fs-uuid--set=uuid of the root Windows partitionfiChainloader+1}
After:
#sudo
You'll see a hint: Found Windows (loader) on/dev/sda1
#sudo
You can see that the third item in the startup option becomes WIN10
At this time
#sudo VI /boot/grub/grub.cfg
You can see # # # Begin/etc/grub.d/30_os-prober # #之后, new
Menuentry'Windows Ten (loader) (ON/DEV/SDA1)'--class windows--class os $menuentry _id_option'UUID of the osprober-chain-windows partition' { InsmodPart_msdosInsmodNTFS Set root='HD0,MSDOS1' if[x$feature_platform_search_hint = xy]; ThenSearch--no-floppy--fs-uuid--set=root--hint-bios=hd0,msdos1--hint-efi=hd0,msdos1--hint-baremetal=AHCI0,MSDOS1 The UUID of the Windows partitionElseSearch--no-floppy--fs-uuid--set=uuid of the root Windows partitionfiparttool ${root} hidden-Drivemap-s (hd0) ${root} chainloader+1}
Note:
1) GPT4 is corresponding to WIN10.
2) UUID can be obtained using ls-l/dev/disk/by-uuid
Reference: Https://bbs.deepin.org/forum.php?mod=viewthread&tid=34415&extra=
Deepin 2015 no workaround for WIN10 startup options after installation