Skip to content

Instantly share code, notes, and snippets.

@nurulimamnotes
Created October 20, 2016 02:46
Show Gist options
  • Save nurulimamnotes/c0c697fbe03c64efd8ca3ded4950fc08 to your computer and use it in GitHub Desktop.
Save nurulimamnotes/c0c697fbe03c64efd8ca3ded4950fc08 to your computer and use it in GitHub Desktop.
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-322E48622E482169' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 322E48622E482169
else
search --no-floppy --fs-uuid --set=root 322E48622E482169
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment