Code: Select all
/dev/sda2: UUID="718093d6-f738-4925-a88b-e1ddb4eb5091" TYPE="swap" PARTUUID="09477d32-7b96-42ea-a8c1-2b49053bf204"
/dev/sda3: UUID="afba07ca-9208-48ca-b6d8-fd0978e395a2" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="9d5c4a60-9887-4bb3-8f31-8ee0b1a1fba3"
/dev/loop1: TYPE="squashfs"
/dev/hptblock0n0p2: BLOCK_SIZE="512" UUID="026207A462079C13" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="cd0d0dd2-5290-40a6-9aa4-860a18f948da"
/dev/hptblock0n0p3: BLOCK_SIZE="512" UUID="B096A9B796A97F0A" TYPE="ntfs" PARTUUID="dda874c3-456a-486f-92e7-7e9077b3a60b"
/dev/hptblock0n0p1: PARTLABEL="Microsoft reserved partition" PARTUUID="cdf18eb2-71b8-42a5-89e9-50963f080ba2"
/dev/loop4: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="A355-2238" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="21c32b84-84ff-4480-a558-ca92b48343c3"
/dev/loop5: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
root@Linux:/etc/grub.d# cat 40_custom
Code: Select all
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10 Professional" --class windows --class os {
insmod part_msdos
insmod ntfs
search --fs-uuid --no-floppy --set=root 026207A462079C13
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}