Deepin 2015 no workaround for WIN10 startup options after installation

Source: Internet
Author: User

#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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.